Searched defs:htbl (Results 1 - 6 of 6) sorted by relevance

/external/libjpeg-turbo/
H A Djcapimin.c138 JHUFF_TBL *htbl; local
146 if ((htbl = cinfo->dc_huff_tbl_ptrs[i]) != NULL)
147 htbl->sent_table = suppress;
148 if ((htbl = cinfo->ac_huff_tbl_ptrs[i]) != NULL)
149 htbl->sent_table = suppress;
H A Djdhuff.c158 JHUFF_TBL *htbl; local
167 * paralleling the order of the symbols themselves in htbl->huffval[].
173 htbl =
175 if (htbl == NULL)
184 dtbl->pub = htbl; /* fill in back link */
190 i = (int) htbl->bits[l];
223 if (htbl->bits[l]) {
228 p += htbl->bits[l];
249 for (i = 1; i <= (int) htbl->bits[l]; i++, p++) {
254 dtbl->lookup[lookbits] = (l << HUFF_LOOKAHEAD) | htbl
449 jpeg_huff_decode(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, d_derived_tbl *htbl, int min_bits) argument
[all...]
H A Djchuff.c225 JHUFF_TBL *htbl; local
233 * paralleling the order of the symbols themselves in htbl->huffval[].
239 htbl =
241 if (htbl == NULL)
255 i = (int) htbl->bits[l];
301 i = htbl->huffval[p];
859 * Generate the best Huffman code table for the given counts, fill htbl.
887 jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL *htbl, long freq[]) argument
1002 MEMCOPY(htbl->bits, bits, sizeof(htbl
[all...]
H A Djcmarker.c192 JHUFF_TBL *htbl; local
196 htbl = cinfo->ac_huff_tbl_ptrs[index];
199 htbl = cinfo->dc_huff_tbl_ptrs[index];
202 if (htbl == NULL)
205 if (! htbl->sent_table) {
210 length += htbl->bits[i];
216 emit_byte(cinfo, htbl->bits[i]);
219 emit_byte(cinfo, htbl->huffval[i]);
221 htbl->sent_table = TRUE;
/external/dng_sdk/source/
H A Ddng_lossless_jpeg.cpp120 static void FixHuffTbl (HuffmanTable *htbl) argument
148 for (i = 1; i <= (int32) htbl->bits [l]; i++)
188 memset (htbl->ehufsi, 0, sizeof (htbl->ehufsi));
193 htbl->ehufco [htbl->huffval [p]] = huffcode [p];
194 htbl->ehufsi [htbl->huffval [p]] = huffsize [p];
205 if (htbl->bits [l])
208 htbl
1616 HuffDecode(HuffmanTable *htbl) argument
3182 GenHuffCoding(HuffmanTable *htbl, uint32 *freq) argument
3530 HuffmanTable *htbl = &huffTable [index]; local
[all...]
/external/pdfium/third_party/libtiff/
H A Dtif_jpeg.c1535 JHUFF_TBL* htbl; local
1537 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL)
1538 htbl->sent_table = FALSE;
1539 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL)
1540 htbl->sent_table = FALSE;
1546 JHUFF_TBL* htbl; local
1548 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL)
1549 htbl->sent_table = TRUE;
1550 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL)
1551 htbl
[all...]

Completed in 214 milliseconds