Lines Matching refs:huffman_table
89 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()
753 huffman_table.load_huffman_table[i] = 1; in tinyjpeg_decode()
754 memcpy(huffman_table.huffman_table[i].num_dc_codes, priv->HTDC[i].bits, in tinyjpeg_decode()
755 sizeof(huffman_table.huffman_table[i].num_dc_codes)); in tinyjpeg_decode()
756 memcpy(huffman_table.huffman_table[i].dc_values, priv->HTDC[i].values, in tinyjpeg_decode()
757 sizeof(huffman_table.huffman_table[i].dc_values)); in tinyjpeg_decode()
758 memcpy(huffman_table.huffman_table[i].num_ac_codes, priv->HTAC[i].bits, in tinyjpeg_decode()
759 sizeof(huffman_table.huffman_table[i].num_ac_codes)); in tinyjpeg_decode()
760 memcpy(huffman_table.huffman_table[i].ac_values, priv->HTAC[i].values, in tinyjpeg_decode()
761 sizeof(huffman_table.huffman_table[i].ac_values)); in tinyjpeg_decode()
762 memset(huffman_table.huffman_table[i].pad, 0, in tinyjpeg_decode()
763 sizeof(huffman_table.huffman_table[i].pad)); in tinyjpeg_decode()
768 1, &huffman_table, in tinyjpeg_decode()