Home
last modified time | relevance | path

Searched refs:huffman_table (Results 1 – 5 of 5) sorted by relevance

/hardware/intel/common/libva/test/decode/
Dtinyjpeg.c89 huffman_table:
163 memcpy(priv->HTDC[i].bits, default_huffman_table_param.huffman_table[i].num_dc_codes, 16); in build_default_huffman_tables()
164 memcpy(priv->HTDC[i].values, default_huffman_table_param.huffman_table[i].dc_values, 16); in build_default_huffman_tables()
166 memcpy(priv->HTAC[i].bits, default_huffman_table_param.huffman_table[i].num_ac_codes, 16); in build_default_huffman_tables()
167 memcpy(priv->HTAC[i].values, default_huffman_table_param.huffman_table[i].ac_values, 256); in build_default_huffman_tables()
742 VAHuffmanTableBufferJPEGBaseline huffman_table; in tinyjpeg_decode() local
744 MIN(COMPONENTS, ARRAY_ELEMS(huffman_table.load_huffman_table)); in tinyjpeg_decode()
745 memset(&huffman_table, 0, sizeof(VAHuffmanTableBufferJPEGBaseline)); in tinyjpeg_decode()
746 assert(sizeof(huffman_table.huffman_table[0].num_dc_codes) == in tinyjpeg_decode()
748 assert(sizeof(huffman_table.huffman_table[0].dc_values[0]) == in tinyjpeg_decode()
[all …]
Dtinyjpeg-internal.h67 struct huffman_table struct
111 struct huffman_table HTDC[HUFFMAN_TABLES]; /* DC huffman tables */
113 struct huffman_table HTAC[HUFFMAN_TABLES]; /* AC huffman tables */
/hardware/intel/common/libva/va/
Dva_dec_jpeg.h131 } huffman_table[2]; member
Dva_trace.c991 sprintf(tmp + strlen(tmp), "%u ", p->huffman_table[i].num_dc_codes[j]); in va_TraceVAHuffmanTableBufferJPEG()
996 sprintf(tmp + strlen(tmp), "%u ", p->huffman_table[i].dc_values[j]); in va_TraceVAHuffmanTableBufferJPEG()
1001 sprintf(tmp + strlen(tmp), "%u ", p->huffman_table[i].num_ac_codes[j]); in va_TraceVAHuffmanTableBufferJPEG()
1006 sprintf(tmp + strlen(tmp), "%u ", p->huffman_table[i].ac_values[j]); in va_TraceVAHuffmanTableBufferJPEG()
1011 sprintf(tmp + strlen(tmp), "%u ", p->huffman_table[i].pad[j]); in va_TraceVAHuffmanTableBufferJPEG()
/hardware/intel/img/psb_video/src/
Dtng_jpegdec.c734 table_entries += huff->huffman_table[table_id].num_dc_codes[bit_ind]; in tng__JPEG_process_huffman_tables()
741 uint32_t num_codes = huff->huffman_table[table_id].num_dc_codes[bit_ind]; in tng__JPEG_process_huffman_tables()
769 …ctx->symbol_codes[0][table_id][table_ind].symbol = huff->huffman_table[table_id].dc_values[table_i… in tng__JPEG_process_huffman_tables()
779 table_entries += huff->huffman_table[table_id].num_ac_codes[bit_ind]; in tng__JPEG_process_huffman_tables()
788 uint32_t num_codes = huff->huffman_table[table_id].num_ac_codes[bit_ind]; in tng__JPEG_process_huffman_tables()
813 …ctx->symbol_codes[1][table_id][table_ind].symbol = huff->huffman_table[table_id].ac_values[table_i… in tng__JPEG_process_huffman_tables()