Searched refs:huffman_table (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/va/ |
D | picture_mjpeg.c | 77 context->desc.mjpeg.huffman_table.load_huffman_table[i] = mjpeg->load_huffman_table[i]; in vlVaHandleHuffmanTableBufferType() 79 memcpy(&context->desc.mjpeg.huffman_table.table[i].num_dc_codes, in vlVaHandleHuffmanTableBufferType() 80 mjpeg->huffman_table[i].num_dc_codes, 16); in vlVaHandleHuffmanTableBufferType() 81 memcpy(&context->desc.mjpeg.huffman_table.table[i].dc_values, in vlVaHandleHuffmanTableBufferType() 82 mjpeg->huffman_table[i].dc_values, 12); in vlVaHandleHuffmanTableBufferType() 83 memcpy(&context->desc.mjpeg.huffman_table.table[i].num_ac_codes, in vlVaHandleHuffmanTableBufferType() 84 mjpeg->huffman_table[i].num_ac_codes, 16); in vlVaHandleHuffmanTableBufferType() 85 memcpy(&context->desc.mjpeg.huffman_table.table[i].ac_values, in vlVaHandleHuffmanTableBufferType() 86 mjpeg->huffman_table[i].ac_values, 162); in vlVaHandleHuffmanTableBufferType() 87 memcpy(&context->desc.mjpeg.huffman_table.table[i].pad, mjpeg->huffman_table[i].pad, 2); in vlVaHandleHuffmanTableBufferType() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | vaapi_mjpeg.c | 87 huff.huffman_table[i].num_dc_codes[j] = s->raw_huffman_lengths[0][i][j]; in vaapi_mjpeg_decode_slice() 89 huff.huffman_table[i].dc_values[j] = s->raw_huffman_values[0][i][j]; in vaapi_mjpeg_decode_slice() 91 huff.huffman_table[i].num_ac_codes[j] = s->raw_huffman_lengths[1][i][j]; in vaapi_mjpeg_decode_slice() 93 huff.huffman_table[i].ac_values[j] = s->raw_huffman_values[1][i][j]; in vaapi_mjpeg_decode_slice()
|
D | vaapi_encode_mjpeg.c | 203 k += (huff->huffman_table[t].num_dc_codes[i] = ht->L[i]); in vaapi_encode_mjpeg_write_extra_buffer() 204 av_assert0(k <= sizeof(huff->huffman_table[t].dc_values)); in vaapi_encode_mjpeg_write_extra_buffer() 206 huff->huffman_table[t].dc_values[i] = ht->V[i]; in vaapi_encode_mjpeg_write_extra_buffer() 210 k += (huff->huffman_table[t].num_ac_codes[i] = ht->L[i]); in vaapi_encode_mjpeg_write_extra_buffer() 211 av_assert0(k <= sizeof(huff->huffman_table[t].ac_values)); in vaapi_encode_mjpeg_write_extra_buffer() 213 huff->huffman_table[t].ac_values[i] = ht->V[i]; in vaapi_encode_mjpeg_write_extra_buffer()
|
D | cbs_jpeg_syntax_template.c | 78 static int FUNC(huffman_table)(CodedBitstreamContext *ctx, RWContext *rw, in FUNC() argument 116 CHECK(FUNC(huffman_table)(ctx, rw, ¤t->table[i])); in FUNC()
|
D | vp3.c | 302 HuffTable huffman_table[5 * 16]; member 2450 const HuffTable *tab = &s->huffman_table[i]; in vp3_decode_init() 3085 for (int i = 0; i < FF_ARRAY_ELEMS(s->huffman_table); i++) { in theora_decode_tables() 3086 s->huffman_table[i].nb_entries = 0; in theora_decode_tables() 3087 if ((ret = read_huffman_tree(&s->huffman_table[i], gb, 0, avctx)) < 0) in theora_decode_tables()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 700 if (pic->huffman_table.load_huffman_table[i] == 0) in get_mjpeg_slice_header() 704 memcpy((buf + size), &pic->huffman_table.table[i].num_dc_codes, 16); in get_mjpeg_slice_header() 706 memcpy((buf + size), &pic->huffman_table.table[i].dc_values, 12); in get_mjpeg_slice_header() 711 if (pic->huffman_table.load_huffman_table[i] == 0) in get_mjpeg_slice_header() 715 memcpy((buf + size), &pic->huffman_table.table[i].num_ac_codes, 16); in get_mjpeg_slice_header() 717 memcpy((buf + size), &pic->huffman_table.table[i].ac_values, 162); in get_mjpeg_slice_header()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | vp8l_dec.c | 366 HuffmanCode* huffman_table = NULL; in ReadHuffmanCodes() local 446 huffman_table = huffman_tables; in ReadHuffmanCodes() 471 htrees[j] = huffman_table; in ReadHuffmanCodes() 475 size = ReadHuffmanCode(alphabet_size, dec, code_lengths, huffman_table); in ReadHuffmanCodes() 480 is_trivial_literal = (huffman_table->bits == 0); in ReadHuffmanCodes() 482 total_size += huffman_table->bits; in ReadHuffmanCodes() 483 huffman_table += size; in ReadHuffmanCodes()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | vp8l_dec.c | 366 HuffmanCode* huffman_table = NULL; in ReadHuffmanCodes() local 446 huffman_table = huffman_tables; in ReadHuffmanCodes() 471 htrees[j] = huffman_table; in ReadHuffmanCodes() 475 size = ReadHuffmanCode(alphabet_size, dec, code_lengths, huffman_table); in ReadHuffmanCodes() 480 is_trivial_literal = (huffman_table->bits == 0); in ReadHuffmanCodes() 482 total_size += huffman_table->bits; in ReadHuffmanCodes() 483 huffman_table += size; in ReadHuffmanCodes()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_video_state.h | 655 } huffman_table; member
|