Home
last modified time | relevance | path

Searched refs:huffman_tables (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dhuffman_utils.c266 int VP8LHuffmanTablesAllocate(int size, HuffmanTables* huffman_tables) { in VP8LHuffmanTablesAllocate() argument
268 HuffmanTablesSegment* const root = &huffman_tables->root; in VP8LHuffmanTablesAllocate()
269 huffman_tables->curr_segment = root; in VP8LHuffmanTablesAllocate()
279 void VP8LHuffmanTablesDeallocate(HuffmanTables* const huffman_tables) { in VP8LHuffmanTablesDeallocate() argument
281 if (huffman_tables == NULL) return; in VP8LHuffmanTablesDeallocate()
283 current = &huffman_tables->root; in VP8LHuffmanTablesDeallocate()
H A Dhuffman_utils.h66 int VP8LHuffmanTablesAllocate(int size, HuffmanTables* huffman_tables);
67 void VP8LHuffmanTablesDeallocate(HuffmanTables* const huffman_tables);
/third_party/ffmpeg/libavcodec/
H A Dvaapi_encode_mjpeg.c77 JPEGRawHuffmanTableSpecification huffman_tables; member
115 &priv->huffman_tables, NULL); in vaapi_encode_mjpeg_write_image_header()
185 JPEGRawHuffmanTableSpecification *dht = &priv->huffman_tables; in vaapi_encode_mjpeg_write_extra_buffer()
324 JPEGRawHuffmanTable *huff = &priv->huffman_tables.table[t]; in vaapi_encode_mjpeg_init_picture_params()
359 priv->huffman_tables.Lh = len; in vaapi_encode_mjpeg_init_picture_params()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dvp8l_dec.c367 HuffmanTables* huffman_tables = &hdr->huffman_tables_; in ReadHuffmanCodes() local
377 assert(huffman_tables->root.start == NULL); in ReadHuffmanCodes()
378 assert(huffman_tables->curr_segment == NULL); in ReadHuffmanCodes()
446 huffman_tables)) { in ReadHuffmanCodes()
479 ReadHuffmanCode(alphabet_size, dec, code_lengths, huffman_tables); in ReadHuffmanCodes()
480 htrees[j] = huffman_tables->curr_segment->curr_table; in ReadHuffmanCodes()
488 huffman_tables->curr_segment->curr_table += size; in ReadHuffmanCodes()
529 VP8LHuffmanTablesDeallocate(huffman_tables); in ReadHuffmanCodes()

Completed in 6 milliseconds