Home
last modified time | relevance | path

Searched refs:num_symbols (Results 1 – 18 of 18) sorted by relevance

/external/opencv3/3rdparty/libwebp/utils/
Dhuffman.c149 int num_symbols = 0; in HuffmanTreeBuildImplicit() local
159 ++num_symbols; in HuffmanTreeBuildImplicit()
165 if (!TreeInit(tree, num_symbols)) return 0; in HuffmanTreeBuildImplicit()
168 if (num_symbols == 1) { // Trivial case. in HuffmanTreeBuildImplicit()
208 int num_symbols) { in HuffmanTreeBuildExplicit() argument
218 if (!TreeInit(tree, num_symbols)) return 0; in HuffmanTreeBuildExplicit()
221 for (i = 0; i < num_symbols; ++i) { in HuffmanTreeBuildExplicit()
Dhuffman_encode.c351 const int depth_size = tree->num_symbols; in VP8LCreateCompressedHuffmanTree()
403 len = tree->num_symbols; in ConvertBitDepthsToSymbols()
429 const int num_symbols = tree->num_symbols; in VP8LCreateHuffmanTree() local
430 if (!OptimizeHuffmanForRle(num_symbols, histogram)) { in VP8LCreateHuffmanTree()
433 if (!GenerateOptimalTree(histogram, num_symbols, in VP8LCreateHuffmanTree()
Dhuffman_encode.h31 int num_symbols; // Number of symbols. member
Dhuffman.h67 int num_symbols);
/external/webp/src/utils/
Dhuffman_encode.c330 const int depth_size = tree->num_symbols; in VP8LCreateCompressedHuffmanTree()
382 len = tree->num_symbols; in ConvertBitDepthsToSymbols()
410 const int num_symbols = huff_code->num_symbols; in VP8LCreateHuffmanTree() local
411 memset(buf_rle, 0, num_symbols * sizeof(*buf_rle)); in VP8LCreateHuffmanTree()
412 OptimizeHuffmanForRle(num_symbols, buf_rle, histogram); in VP8LCreateHuffmanTree()
413 GenerateOptimalTree(histogram, num_symbols, huff_tree, tree_depth_limit, in VP8LCreateHuffmanTree()
Dhuffman_encode.h31 int num_symbols; // Number of symbols. member
/external/webrtc/webrtc/modules/audio_device/linux/
Dlatebindingsymboltable_linux.cc93 int num_symbols, in InternalLoadSymbols() argument
100 for (int i = 0; i < num_symbols; ++i) { in InternalLoadSymbols()
Dlatebindingsymboltable_linux.h42 int num_symbols,
/external/webrtc/webrtc/base/
Dlatebindingsymboltable.cc125 for (int i = 0; i < info_->num_symbols; ++i) { in LoadFromPath()
153 memset(table_, 0, sizeof(void *) * info_->num_symbols); in ClearSymbols()
Dlatebindingsymboltable.h36 int num_symbols; member
/external/webp/src/enc/
Dvp8l.c440 const int num_symbols = in GetHuffBitLengthsAndCodes() local
443 codes[k].num_symbols = num_symbols; in GetHuffBitLengthsAndCodes()
444 total_length_size += num_symbols; in GetHuffBitLengthsAndCodes()
459 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes()
522 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
528 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
564 const int max_tokens = tree->num_symbols; in StoreFullHuffmanCode()
567 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()
632 for (i = 0; i < huffman_code->num_symbols && count < 3; ++i) { in StoreHuffmanCode()
792 if (max_tokens < codes->num_symbols) { in EncodeImageNoHuffman()
[all …]
Dbackward_references.c489 int num_symbols, const uint32_t population_counts[], double output[]) { in ConvertPopulationCountTableToBitEstimates() argument
493 for (i = 0; i < num_symbols; ++i) { in ConvertPopulationCountTableToBitEstimates()
500 memset(output, 0, num_symbols * sizeof(*output)); in ConvertPopulationCountTableToBitEstimates()
503 for (i = 0; i < num_symbols; ++i) { in ConvertPopulationCountTableToBitEstimates()
/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c196 const int num_symbols = (k == 0) ? VP8LHistogramNumCodes(histo) in GetHuffBitLengthsAndCodes() local
199 codes[k].num_symbols = num_symbols; in GetHuffBitLengthsAndCodes()
200 total_length_size += num_symbols; in GetHuffBitLengthsAndCodes()
217 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes()
271 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
277 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
311 const int max_tokens = tree->num_symbols; in StoreFullHuffmanCode()
318 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()
385 for (i = 0; i < huffman_code->num_symbols && count < 3; ++i) { in StoreHuffmanCode()
Dbackward_references.c390 int num_symbols, const int population_counts[], double output[]) { in ConvertPopulationCountTableToBitEstimates() argument
394 for (i = 0; i < num_symbols; ++i) { in ConvertPopulationCountTableToBitEstimates()
401 memset(output, 0, num_symbols * sizeof(*output)); in ConvertPopulationCountTableToBitEstimates()
404 for (i = 0; i < num_symbols; ++i) { in ConvertPopulationCountTableToBitEstimates()
/external/opencv3/3rdparty/libwebp/dec/
Dvp8l.c172 int num_symbols, int* const code_lengths) { in ReadHuffmanCodeLengths() argument
189 if (max_symbol > num_symbols) { in ReadHuffmanCodeLengths()
194 max_symbol = num_symbols; in ReadHuffmanCodeLengths()
198 while (symbol < num_symbols) { in ReadHuffmanCodeLengths()
212 if (symbol + repeat > num_symbols) { in ReadHuffmanCodeLengths()
238 const int num_symbols = VP8LReadBits(br, 1) + 1; in ReadHuffmanCode() local
243 code_lengths[0] = num_symbols - 1; in ReadHuffmanCode()
245 if (num_symbols == 2) { in ReadHuffmanCode()
248 code_lengths[1] = num_symbols - 1; in ReadHuffmanCode()
251 alphabet_size, num_symbols); in ReadHuffmanCode()
/external/webp/src/dec/
Dvp8l.c249 int num_symbols, int* const code_lengths) { in ReadHuffmanCodeLengths() argument
266 if (max_symbol > num_symbols) { in ReadHuffmanCodeLengths()
270 max_symbol = num_symbols; in ReadHuffmanCodeLengths()
274 while (symbol < num_symbols) { in ReadHuffmanCodeLengths()
291 if (symbol + repeat > num_symbols) { in ReadHuffmanCodeLengths()
318 const int num_symbols = VP8LReadBits(br, 1) + 1; in ReadHuffmanCode() local
324 if (num_symbols == 2) { in ReadHuffmanCode()
/external/ltrace/
Dltrace-elf.c914 size_t num_symbols = 0; in populate_this_symtab() local
1058 = lsearch(&key, symbols, &num_symbols, in populate_this_symtab()
1083 for (i = 0; i < num_symbols; ++i) { in populate_this_symtab()
1096 for (i = 0; i < num_symbols; ++i) in populate_this_symtab()
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Ddesktop_browser_backend.py448 num_symbols = len(symbols.splitlines())
451 return num_symbols < 10