Home | History | Annotate | Download | only in encoder

Lines Matching full:thissad

945     int thissad;
983 thissad = fn_ptr->sdf(what, what_stride, check_here , in_what_stride, bestsad);
985 if (thissad < bestsad)
989 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
991 if (thissad < bestsad)
993 bestsad = thissad;
1019 return fn_ptr->vf(what, what_stride, best_address, in_what_stride, (unsigned int *)(&thissad))
1061 unsigned int thissad;
1139 thissad = fn_ptr->sdf(what, what_stride, check_here , in_what_stride, bestsad);
1141 if (thissad < bestsad)
1145 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1147 if (thissad < bestsad)
1149 bestsad = thissad;
1175 return fn_ptr->vf(what, what_stride, best_address, in_what_stride, (unsigned int *)(&thissad))
1195 int thissad;
1242 thissad = fn_ptr->sdf(what, what_stride, check_here , in_what_stride, bestsad);
1245 //thissad += (int)sqrt(mv_err_cost(&this_mv,ref_mv, mvcost,error_per_bit*14));
1246 //thissad += error_per_bit * mv_bits_sadcost[mv_bits(&this_mv, ref_mv, mvcost)];
1247 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit); //mv_bits(error_per_bit, &this_mv, ref_mv, mvsadcost);
1249 if (thissad < bestsad)
1251 bestsad = thissad;
1265 return fn_ptr->vf(what, what_stride, bestaddress, in_what_stride, (unsigned int *)(&thissad))
1285 unsigned int thissad;
1339 thissad = sad_array[i];
1341 if (thissad < bestsad)
1344 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1346 if (thissad < bestsad)
1348 bestsad = thissad;
1362 thissad = fn_ptr->sdf(what, what_stride, check_here , in_what_stride, bestsad);
1364 if (thissad < bestsad)
1367 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1369 if (thissad < bestsad)
1371 bestsad = thissad;
1388 return fn_ptr->vf(what, what_stride, bestaddress, in_what_stride, (unsigned int *)(&thissad))
1408 unsigned int thissad;
1463 thissad = (unsigned int)sad_array8[i];
1465 if (thissad < bestsad)
1468 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1470 if (thissad < bestsad)
1472 bestsad = thissad;
1492 thissad = sad_array[i];
1494 if (thissad < bestsad)
1497 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1499 if (thissad < bestsad)
1501 bestsad = thissad;
1515 thissad = fn_ptr->sdf(what, what_stride, check_here , in_what_stride, bestsad);
1517 if (thissad < bestsad)
1520 thissad += mv_err_cost(&this_mv, center_mv, mvsadcost, error_per_bit);
1522 if (thissad < bestsad)
1524 bestsad = thissad;
1540 return fn_ptr->vf(what, what_stride, bestaddress, in_what_stride, (unsigned int *)(&thissad))