Searched refs:best_idx (Results 1 - 8 of 8) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | nellymoserenc.c | 205 best_idx = \ 207 if (fabs(val - table[best_idx]) > fabs(val - table[best_idx + 1])) \ 208 best_idx++; 212 int band, best_idx, power_idx = 0; in get_exponent_greedy() local 217 idx_table[0] = best_idx; in get_exponent_greedy() 218 power_idx = ff_nelly_init_table[best_idx]; in get_exponent_greedy() 223 idx_table[band] = best_idx; in get_exponent_greedy() 224 power_idx += ff_nelly_delta_table[best_idx]; in get_exponent_greedy() 237 int i, j, band, best_idx; in get_exponent_dynamic() local 307 int i, j, band, block, best_idx, power_idx = 0; encode_block() local [all...] |
H A D | elbg.c | 354 int best_idx = 0; in do_elbg() local 373 elbg->codebook + best_idx * elbg->dim, in do_elbg() 381 best_idx = k; in do_elbg() 384 elbg->nearest_cb[i] = best_idx; in do_elbg()
|
/third_party/ffmpeg/libavfilter/ |
H A D | avfiltergraph.c | 808 int best_idx, best_diff = INT_MAX; in swap_samplerates_on_filter() local 821 best_idx = j; in swap_samplerates_on_filter() 825 outlink->incfg.samplerates->formats[best_idx]); in swap_samplerates_on_filter() 888 int best_idx = -1, best_score = INT_MIN, best_count_diff = INT_MAX; in swap_channel_layouts_on_filter() local 954 best_idx = j; in swap_channel_layouts_on_filter() 958 av_assert0(best_idx >= 0); in swap_channel_layouts_on_filter() 960 outlink->incfg.channel_layouts->channel_layouts[best_idx]); in swap_channel_layouts_on_filter() 994 int best_idx = -1, best_score = INT_MIN; in swap_sample_fmts_on_filter() local 1007 best_idx = j; in swap_sample_fmts_on_filter() 1013 best_idx in swap_sample_fmts_on_filter() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.c | 329 unsigned best_idx; in sparse_backing_alloc() local 333 best_idx = 0; in sparse_backing_alloc() 343 best_idx = idx; in sparse_backing_alloc() 393 best_idx = 0; in sparse_backing_alloc() 398 *pstart_page = best_backing->chunks[best_idx].begin; in sparse_backing_alloc() 399 best_backing->chunks[best_idx].begin += *pnum_pages; in sparse_backing_alloc() 401 if (best_backing->chunks[best_idx].begin >= best_backing->chunks[best_idx].end) { in sparse_backing_alloc() 402 memmove(&best_backing->chunks[best_idx], &best_backing->chunks[best_idx in sparse_backing_alloc() [all...] |
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 900 unsigned best_idx; in sparse_backing_alloc() local 904 best_idx = 0; in sparse_backing_alloc() 914 best_idx = idx; in sparse_backing_alloc() 969 best_idx = 0; in sparse_backing_alloc() 974 *pstart_page = best_backing->chunks[best_idx].begin; in sparse_backing_alloc() 975 best_backing->chunks[best_idx].begin += *pnum_pages; in sparse_backing_alloc() 977 if (best_backing->chunks[best_idx].begin >= best_backing->chunks[best_idx].end) { in sparse_backing_alloc() 978 memmove(&best_backing->chunks[best_idx], &best_backing->chunks[best_idx in sparse_backing_alloc() [all...] |
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | anim_encode.c | 1013 int best_idx = -1; in PickBestCandidate() local 1019 best_idx = i; in PickBestCandidate() 1024 assert(best_idx != -1); in PickBestCandidate() 1027 if (i == best_idx) { in PickBestCandidate() 1038 (best_idx == LL_DISP_NONE || best_idx == LOSSY_DISP_NONE) in PickBestCandidate()
|
/third_party/nghttp2/src/ |
H A D | shrpx_tls.cc | 2060 ssize_t best_idx = -1; in lookup() local 2074 return best_idx; in lookup() 2079 return best_idx; in lookup() 2101 best_idx = wprefix.idx; in lookup()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_schedule.c | 1181 unsigned i, best_idx = ~0; in bi_choose_index() local 1198 best_idx = i; in bi_choose_index() 1203 return best_idx; in bi_choose_index()
|
Completed in 16 milliseconds