Home
last modified time | relevance | path

Searched refs:kTableSize (Results 1 – 25 of 27) sorted by relevance

12

/external/dng_sdk/source/
Ddng_1d_table.cpp50 bool subDivide = (range > (kTableSize >> 8)); in SubDivide()
72 fTable [middle] = (real32) function.Evaluate (middle * (1.0 / (real64) kTableSize)); in SubDivide()
113 fBuffer.Reset (allocator.Allocate ((kTableSize + 2) * sizeof (real32))); in Initialize()
121 fTable [kTableSize] = (real32) function.Evaluate (1.0); in Initialize()
123 real32 maxDelta = Max_real32 (Abs_real32 (fTable [kTableSize] - in Initialize()
129 kTableSize, in Initialize()
137 for (uint32 j = 0; j <= kTableSize; j++) in Initialize()
140 real64 x = j * (1.0 / (real64) kTableSize); in Initialize()
150 fTable [kTableSize + 1] = fTable [kTableSize]; in Initialize()
159 real64 step = (real64) kTableSize / 65535.0; in Expand16()
Ddng_1d_table.h44 kTableSize = (1 << kTableBits) //< Number of entries in table. enumerator
76 real32 y = x * (real32) kTableSize; in Interpolate()
80 if (index < 0 || index > kTableSize) in Interpolate()
87 DNG_ASSERT (index >= 0 && index <= kTableSize, in Interpolate()
Ddng_render.cpp400 const uint32 kTableSize = sizeof (kTable ) / in Evaluate() local
403 real32 y = (real32) x * (real32) (kTableSize - 1); in Evaluate()
405 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in Evaluate()
680 const uint32 kTableSize = sizeof (kTable ) / in EvaluateInverse() local
683 real32 y = (real32) x * (real32) (kTableSize - 1); in EvaluateInverse()
685 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in EvaluateInverse()
Ddng_read_image.cpp392 kTableSize = 4096 enumerator
461 fBuffer.Allocate (kTableSize * sizeof (LZWExpanderNode)); in dng_lzw_expander()
496 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable()
505 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable()
717 if (localCode < 0 || localCode > kTableSize) in Expand()
771 if (code > kTableSize) in Expand()
790 if (fNextCode < kTableSize) in Expand()
Ddng_image_writer.cpp3257 kTableSize = 4096 enumerator
3302 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in SearchTable()
3348 fBuffer.Allocate (kTableSize, sizeof (LZWCompressorNode)); in dng_lzw_compressor()
3384 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable()
3391 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable()
/external/webrtc/webrtc/common_audio/vad/
Dvad_core.h24 enum { kTableSize = kNumChannels * kNumGaussians }; enumerator
33 int16_t noise_means[kTableSize];
34 int16_t speech_means[kTableSize];
35 int16_t noise_stds[kTableSize];
36 int16_t speech_stds[kTableSize];
Dvad_core.c37 static const int16_t kNoiseDataWeights[kTableSize] = {
40 static const int16_t kSpeechDataWeights[kTableSize] = {
43 static const int16_t kNoiseDataMeans[kTableSize] = {
46 static const int16_t kSpeechDataMeans[kTableSize] = {
50 static const int16_t kNoiseDataStds[kTableSize] = {
53 static const int16_t kSpeechDataStds[kTableSize] = {
138 int16_t deltaN[kTableSize], deltaS[kTableSize]; in GmmProbability()
139 int16_t ngprvec[kTableSize] = { 0 }; // Conditional probability = 0. in GmmProbability()
140 int16_t sgprvec[kTableSize] = { 0 }; // Conditional probability = 0. in GmmProbability()
503 for (i = 0; i < kTableSize; i++) { in WebRtcVad_InitCore()
/external/grpc-grpc/test/core/slice/
Dslice_weak_hash_table_test.cc72 constexpr int kTableSize = 10; in TEST() local
73 auto table = SliceWeakHashTable<UniquePtr<char>, kTableSize>::Create(); in TEST()
75 for (int i = 0; i < kTableSize * 2; ++i) { in TEST()
85 for (int i = 0; i < kTableSize * 2; ++i) { in TEST()
93 ASSERT_GE(num_missing, kTableSize); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dresize_bicubic_op_test.cc59 static const int64 kTableSize = (1 << 10); member in tensorflow::ResizeBicubicOpTest
65 float* coeffs_tab = new float[(kTableSize + 1) * 2]; in InitCoeffsTable()
67 for (int i = 0; i <= kTableSize; ++i) { in InitCoeffsTable()
68 float x = i * 1.0 / kTableSize; in InitCoeffsTable()
93 const int64 offset = lrintf(delta * kTableSize); in GetWeightsAndIndices()
96 coeffs_tab[(kTableSize - offset) * 2], in GetWeightsAndIndices()
97 coeffs_tab[(kTableSize - offset) * 2 + 1]}}; in GetWeightsAndIndices()
Dresize_bicubic_op.cc36 static const int64 kTableSize = (1 << 10); variable
42 float* coeffs_table = new float[(kTableSize + 1) * 2]; in InitCoeffsTable()
43 for (int i = 0; i <= kTableSize; ++i) { in InitCoeffsTable()
44 float x = i * 1.0 / kTableSize; in InitCoeffsTable()
92 const int64 offset = lrintf(delta * kTableSize); in GetWeightsAndIndices()
108 (out->index_2 == in_loc + 1 ? coeffs_table[(kTableSize - offset) * 2] in GetWeightsAndIndices()
112 ? coeffs_table[(kTableSize - offset) * 2 + 1] in GetWeightsAndIndices()
127 out->weight_2 = coeffs_table[(kTableSize - offset) * 2]; in GetWeightsAndIndices()
128 out->weight_3 = coeffs_table[(kTableSize - offset) * 2 + 1]; in GetWeightsAndIndices()
/external/tensorflow/tensorflow/core/util/
Dpresized_cuckoo_map_test.cc63 static constexpr int kTableSize = 1000; in TEST() local
64 PresizedCuckooMap<int> pscm(kTableSize); in TEST()
65 for (uint64 i = 0; i < kTableSize; i++) { in TEST()
73 for (uint64 i = kTableSize; i < (2 * kTableSize); i++) { in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.h28 static const uptr kTableSize = kSize / sizeof(u32); member
32 u32 table[kTableSize];
Dtsan_fd.cc22 const int kTableSize = kTableSizeL1 * kTableSizeL2; variable
47 return fd < 0 || fd >= kTableSize; in bogusfd()
76 CHECK_LT(fd, kTableSize); in fddesc()
/external/v8/src/snapshot/
Dsnapshot.h123 static constexpr uint32_t kTableSize = Builtins::builtin_count; variable
130 return sizeof(struct Metadata) * kTableSize; in MetadataSize()
Dsnapshot-common.cc387 std::vector<struct Metadata> metadata(kTableSize); in FromIsolate()
Dserializer.cc867 STATIC_ASSERT(EmbeddedData::kTableSize == Builtins::builtin_count); in VisitOffHeapTarget()
/external/v8/src/regexp/
Dregexp-macro-assembler.h35 static const int kTableSize = 1 << kTableSizeBits; variable
36 static const int kTableMask = kTableSize - 1;
Dregexp-macro-assembler-tracer.cc343 for (int i = 0; i < kTableSize; i++) { in CheckBitInTable()
Dregexp-macro-assembler-irregexp.cc363 for (int i = 0; i < kTableSize; i += kBitsPerByte) { in CheckBitInTable()
Djsregexp.cc874 for (int i = 0; i < RegExpMacroAssembler::kTableSize; i++) { in FrequencyCollator()
913 CharacterFrequency frequencies_[RegExpMacroAssembler::kTableSize];
1773 static const int kSize = RegExpMacroAssembler::kTableSize; in EmitUseLookupTable()
1860 static const int kSize = RegExpMacroAssembler::kTableSize; in SplitSearchSpace()
3642 static const int kSize = RegExpMacroAssembler::kTableSize; in FindBestInterval()
3695 const int kSize = RegExpMacroAssembler::kTableSize; in GetSkipTable()
3720 const int kSize = RegExpMacroAssembler::kTableSize; in EmitSkipInstructions()
6408 RegExpMacroAssembler::kTableSize);
/external/webp/src/dec/
Dvp8l_dec.c89 static const uint16_t kTableSize[12] = { variable
375 const int table_size = kTableSize[color_cache_bits]; in ReadHuffmanCodes()
/external/v8/src/regexp/mips64/
Dregexp-macro-assembler-mips64.cc520 __ And(a1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
/external/v8/src/regexp/ia32/
Dregexp-macro-assembler-ia32.cc512 __ mov(ebx, kTableSize - 1); in CheckBitInTable()
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.cc483 __ and_(r1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
/external/v8/src/regexp/mips/
Dregexp-macro-assembler-mips.cc489 __ And(a1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()

12