Home
last modified time | relevance | path

Searched refs:huff_code (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddsicinvideo.c96 int b, huff_code = 0; in cin_decode_huffman() local
106 huff_code = *src++; in cin_decode_huffman()
107 if ((huff_code >> 4) == 15) { in cin_decode_huffman()
108 b = huff_code << 4; in cin_decode_huffman()
109 huff_code = *src++; in cin_decode_huffman()
110 *dst_cur++ = b | (huff_code >> 4); in cin_decode_huffman()
112 *dst_cur++ = huff_code_table[huff_code >> 4]; in cin_decode_huffman()
116 huff_code &= 15; in cin_decode_huffman()
117 if (huff_code == 15) { in cin_decode_huffman()
120 *dst_cur++ = huff_code_table[huff_code]; in cin_decode_huffman()
Dmjpegenc_common.h36 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code,
42 uint8_t *huff_size, uint16_t *huff_code);
Dmjpegenc_common.c394 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code, in ff_mjpeg_build_huffman_codes() argument
407 huff_code[sym] = code; in ff_mjpeg_build_huffman_codes()
422 uint8_t *huff_size, uint16_t *huff_code) in ff_mjpeg_encode_dc() argument
427 put_bits(pb, huff_size[0], huff_code[0]); in ff_mjpeg_encode_dc()
437 put_bits(pb, huff_size[nbits], huff_code[nbits]); in ff_mjpeg_encode_dc()
Dmjpegenc.c81 uint16_t *huff_code[4] = { m->huff_code_dc_luminance, in mjpeg_encode_picture_frame() local
106 put_bits(&s->pb, huff_size[table_id][code], huff_code[table_id][code]); in mjpeg_encode_picture_frame()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c408 HuffmanTreeCode* const huff_code) { in VP8LCreateHuffmanTree() argument
409 const int num_symbols = huff_code->num_symbols; in VP8LCreateHuffmanTree()
413 huff_code->code_lengths); in VP8LCreateHuffmanTree()
415 ConvertBitDepthsToSymbols(huff_code); in VP8LCreateHuffmanTree()
Dhuffman_encode_utils.h54 HuffmanTreeCode* const huff_code);
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c409 HuffmanTreeCode* const huff_code) { in VP8LCreateHuffmanTree() argument
410 const int num_symbols = huff_code->num_symbols; in VP8LCreateHuffmanTree()
414 huff_code->code_lengths); in VP8LCreateHuffmanTree()
416 ConvertBitDepthsToSymbols(huff_code); in VP8LCreateHuffmanTree()