Home
last modified time | relevance | path

Searched refs:alphabet_size (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/dec/
Dvp8l.c308 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, in ReadHuffmanCode() argument
315 memset(code_lengths, 0, alphabet_size * sizeof(*code_lengths)); in ReadHuffmanCode()
341 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, in ReadHuffmanCode()
348 code_lengths, alphabet_size); in ReadHuffmanCode()
396 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local
398 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes()
400 if (max_alphabet_size < alphabet_size) { in ReadHuffmanCodes()
401 max_alphabet_size = alphabet_size; in ReadHuffmanCodes()
425 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local
428 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes()
[all …]
/external/opencv3/3rdparty/libwebp/dec/
Dvp8l.c228 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, in ReadHuffmanCode() argument
251 alphabet_size, num_symbols); in ReadHuffmanCode()
263 (int*)WebPSafeCalloc((uint64_t)alphabet_size, sizeof(*code_lengths)); in ReadHuffmanCode()
272 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, in ReadHuffmanCode()
275 ok = HuffmanTreeBuildImplicit(tree, code_lengths, alphabet_size); in ReadHuffmanCode()
345 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local
347 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes()
349 if (!ReadHuffmanCode(alphabet_size, dec, htrees + j)) goto Error; in ReadHuffmanCodes()