/external/webp/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,
|
/external/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()
|
/external/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()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | bincount_op_gpu.cu.cc | 54 int num_levels = output.size() + 1; in Compute() local 67 /* num_levels */ num_levels, in Compute() 90 /* num_levels */ num_levels, in Compute()
|
D | histogram_op_gpu.cu.cc | 66 int num_levels = levels.size(); in Compute() local 78 /* num_levels */ num_levels, in Compute() 102 /* num_levels */ num_levels, in Compute()
|
D | quantization_utils_test.cc | 697 int64 num_levels = (1LL << 32) - 1; in TestQuantizedTensorToFloat() local 699 static_cast<float>(static_cast<double>(input_range) / num_levels); in TestQuantizedTensorToFloat()
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | types.c | 46 xkb_level_index_t num_levels; member 316 if (new->level >= type->num_levels) in AddMapEntry() 317 type->num_levels = new->level + 1; in AddMapEntry() 324 if (new->level >= type->num_levels) in AddMapEntry() 325 type->num_levels = new->level + 1; in AddMapEntry() 609 .num_levels = 1, in HandleKeyTypeDef() 692 type->num_levels = 1; in CopyKeyTypesToKeymap() 706 &type->level_names, &type->num_levels); in CopyKeyTypesToKeymap()
|
D | symbols.c | 1459 if (type->num_levels < darray_size(groupi->levels)) { in CopySymbolsDefToKeymap() 1465 xkb_atom_text(keymap->ctx, type->name), type->num_levels, in CopySymbolsDefToKeymap() 1469 darray_foreach_from(leveli, groupi->levels, type->num_levels) in CopySymbolsDefToKeymap() 1472 darray_resize0(groupi->levels, type->num_levels); in CopySymbolsDefToKeymap()
|
D | keymap-dump.c | 231 for (xkb_level_index_t n = 0; n < type->num_levels; n++) in write_types()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 346 unsigned min_level, unsigned num_levels, in intel_disable_rb_aux_buffer() argument 363 irb->mt_level < min_level + num_levels) { in intel_disable_rb_aux_buffer() 428 unsigned min_level, min_layer, num_levels, num_layers; in brw_predraw_resolve_inputs() local 431 num_levels = MIN2(tex_obj->base.NumLevels, tex_obj->_MaxLevel + 1); in brw_predraw_resolve_inputs() 437 num_levels = tex_obj->_MaxLevel - tex_obj->base.BaseLevel + 1; in brw_predraw_resolve_inputs() 444 tex_obj->mt, min_level, num_levels, in brw_predraw_resolve_inputs() 448 min_level, num_levels, in brw_predraw_resolve_inputs() 460 min_level, num_levels, in brw_predraw_resolve_inputs()
|
D | intel_mipmap_tree.h | 533 unsigned start_level, unsigned num_levels, 568 uint32_t start_level, uint32_t num_levels, 644 uint32_t start_level, uint32_t num_levels,
|
D | intel_mipmap_tree.c | 1963 uint32_t start_level, uint32_t num_levels) in miptree_level_range_length() argument 1968 if (num_levels == INTEL_REMAINING_LAYERS) in miptree_level_range_length() 1969 num_levels = mt->last_level - start_level + 1; in miptree_level_range_length() 1971 assert(start_level + num_levels >= start_level); in miptree_level_range_length() 1972 assert(start_level + num_levels <= mt->last_level + 1); in miptree_level_range_length() 1974 return num_levels; in miptree_level_range_length() 1996 unsigned start_level, unsigned num_levels, in intel_miptree_has_color_unresolved() argument 2005 num_levels = miptree_level_range_length(mt, start_level, num_levels); in intel_miptree_has_color_unresolved() 2007 for (uint32_t l = 0; l < num_levels; l++) { in intel_miptree_has_color_unresolved() 2407 uint32_t start_level, uint32_t num_levels, in intel_miptree_prepare_access() argument [all …]
|
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/ |
D | sliced_wasserstein_test.py | 56 def np_laplacian_pyramid(minibatch, num_levels): argument 59 for _ in range(1, num_levels):
|
D | sliced_wasserstein_impl.py | 46 def _laplacian_pyramid(batch, num_levels): argument 79 for _ in range(1, num_levels):
|
/external/aac/libSACenc/src/ |
D | sacenc_nlc_enc.cpp | 252 static SHORT calc_pcm_bits(const SHORT num_val, const SHORT num_levels) { in calc_pcm_bits() argument 257 switch (num_levels) { in calc_pcm_bits() 291 chunk_levels *= num_levels; in calc_pcm_bits() 295 bits_pcm += (SHORT)(ilog2(num_levels) * rest_chunk_size); in calc_pcm_bits() 303 const SHORT num_val, const SHORT num_levels) { in apply_pcm_coding() argument 310 switch (num_levels) { in apply_pcm_coding() 347 chunk_levels *= num_levels; in apply_pcm_coding() 364 grp_val = grp_val * num_levels + next_val; in apply_pcm_coding()
|
/external/aac/libFDK/src/ |
D | nlc_dec.cpp | 152 int num_levels) { in pcm_decode() argument 159 switch (num_levels) { in pcm_decode() 195 tmp *= num_levels; in pcm_decode() 208 next_val = grp_val % num_levels; in pcm_decode() 222 grp_val = (grp_val - next_val) / num_levels; in pcm_decode()
|
/external/libxkbcommon/xkbcommon/src/x11/ |
D | keymap.c | 341 type->num_levels = wire_type->numLevels; in get_types() 355 FAIL_UNLESS(wire_entry->level < type->num_levels); in get_types() 426 ALLOC_OR_FAIL(key->groups[j].levels, key->groups[j].type->num_levels); in get_sym_maps() 451 if (level < key->groups[group].type->num_levels && in get_sym_maps() 499 if (level < key->groups[group].type->num_levels) { in get_actions() 874 FAIL_UNLESS(type->num_levels == wire_num_levels); in get_type_names() 876 ALLOC_OR_FAIL(type->level_names, type->num_levels); in get_type_names()
|
/external/libxkbcommon/xkbcommon/src/ |
D | keymap.h | 255 xkb_level_index_t num_levels; member 437 return key->groups[layout].type->num_levels; in XkbKeyNumLevels()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 308 const uint num_levels = pt->last_level - first_level; in update_map() local 309 unsigned max_lod = num_levels * 4; in update_map()
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_dec.c | 338 WORD32 num_val, WORD32 num_levels) { in ixheaacd_mps_pcm_decode() argument 347 switch (num_levels) { in ixheaacd_mps_pcm_decode() 381 ld_nlev = (FLOAT32)(log((FLOAT32)num_levels) / log(2.f)); in ixheaacd_mps_pcm_decode() 395 next_val = grp_val % num_levels; in ixheaacd_mps_pcm_decode() 409 grp_val = (grp_val - next_val) / num_levels; in ixheaacd_mps_pcm_decode()
|
/external/libdrm/freedreno/kgsl/ |
D | msm_kgsl.h | 180 int num_levels; member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 3931 LLVMValueRef num_levels; in lp_build_size_query_soa() local 3935 num_levels = bld_int_scalar.one; in lp_build_size_query_soa() 3942 num_levels = lp_build_sub(&bld_int_scalar, last_level, first_level); in lp_build_size_query_soa() 3943 num_levels = lp_build_add(&bld_int_scalar, num_levels, bld_int_scalar.one); in lp_build_size_query_soa() 3946 num_levels); in lp_build_size_query_soa()
|
/external/avb/ |
D | avbtool | 3612 num_levels = 0 3620 num_levels += 1 3624 for n in range(0, num_levels): 3626 for m in range(n + 1, num_levels):
|