Home
last modified time | relevance | path

Searched refs:num_levels (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/utils/
Dquant_levels_utils.c28 int num_levels, uint64_t* const sse) { in QuantizeLevels() argument
46 if (num_levels < 2 || num_levels > 256) { in QuantizeLevels()
61 if (num_levels_in <= num_levels) goto End; // nothing to do! in QuantizeLevels()
64 for (i = 0; i < num_levels; ++i) { in QuantizeLevels()
65 inv_q_level[i] = min_s + (double)(max_s - min_s) * i / (num_levels - 1); in QuantizeLevels()
70 q_level[max_s] = num_levels - 1; in QuantizeLevels()
72 assert(inv_q_level[num_levels - 1] == max_s); in QuantizeLevels()
83 while (slot < num_levels - 1 && in QuantizeLevels()
95 if (num_levels > 2) { in QuantizeLevels()
96 for (slot = 1; slot < num_levels - 1; ++slot) { in QuantizeLevels()
Dquant_levels_utils.h29 int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels,
/third_party/fsverity-utils/lib/
Dcompute_digest.c113 int num_levels = 0; in compute_root_hash() local
137 if (WARN_ON(num_levels >= FS_VERITY_MAX_LEVELS)) { in compute_root_hash()
146 level_offset[num_levels++] = blocks; in compute_root_hash()
159 for (level = num_levels - 1; level >= 0; level--) { in compute_root_hash()
173 for (level = -1; level < num_levels; level++) { in compute_root_hash()
180 buffers[num_levels].data = root_hash; in compute_root_hash()
194 for (level = 0; level < num_levels; level++) { in compute_root_hash()
208 for (level = 0; level < num_levels; level++) { in compute_root_hash()
222 if (WARN_ON(buffers[num_levels].filled != hash->alg->digest_size)) { in compute_root_hash()
228 for (level = -1; level < num_levels; level++) in compute_root_hash()
/third_party/mesa3d/src/compiler/nir/
Dnir_split_vars.c84 int num_levels = 0; in num_array_levels_in_array_of_vector_type() local
87 num_levels++; in num_array_levels_in_array_of_vector_type()
90 return num_levels; in num_array_levels_in_array_of_vector_type()
367 unsigned num_levels; member
385 int num_levels = num_array_levels_in_array_of_vector_type(var->type); in init_var_list_array_infos() local
386 if (num_levels <= 0) in init_var_list_array_infos()
400 num_levels * sizeof(info->levels[0])); in init_var_list_array_infos()
403 info->num_levels = num_levels; in init_var_list_array_infos()
406 for (int i = 0; i < num_levels; i++) { in init_var_list_array_infos()
462 for (unsigned i = 0; i < info->num_levels; i++) { in mark_array_deref_used()
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexcompress_cpal.c113 const int num_levels = -level + 1; in _mesa_cpal_compressed_size() local
126 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_size()
155 GLint lvl, num_levels; in _mesa_cpal_compressed_teximage2d() local
167 num_levels = -level + 1; in _mesa_cpal_compressed_teximage2d()
175 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_teximage2d()
/third_party/libunwind/tests/
DLtest-nocalloc.c84 const int num_levels = 100; in do_backtrace() local
85 void *pc[num_levels]; in do_backtrace()
88 unw_backtrace(pc, num_levels); in do_backtrace()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c49 unsigned min_level, unsigned num_levels, in disable_rb_aux_buffer() argument
70 surf->base.u.tex.level < min_level + num_levels) { in disable_rb_aux_buffer()
682 uint32_t start_level, uint32_t num_levels) in miptree_level_range_length() argument
686 if (num_levels == INTEL_REMAINING_LAYERS) in miptree_level_range_length()
687 num_levels = res->surf.levels; in miptree_level_range_length()
690 assert(start_level + num_levels >= start_level); in miptree_level_range_length()
691 assert(start_level + num_levels <= res->surf.levels); in miptree_level_range_length()
693 return num_levels; in miptree_level_range_length()
715 unsigned start_level, unsigned num_levels, in iris_has_invalid_primary() argument
722 num_levels = miptree_level_range_length(res, start_level, num_levels); in iris_has_invalid_primary()
[all …]
Diris_resource.h388 uint32_t start_level, uint32_t num_levels,
468 uint32_t start_level, uint32_t num_levels,
478 unsigned start_level, unsigned num_levels,
494 unsigned start_level, unsigned num_levels,
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resolve.c54 unsigned min_level, unsigned num_levels, in disable_rb_aux_buffer() argument
73 surf->base.u.tex.level < min_level + num_levels) { in disable_rb_aux_buffer()
759 uint32_t start_level, uint32_t num_levels) in miptree_level_range_length() argument
763 if (num_levels == INTEL_REMAINING_LAYERS) in miptree_level_range_length()
764 num_levels = res->surf.levels; in miptree_level_range_length()
767 assert(start_level + num_levels >= start_level); in miptree_level_range_length()
768 assert(start_level + num_levels <= res->surf.levels); in miptree_level_range_length()
770 return num_levels; in miptree_level_range_length()
792 unsigned start_level, unsigned num_levels, in crocus_has_invalid_primary() argument
799 num_levels = miptree_level_range_length(res, start_level, num_levels); in crocus_has_invalid_primary()
[all …]
Dcrocus_resource.h416 uint32_t start_level, uint32_t num_levels,
503 uint32_t start_level, uint32_t num_levels,
517 unsigned start_level, unsigned num_levels,
526 unsigned start_level, unsigned num_levels,
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c290 const uint32_t num_levels = pt->last_level - first_level; in update_map() local
291 unsigned max_lod = num_levels * 4; in update_map()
/third_party/ffmpeg/libavformat/
Dmatroskadec.c364 int num_levels; member
814 matroska->num_levels = 1; in matroska_reset_status()
1076 if (matroska->num_levels >= EBML_MAX_DEPTH) { in ebml_read_master()
1082 level = &matroska->levels[matroska->num_levels++]; in ebml_read_master()
1155 if (!matroska->levels[matroska->num_levels - 1].length) { in ebml_parse_nest()
1156 matroska->num_levels--; in ebml_parse_nest()
1237 … MatroskaLevel *level = matroska->num_levels ? &matroska->levels[matroska->num_levels - 1] : NULL; in ebml_parse()
1250 matroska->num_levels--; in ebml_parse()
1277 matroska->num_levels--; in ebml_parse()
1315 if (matroska->num_levels > 0) { in ebml_parse()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_resource_state.cpp480 uint32_t start_level, uint32_t num_levels, in d3d12_transition_subresources_state() argument
490 …bool is_whole_resource = num_levels * num_layers * num_planes == state_entry->batch_end.num_subres… in d3d12_transition_subresources_state()
498 for (uint32_t l = 0; l < num_levels; l++) { in d3d12_transition_subresources_state()
Dd3d12_context.h330 unsigned start_level, unsigned num_levels,
/third_party/skia/third_party/externals/tint/src/transform/
Drobustness.cc247 auto* num_levels = b.Call("textureNumLevels", ctx.Clone(texture_arg)); in Transform() local
249 auto* max = ctx.dst->Sub(num_levels, 1); in Transform()
/third_party/libdrm/freedreno/kgsl/
Dmsm_kgsl.h180 int num_levels; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c4536 LLVMValueRef num_levels; in lp_build_size_query_soa() local
4538 num_levels = bld_int_scalar.one; in lp_build_size_query_soa()
4546 num_levels = lp_build_sub(&bld_int_scalar, last_level, first_level); in lp_build_size_query_soa()
4547 num_levels = lp_build_add(&bld_int_scalar, num_levels, in lp_build_size_query_soa()
4553 num_levels); in lp_build_size_query_soa()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h22291 unsigned int num_levels; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi30301 …<var-decl name="num_levels" type-id="95e97e5e" visibility="default" filepath="include/linux/clk-pr…
31740 …<var-decl name="num_levels" type-id="95e97e5e" visibility="default" filepath="include/linux/clk-pr…
Dtest-PR27569-v0.abi30273 …<var-decl name="num_levels" type-id="95e97e5e" visibility="default" filepath="include/linux/clk-pr…
31711 …<var-decl name="num_levels" type-id="95e97e5e" visibility="default" filepath="include/linux/clk-pr…