Home
last modified time | relevance | path

Searched refs:num_codes (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dcllc.c49 int num_lens, num_codes, num_codes_sum; in read_code_table() local
63 num_codes = get_bits(gb, 9); in read_code_table()
64 num_codes_sum += num_codes; in read_code_table()
72 for (j = 0; j < num_codes; j++) { in read_code_table()
Datrac3.c219 int num_codes) in read_quant_spectral_coeffs() argument
224 num_codes /= 2; in read_quant_spectral_coeffs()
231 for (i = 0; i < num_codes; i++) { in read_quant_spectral_coeffs()
239 for (i = 0; i < num_codes; i++) { in read_quant_spectral_coeffs()
251 for (i = 0; i < num_codes; i++) { in read_quant_spectral_coeffs()
256 for (i = 0; i < num_codes; i++) { in read_quant_spectral_coeffs()
Dmjpegenc.c233 size_t num_mbs, num_blocks, num_codes; in alloc_huffman() local
250 num_codes = num_blocks * 64; in alloc_huffman()
252 m->huff_buffer = av_malloc_array(num_codes, sizeof(MJpegHuffmanCode)); in alloc_huffman()
Dwebp.c331 int num_codes = 4 + get_bits(&s->gb, 4); in read_huffman_code_normal() local
333 av_assert1(num_codes <= NUM_CODE_LENGTH_CODES); in read_huffman_code_normal()
335 for (i = 0; i < num_codes; i++) in read_huffman_code_normal()
/third_party/node/deps/brotli/c/enc/
Dbrotli_bit_stream.c169 const int num_codes, const uint8_t* code_length_bitdepth, in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask() argument
195 if (num_codes > 1) { in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
296 int num_codes = 0; in BrotliStoreHuffmanTree() local
311 if (num_codes == 0) { in BrotliStoreHuffmanTree()
313 num_codes = 1; in BrotliStoreHuffmanTree()
314 } else if (num_codes == 1) { in BrotliStoreHuffmanTree()
315 num_codes = 2; in BrotliStoreHuffmanTree()
330 BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask(num_codes, code_length_bitdepth, in BrotliStoreHuffmanTree()
333 if (num_codes == 1) { in BrotliStoreHuffmanTree()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbrotli_bit_stream.c169 const int num_codes, const uint8_t* code_length_bitdepth, in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask() argument
195 if (num_codes > 1) { in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
296 int num_codes = 0; in BrotliStoreHuffmanTree() local
311 if (num_codes == 0) { in BrotliStoreHuffmanTree()
313 num_codes = 1; in BrotliStoreHuffmanTree()
314 } else if (num_codes == 1) { in BrotliStoreHuffmanTree()
315 num_codes = 2; in BrotliStoreHuffmanTree()
330 BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask(num_codes, code_length_bitdepth, in BrotliStoreHuffmanTree()
333 if (num_codes == 1) { in BrotliStoreHuffmanTree()
/third_party/node/deps/brotli/c/dec/
Ddecode.c695 uint32_t num_codes = h->repeat; in ReadCodeLengthCodeLengths() local
711 h->repeat = num_codes; in ReadCodeLengthCodeLengths()
723 ++num_codes; in ReadCodeLengthCodeLengths()
731 if (!(num_codes == 1 || space == 0)) { in ReadCodeLengthCodeLengths()
/third_party/skia/third_party/externals/brotli/c/dec/
Ddecode.c695 uint32_t num_codes = h->repeat; in ReadCodeLengthCodeLengths() local
711 h->repeat = num_codes; in ReadCodeLengthCodeLengths()
723 ++num_codes; in ReadCodeLengthCodeLengths()
731 if (!(num_codes == 1 || space == 0)) { in ReadCodeLengthCodeLengths()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c333 const int num_codes = VP8LReadBits(br, 4) + 4; in ReadHuffmanCode() local
334 if (num_codes > NUM_CODE_LENGTH_CODES) { in ReadHuffmanCode()
339 for (i = 0; i < num_codes; ++i) { in ReadHuffmanCode()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c514 const int num_codes = VP8LHistogramNumCodes(h->palette_code_bits_); in UpdateHistogramCost() local
516 PopulationCost(h->literal_, num_codes, NULL, &h->is_used_[0]) + in UpdateHistogramCost()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c513 const int num_codes = VP8LHistogramNumCodes(h->palette_code_bits_); in UpdateHistogramCost() local
515 PopulationCost(h->literal_, num_codes, NULL, &h->is_used_[0]) + in UpdateHistogramCost()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c333 const int num_codes = VP8LReadBits(br, 4) + 4; in ReadHuffmanCode() local
334 if (num_codes > NUM_CODE_LENGTH_CODES) { in ReadHuffmanCode()
339 for (i = 0; i < num_codes; ++i) { in ReadHuffmanCode()