Lines Matching refs:cost_array
760 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()
864 cost_array[idx] = UINT_MAX; in vp9_find_best_sub_pixel_tree()