Home
last modified time | relevance | path

Searched refs:best_idx (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c655 unsigned best_idx; in sparse_backing_alloc() local
659 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()
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py461 best_idx = None
485 best_idx = i
488 if best_idx is None:
492 other_encoding = todo[best_idx]
498 del todo[best_idx]
/external/libaom/libaom/av1/encoder/
Dmcomp.c750 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
[all …]
/external/webp/src/mux/
Danim_encode.c1015 int best_idx = -1; in PickBestCandidate() local
1021 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()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c759 int idx, best_idx = -1; in vp9_find_best_sub_pixel_tree() local
822 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()