Lines Matching refs:best_idx
750 int idx, best_idx = -1; in av1_find_best_sub_pixel_tree() local
811 best_idx = idx; in av1_find_best_sub_pixel_tree()
846 best_idx = 4; in av1_find_best_sub_pixel_tree()
855 if (best_idx < 4 && best_idx >= 0) { in av1_find_best_sub_pixel_tree()
856 br += search_step[best_idx].row; in av1_find_best_sub_pixel_tree()
857 bc += search_step[best_idx].col; in av1_find_best_sub_pixel_tree()
858 } else if (best_idx == 4) { in av1_find_best_sub_pixel_tree()
863 if (iters_per_step > 1 && best_idx != -1) { in av1_find_best_sub_pixel_tree()
873 best_idx = -1; in av1_find_best_sub_pixel_tree()
944 int best_idx = -1; in av1_refine_warped_mv() local
969 best_idx = idx; in av1_refine_warped_mv()
978 if (best_idx == -1) break; in av1_refine_warped_mv()
980 if (best_idx >= 0) { in av1_refine_warped_mv()
981 br += neighbors[best_idx].row; in av1_refine_warped_mv()
982 bc += neighbors[best_idx].col; in av1_refine_warped_mv()
2607 int idx, best_idx = -1; in av1_find_best_obmc_sub_pixel_tree_up() local
2660 best_idx = idx; in av1_find_best_obmc_sub_pixel_tree_up()
2693 best_idx = 4; in av1_find_best_obmc_sub_pixel_tree_up()
2702 if (best_idx < 4 && best_idx >= 0) { in av1_find_best_obmc_sub_pixel_tree_up()
2703 br += search_step[best_idx].row; in av1_find_best_obmc_sub_pixel_tree_up()
2704 bc += search_step[best_idx].col; in av1_find_best_obmc_sub_pixel_tree_up()
2705 } else if (best_idx == 4) { in av1_find_best_obmc_sub_pixel_tree_up()
2710 if (iters_per_step > 1 && best_idx != -1) { in av1_find_best_obmc_sub_pixel_tree_up()
2723 best_idx = -1; in av1_find_best_obmc_sub_pixel_tree_up()