Lines Matching refs:besterr

200     if (v < besterr) {                                                    \
201 besterr = v; \
223 if (v < besterr) { \
224 besterr = v; \
307 unsigned int besterr = INT_MAX; \
339 unsigned int besterr; in setup_center_error() local
351 besterr = vfp->vf(comp_pred, w, src, src_stride, sse1); in setup_center_error()
360 besterr = vfp->vf(comp_pred, w, src, src_stride, sse1); in setup_center_error()
363 besterr = vfp->vf(y + offset, y_stride, src, src_stride, sse1); in setup_center_error()
365 *distortion = besterr; in setup_center_error()
366 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error()
367 return besterr; in setup_center_error()
403 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, in av1_find_best_sub_pixel_tree_pruned_evenmore()
464 return besterr; in av1_find_best_sub_pixel_tree_pruned_evenmore()
482 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, in av1_find_best_sub_pixel_tree_pruned_more()
533 return besterr; in av1_find_best_sub_pixel_tree_pruned_more()
551 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, in av1_find_best_sub_pixel_tree_pruned()
624 return besterr; in av1_find_best_sub_pixel_tree_pruned()
645 unsigned int besterr; in upsampled_pref_error() local
665 besterr = vfp->vf(pred8, w, src, src_stride, sse); in upsampled_pref_error()
684 besterr = vfp->vf(pred, w, src, src_stride, sse); in upsampled_pref_error()
686 return besterr; in upsampled_pref_error()
697 unsigned int besterr = in upsampled_setup_center_error() local
701 *distortion = besterr; in upsampled_setup_center_error()
702 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in upsampled_setup_center_error()
703 return besterr; in upsampled_setup_center_error()
735 unsigned int besterr = INT_MAX; in av1_find_best_sub_pixel_tree() local
764 besterr = upsampled_setup_center_error( in av1_find_best_sub_pixel_tree()
770 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, in av1_find_best_sub_pixel_tree()
810 if (cost_array[idx] < besterr) { in av1_find_best_sub_pixel_tree()
812 besterr = cost_array[idx]; in av1_find_best_sub_pixel_tree()
845 if (cost_array[4] < besterr) { in av1_find_best_sub_pixel_tree()
847 besterr = cost_array[4]; in av1_find_best_sub_pixel_tree()
884 return besterr; in av1_find_best_sub_pixel_tree()
2495 if ((v = MVC(r, c) + thismse) < besterr) { \
2496 besterr = v; \
2518 if ((v + thismse) < besterr) { \
2519 besterr = v + thismse; \
2534 unsigned int besterr; in setup_obmc_center_error() local
2535 besterr = vfp->ovf(y + offset, y_stride, wsrc, mask, sse1); in setup_obmc_center_error()
2536 *distortion = besterr; in setup_obmc_center_error()
2537 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_obmc_center_error()
2538 return besterr; in setup_obmc_center_error()
2547 unsigned int besterr; in upsampled_obmc_pref_error() local
2555 besterr = vfp->ovf(pred8, w, wsrc, mask, sse); in upsampled_obmc_pref_error()
2560 besterr = vfp->ovf(pred, w, wsrc, mask, sse); in upsampled_obmc_pref_error()
2562 return besterr; in upsampled_obmc_pref_error()
2572 unsigned int besterr = upsampled_obmc_pref_error( in upsampled_setup_obmc_center_error() local
2575 *distortion = besterr; in upsampled_setup_obmc_center_error()
2576 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in upsampled_setup_obmc_center_error()
2577 return besterr; in upsampled_setup_obmc_center_error()
2593 unsigned int besterr = INT_MAX; in av1_find_best_obmc_sub_pixel_tree_up() local
2631 besterr = upsampled_setup_obmc_center_error( in av1_find_best_obmc_sub_pixel_tree_up()
2636 besterr = setup_obmc_center_error(mask, bestmv, ref_mv, error_per_bit, vfp, in av1_find_best_obmc_sub_pixel_tree_up()
2659 if (cost_array[idx] < besterr) { in av1_find_best_obmc_sub_pixel_tree_up()
2661 besterr = cost_array[idx]; in av1_find_best_obmc_sub_pixel_tree_up()
2692 if (cost_array[4] < besterr) { in av1_find_best_obmc_sub_pixel_tree_up()
2694 besterr = cost_array[4]; in av1_find_best_obmc_sub_pixel_tree_up()
2734 return besterr; in av1_find_best_obmc_sub_pixel_tree_up()
3034 besterr = 0; in av1_return_max_sub_pixel_mv()
3038 return besterr; in av1_return_max_sub_pixel_mv()
3063 besterr = 0; in av1_return_min_sub_pixel_mv()
3067 return besterr; in av1_return_min_sub_pixel_mv()