Home
last modified time | relevance | path

Searched refs:code_lengths (Results 1 – 10 of 10) sorted by relevance

/external/webp/src/utils/
Dhuffman_utils.c81 const int code_lengths[], int code_lengths_size, in BuildHuffmanTable() argument
93 assert(code_lengths != NULL); in BuildHuffmanTable()
99 if (code_lengths[symbol] > MAX_ALLOWED_CODE_LENGTH) { in BuildHuffmanTable()
102 ++count[code_lengths[symbol]]; in BuildHuffmanTable()
121 const int symbol_code_length = code_lengths[symbol]; in BuildHuffmanTable()
122 if (code_lengths[symbol] > 0) { in BuildHuffmanTable()
206 const int code_lengths[], int code_lengths_size) { in VP8LBuildHuffmanTable() argument
213 code_lengths, code_lengths_size, sorted); in VP8LBuildHuffmanTable()
219 code_lengths, code_lengths_size, sorted); in VP8LBuildHuffmanTable()
Dhuffman_encode_utils.c335 const int value = tree->code_lengths[i]; in VP8LCreateCompressedHuffmanTree()
338 while (k < depth_size && tree->code_lengths[k] == value) ++k; in VP8LCreateCompressedHuffmanTree()
384 const int code_length = tree->code_lengths[i]; in ConvertBitDepthsToSymbols()
398 const int code_length = tree->code_lengths[i]; in ConvertBitDepthsToSymbols()
414 huff_code->code_lengths); in VP8LCreateHuffmanTree()
Dhuffman_encode_utils.h32 uint8_t* code_lengths; // Code lengths of the symbols. member
Dhuffman_utils.h82 const int code_lengths[], int code_lengths_size);
/external/webp/src/dec/
Dvp8l_dec.c250 int num_symbols, int* const code_lengths) { in ReadHuffmanCodeLengths() argument
284 code_lengths[symbol++] = code_len; in ReadHuffmanCodeLengths()
296 while (repeat-- > 0) code_lengths[symbol++] = length; in ReadHuffmanCodeLengths()
310 int* const code_lengths, HuffmanCode* const table) { in ReadHuffmanCode() argument
316 memset(code_lengths, 0, alphabet_size * sizeof(*code_lengths)); in ReadHuffmanCode()
323 code_lengths[symbol] = 1; in ReadHuffmanCode()
327 code_lengths[symbol] = 1; in ReadHuffmanCode()
343 code_lengths); in ReadHuffmanCode()
349 code_lengths, alphabet_size); in ReadHuffmanCode()
374 int* code_lengths = NULL; in ReadHuffmanCodes() local
[all …]
/external/u-boot/include/jffs2/
Dmini_inflate.h47 int code_lengths[19]; member
/external/brotli/c/dec/
Dhuffman.c105 const uint8_t* const code_lengths, in BrotliBuildCodeLengthsHuffmanTable() argument
137 sorted[offset[code_lengths[symbol]]--] = symbol; in BrotliBuildCodeLengthsHuffmanTable()
Dhuffman.h98 const uint8_t* const code_lengths, uint16_t* count);
/external/webp/src/enc/
Dvp8l_enc.c488 huffman_codes[i].code_lengths = lengths; in GetHuffBitLengthsAndCodes()
550 if (huffman_code->code_lengths[k] != 0) { in ClearHuffmanTreeIfOnlyOneSymbol()
556 huffman_code->code_lengths[k] = 0; in ClearHuffmanTreeIfOnlyOneSymbol()
569 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); in StoreHuffmanTreeToBitMask()
595 huffman_code.code_lengths = code_length_bitdepth; in StoreFullHuffmanCode()
665 if (huffman_code->code_lengths[i] != 0) { in StoreHuffmanCode()
695 const int depth = code->code_lengths[code_index]; in WriteHuffmanCode()
706 const int depth = code->code_lengths[code_index]; in WriteHuffmanCodeWithExtraBits()
/external/u-boot/fs/jffs2/
Dmini_inflate.c39 stream->codes.lengths = stream->code_lengths; in init_stream()