Lines Matching refs:cost_array
751 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()
852 cost_array[idx] = INT_MAX; in av1_find_best_sub_pixel_tree()
2608 unsigned int cost_array[5]; in av1_find_best_obmc_sub_pixel_tree_up() local
2657 cost_array[idx] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, 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()
2666 cost_array[idx] = INT_MAX; in av1_find_best_obmc_sub_pixel_tree_up()
2671 kc = (cost_array[0] <= cost_array[1] ? -hstep : hstep); in av1_find_best_obmc_sub_pixel_tree_up()
2672 kr = (cost_array[2] <= cost_array[3] ? -hstep : hstep); in av1_find_best_obmc_sub_pixel_tree_up()
2689 cost_array[4] = thismse + mv_err_cost(&this_mv, ref_mv, mvjcost, mvcost, 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()
2699 cost_array[idx] = INT_MAX; in av1_find_best_obmc_sub_pixel_tree_up()