Searched refs:best_idx (Results 1 – 5 of 5) sorted by relevance
655 unsigned best_idx; in sparse_backing_alloc() local659 best_idx = 0; in sparse_backing_alloc()669 best_idx = idx; in sparse_backing_alloc()720 best_idx = 0; in sparse_backing_alloc()725 *pstart_page = best_backing->chunks[best_idx].begin; in sparse_backing_alloc()726 best_backing->chunks[best_idx].begin += *pnum_pages; in sparse_backing_alloc()728 if (best_backing->chunks[best_idx].begin >= best_backing->chunks[best_idx].end) { in sparse_backing_alloc()729 memmove(&best_backing->chunks[best_idx], &best_backing->chunks[best_idx + 1], in sparse_backing_alloc()730 sizeof(*best_backing->chunks) * (best_backing->num_chunks - best_idx - 1)); in sparse_backing_alloc()
461 best_idx = None485 best_idx = i488 if best_idx is None:492 other_encoding = todo[best_idx]498 del todo[best_idx]
750 int idx, best_idx = -1; in av1_find_best_sub_pixel_tree() local811 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[all …]
1015 int best_idx = -1; in PickBestCandidate() local1021 best_idx = i; in PickBestCandidate()1026 assert(best_idx != -1); in PickBestCandidate()1029 if (i == best_idx) { in PickBestCandidate()1040 (best_idx == LL_DISP_NONE || best_idx == LOSSY_DISP_NONE) in PickBestCandidate()
759 int idx, best_idx = -1; in vp9_find_best_sub_pixel_tree() local822 best_idx = idx; in vp9_find_best_sub_pixel_tree()858 best_idx = 4; in vp9_find_best_sub_pixel_tree()867 if (best_idx < 4 && best_idx >= 0) { in vp9_find_best_sub_pixel_tree()868 br += search_step[best_idx].row; in vp9_find_best_sub_pixel_tree()869 bc += search_step[best_idx].col; in vp9_find_best_sub_pixel_tree()870 } else if (best_idx == 4) { in vp9_find_best_sub_pixel_tree()875 if (iters_per_step > 0 && best_idx != -1) { in vp9_find_best_sub_pixel_tree()920 best_idx = -1; in vp9_find_best_sub_pixel_tree()