Home
last modified time | relevance | path

Searched refs:min_order (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c110 unsigned order = MAX2(slabs->min_order, util_logbase2_ceil(size)); in pb_slab_alloc()
126 assert(order < slabs->min_order + slabs->num_orders); in pb_slab_alloc()
129 group_index = (heap * slabs->num_orders + (order - slabs->min_order)) * in pb_slab_alloc()
214 unsigned min_order, unsigned max_order, in pb_slabs_init() argument
224 assert(min_order <= max_order); in pb_slabs_init()
227 slabs->min_order = min_order; in pb_slabs_init()
228 slabs->num_orders = max_order - min_order + 1; in pb_slabs_init()
Dpb_slab.h117 unsigned min_order; member
148 unsigned min_order, unsigned max_order,
/third_party/ffmpeg/libavcodec/
Dlpc.c146 static int estimate_best_order(double *ref, int min_order, int max_order) in estimate_best_order() argument
150 est = min_order; in estimate_best_order()
151 for(i=max_order-1; i>=min_order-1; i--) { in estimate_best_order()
202 const int32_t *samples, int blocksize, int min_order, in ff_lpc_calc_coefs() argument
287 opt_order = estimate_best_order(ref, min_order, max_order); in ff_lpc_calc_coefs()
292 for(i=min_order-1; i<max_order; i++) { in ff_lpc_calc_coefs()
Dflacenc.c825 int min_order, max_order, opt_order, omethod; in encode_residual_ch() local
855 min_order = s->options.min_prediction_order; in encode_residual_ch()
868 for (i = min_order; i <= max_order; i++) { in encode_residual_ch()
885 opt_order = ff_lpc_calc_coefs(&s->lpc_ctx, smp, n, min_order, max_order, in encode_residual_ch()
901 order = min_order + (((max_order-min_order+1) * (i+1)) / levels)-1; in encode_residual_ch()
902 order = av_clip(order, min_order - 1, max_order - 1); in encode_residual_ch()
924 for (i = min_order-1; i < max_order; i++) { in encode_residual_ch()
939 opt_order = min_order - 1 + (max_order-min_order)/3; in encode_residual_ch()
945 if (i < min_order-1 || i >= max_order || bits[i] < UINT32_MAX) in encode_residual_ch()
Dlpc.h94 const int32_t *samples, int blocksize, int min_order,
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c458 unsigned min_order = min_slab_order; in amdgpu_winsys_create() local
459 unsigned max_order = MIN2(min_order + num_slab_orders_per_allocator, in amdgpu_winsys_create()
463 min_order, max_order, in amdgpu_winsys_create()
478 min_order, max_order, in amdgpu_winsys_create()
494 aws->info.min_alloc_size = 1 << aws->bo_slabs[0].min_order; in amdgpu_winsys_create()
Damdgpu_bo.c641 if (size <= 1 << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
653 bo->base.size < 1 << ws->bo_slabs[0].min_order || in get_slab_wasted_size()
686 unsigned min_entry_size = 1 << ws->bo_slabs[0].min_order; in get_slab_pot_entry_size()
725 unsigned max_entry_size = 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in amdgpu_bo_slab_alloc()
1380 unsigned max_slab_entry_size = 1 << (last_slab->min_order + last_slab->num_orders - 1); in amdgpu_bo_create()
/third_party/ffmpeg/libavutil/
Dlls.c47 void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order) in avpriv_solve_lls() argument
81 for (j = count - 1; j >= min_order; j--) { in avpriv_solve_lls()
Dlls.h62 void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order);
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c89 if (size <= 1ULL << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
102 unsigned min_entry_size = 1 << screen->pb.bo_slabs[0].min_order; in get_slab_pot_entry_size()
539 unsigned max_slab_entry_size = 1 << (last_slab->min_order + last_slab->num_orders - 1); in zink_bo_create()
841 unsigned max_entry_size = 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in bo_slab_alloc()
951 unsigned min_order = min_slab_order; in zink_bo_init() local
952 unsigned max_order = MIN2(min_order + num_slab_orders_per_allocator, in zink_bo_init()
956 min_order, max_order, in zink_bo_init()
966 screen->pb.min_alloc_size = 1 << screen->pb.bo_slabs[0].min_order; in zink_bo_init()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c551 if (size <= 1ull << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
563 unsigned min_entry_size = 1 << bufmgr->bo_slabs[0].min_order; in get_slab_pot_entry_size()
639 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in iris_slab_alloc()
738 1 << (last_slab->min_order + last_slab->num_orders - 1); in alloc_bo_from_slabs()
2317 unsigned min_order = min_slab_order; in iris_bufmgr_create() local
2319 MIN2(min_order + num_slab_orders_per_allocator, max_slab_order); in iris_bufmgr_create()
2321 if (!pb_slabs_init(&bufmgr->bo_slabs[i], min_order, max_order, in iris_bufmgr_create()
/third_party/alsa-lib/src/pcm/
Dpcm_params.c1402 unsigned int min_order = UINT_MAX;
1412 if (p->order < min_order ||
1413 (p->order == min_order &&
1415 min_order = p->order;