/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | quant_levels_utils.c | 28 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()
|
D | quant_levels_utils.h | 29 int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels,
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | quant_levels_utils.c | 28 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()
|
D | quant_levels_utils.h | 29 int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels,
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_split_vars.c | 97 int num_levels = 0; in num_array_levels_in_array_of_vector_type() local 100 num_levels++; in num_array_levels_in_array_of_vector_type() 103 return num_levels; in num_array_levels_in_array_of_vector_type() 379 unsigned num_levels; member 397 int num_levels = num_array_levels_in_array_of_vector_type(var->type); in init_var_list_array_infos() local 398 if (num_levels <= 0) in init_var_list_array_infos() 412 num_levels * sizeof(info->levels[0])); in init_var_list_array_infos() 415 info->num_levels = num_levels; in init_var_list_array_infos() 418 for (int i = 0; i < num_levels; i++) { in init_var_list_array_infos() 474 for (unsigned i = 0; i < info->num_levels; i++) { in mark_array_deref_used() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 112 const int num_levels = -level + 1; in _mesa_cpal_compressed_size() local 125 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_size() 154 GLint lvl, num_levels; in _mesa_cpal_compressed_teximage2d() local 166 num_levels = -level + 1; in _mesa_cpal_compressed_teximage2d() 174 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_teximage2d()
|
/third_party/libunwind/tests/ |
D | Ltest-nocalloc.c | 84 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/ |
D | iris_resolve.c | 49 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() 656 uint32_t start_level, uint32_t num_levels) in miptree_level_range_length() argument 660 if (num_levels == INTEL_REMAINING_LAYERS) in miptree_level_range_length() 661 num_levels = res->surf.levels; in miptree_level_range_length() 664 assert(start_level + num_levels >= start_level); in miptree_level_range_length() 665 assert(start_level + num_levels <= res->surf.levels); in miptree_level_range_length() 667 return num_levels; in miptree_level_range_length() 689 unsigned start_level, unsigned num_levels, in iris_has_invalid_primary() argument 696 num_levels = miptree_level_range_length(res, start_level, num_levels); in iris_has_invalid_primary() [all …]
|
D | iris_resource.h | 402 uint32_t start_level, uint32_t num_levels, 482 uint32_t start_level, uint32_t num_levels, 492 unsigned start_level, unsigned num_levels, 508 unsigned start_level, unsigned num_levels,
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resolve.c | 54 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 …]
|
D | crocus_resource.h | 416 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/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/ |
D | roi_align.py | 86 self.num_levels = len(self.featmap_strides) 120 …lf.max_levels = Tensor(np.array(np.ones((self.batch_size, 1)), dtype=np.int32)*(self.num_levels-1)) 171 for i in range(self.num_levels):
|
D | proposal_generator.py | 77 self.num_levels = cfg.fpn_num_outs 143 for i in range(self.num_levels): 159 for idx in range(self.num_levels):
|
D | faster_rcnn_resnet50v1.py | 468 num_levels = len(featmap_sizes) 473 for i in range(num_levels):
|
D | faster_rcnn_resnet.py | 468 num_levels = len(featmap_sizes) 473 for i in range(num_levels):
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_mipmap_tree.h | 502 unsigned start_level, unsigned num_levels, 537 uint32_t start_level, uint32_t num_levels, 615 uint32_t start_level, uint32_t num_levels,
|
D | brw_draw.c | 382 unsigned min_level, unsigned num_levels, in brw_disable_rb_aux_buffer() argument 399 irb->mt_level < min_level + num_levels) { in brw_disable_rb_aux_buffer() 546 unsigned min_level, min_layer, num_levels, num_layers; in brw_predraw_resolve_inputs() local 549 num_levels = MIN2(tex_obj->base.Attrib.NumLevels, tex_obj->_MaxLevel + 1); in brw_predraw_resolve_inputs() 555 num_levels = tex_obj->_MaxLevel - tex_obj->base.Attrib.BaseLevel + 1; in brw_predraw_resolve_inputs() 562 tex_obj->mt, min_level, num_levels, in brw_predraw_resolve_inputs() 567 min_level, num_levels, in brw_predraw_resolve_inputs() 579 min_level, num_levels, in brw_predraw_resolve_inputs()
|
D | brw_mipmap_tree.c | 1675 uint32_t start_level, uint32_t num_levels) in miptree_level_range_length() argument 1680 if (num_levels == INTEL_REMAINING_LAYERS) in miptree_level_range_length() 1681 num_levels = mt->last_level - start_level + 1; in miptree_level_range_length() 1683 assert(start_level + num_levels >= start_level); in miptree_level_range_length() 1684 assert(start_level + num_levels <= mt->last_level + 1); in miptree_level_range_length() 1686 return num_levels; in miptree_level_range_length() 1708 unsigned start_level, unsigned num_levels, in brw_miptree_has_color_unresolved() argument 1717 num_levels = miptree_level_range_length(mt, start_level, num_levels); in brw_miptree_has_color_unresolved() 1719 for (uint32_t l = 0; l < num_levels; l++) { in brw_miptree_has_color_unresolved() 1764 uint32_t start_level, uint32_t num_levels, in brw_miptree_prepare_access() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 290 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/ |
D | matroskadec.c | 364 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/skia/third_party/externals/tint/src/transform/ |
D | robustness.cc | 247 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/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_context.h | 288 unsigned start_level, unsigned num_levels,
|
D | d3d12_context.cpp | 1620 uint32_t start_level, uint32_t num_levels, in d3d12_transition_subresources_state() argument 1631 for (uint32_t l = 0; l < num_levels; l++) { in d3d12_transition_subresources_state()
|
/third_party/libdrm/freedreno/kgsl/ |
D | msm_kgsl.h | 180 int num_levels; member
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 4492 LLVMValueRef num_levels; in lp_build_size_query_soa() local 4496 num_levels = bld_int_scalar.one; in lp_build_size_query_soa() 4503 num_levels = lp_build_sub(&bld_int_scalar, last_level, first_level); in lp_build_size_query_soa() 4504 num_levels = lp_build_add(&bld_int_scalar, num_levels, bld_int_scalar.one); in lp_build_size_query_soa() 4507 num_levels); in lp_build_size_query_soa()
|