Home
last modified time | relevance | path

Searched refs:cost_array (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dmcomp.c751 unsigned int cost_array[5]; in av1_find_best_sub_pixel_tree() local
807 cost_array[idx] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, 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()
817 cost_array[idx] = INT_MAX; in av1_find_best_sub_pixel_tree()
822 kc = (cost_array[0] <= cost_array[1] ? -hstep : hstep); in av1_find_best_sub_pixel_tree()
823 kr = (cost_array[2] <= cost_array[3] ? -hstep : hstep); in av1_find_best_sub_pixel_tree()
842 cost_array[4] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, mvcost, 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()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c760 unsigned int cost_array[5]; in vp9_find_best_sub_pixel_tree() local
818 cost_array[idx] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, in vp9_find_best_sub_pixel_tree()
821 if (cost_array[idx] < besterr) { in vp9_find_best_sub_pixel_tree()
823 besterr = cost_array[idx]; in vp9_find_best_sub_pixel_tree()
828 cost_array[idx] = UINT_MAX; in vp9_find_best_sub_pixel_tree()
833 kc = (cost_array[0] <= cost_array[1] ? -hstep : hstep); in vp9_find_best_sub_pixel_tree()
834 kr = (cost_array[2] <= cost_array[3] ? -hstep : hstep); in vp9_find_best_sub_pixel_tree()
854 cost_array[4] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, mvcost, in vp9_find_best_sub_pixel_tree()
857 if (cost_array[4] < besterr) { in vp9_find_best_sub_pixel_tree()
859 besterr = cost_array[4]; in vp9_find_best_sub_pixel_tree()
[all …]