Home
last modified time | relevance | path

Searched refs:blkn (Results 1 – 9 of 9) sorted by relevance

/external/libjpeg-turbo/
Djdhuff.c97 int ci, blkn, dctbl, actbl; in start_pass_huff_decoder() local
124 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in start_pass_huff_decoder()
125 ci = cinfo->MCU_membership[blkn]; in start_pass_huff_decoder()
128 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no]; in start_pass_huff_decoder()
129 entropy->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no]; in start_pass_huff_decoder()
132 entropy->dc_needed[blkn] = TRUE; in start_pass_huff_decoder()
134 entropy->ac_needed[blkn] = (compptr->_DCT_scaled_size > 1); in start_pass_huff_decoder()
136 entropy->dc_needed[blkn] = entropy->ac_needed[blkn] = FALSE; in start_pass_huff_decoder()
565 int blkn; in decode_mcu_slow() local
573 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_slow()
[all …]
Djccoefct.c147 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
165 blkn = 0; in compress_data()
177 coef->MCU_buffer[blkn], in compress_data()
181 jzero_far((void *)coef->MCU_buffer[blkn + blockcnt], in compress_data()
184 coef->MCU_buffer[blkn + bi][0][0] = in compress_data()
185 coef->MCU_buffer[blkn + bi - 1][0][0]; in compress_data()
190 jzero_far((void *)coef->MCU_buffer[blkn], in compress_data()
193 coef->MCU_buffer[blkn + bi][0][0] = in compress_data()
194 coef->MCU_buffer[blkn - 1][0][0]; in compress_data()
197 blkn += compptr->MCU_width; in compress_data()
[all …]
Djdarith.c255 int blkn, ci, tbl, sign; in decode_mcu_DC_first() local
269 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_first()
270 block = MCU_data[blkn]; in decode_mcu_DC_first()
271 ci = cinfo->MCU_membership[blkn]; in decode_mcu_DC_first()
407 int p1, blkn; in decode_mcu_DC_refine() local
421 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_refine()
424 MCU_data[blkn][0][0] |= p1; in decode_mcu_DC_refine()
511 int blkn, ci, tbl, sign, k; in decode_mcu() local
525 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu()
526 block = MCU_data ? MCU_data[blkn] : NULL; in decode_mcu()
[all …]
Djchuff.c651 int blkn, ci; in encode_mcu_huff() local
669 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff()
670 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff()
673 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
678 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff()
681 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff()
682 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff()
685 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
690 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff()
833 int blkn, ci; in encode_mcu_gather() local
[all …]
Djcarith.c373 int blkn, ci, tbl; in encode_mcu_DC_first() local
389 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_first()
390 block = MCU_data[blkn]; in encode_mcu_DC_first()
391 ci = cinfo->MCU_membership[blkn]; in encode_mcu_DC_first()
562 int Al, blkn; in encode_mcu_DC_refine() local
579 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_refine()
581 arith_encode(cinfo, st, (MCU_data[blkn][0][0] >> Al) & 1); in encode_mcu_DC_refine()
692 int blkn, ci, tbl, k, ke; in encode_mcu() local
707 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu()
708 block = MCU_data[blkn]; in encode_mcu()
[all …]
Djctrans.c296 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
318 blkn = 0; /* index of current DCT block within MCU */ in compress_output()
330 MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
342 MCU_buffer[blkn] = coef->dummy_buffer[blkn]; in compress_output()
343 MCU_buffer[blkn][0][0] = MCU_buffer[blkn - 1][0][0]; in compress_output()
344 blkn++; in compress_output()
Djdphuff.c305 int blkn, ci; in decode_mcu_DC_first() local
330 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_first()
331 block = MCU_data[blkn]; in decode_mcu_DC_first()
332 ci = cinfo->MCU_membership[blkn]; in decode_mcu_DC_first()
464 int blkn; in decode_mcu_DC_refine() local
484 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_refine()
485 block = MCU_data[blkn]; in decode_mcu_DC_refine()
Djcphuff.c479 int blkn, ci; in encode_mcu_DC_first() local
494 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_first()
495 block = MCU_data[blkn]; in encode_mcu_DC_first()
496 ci = cinfo->MCU_membership[blkn]; in encode_mcu_DC_first()
749 int blkn; in encode_mcu_DC_refine() local
762 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_refine()
763 block = MCU_data[blkn]; in encode_mcu_DC_refine()
Djdcoefct.c91 int blkn, ci, xindex, yindex, yoffset, useful_width; in decompress_onepass() local
122 blkn = 0; /* index of current DCT block within MCU */ in decompress_onepass()
127 blkn += compptr->MCU_blocks; in decompress_onepass()
143 (JCOEFPTR)coef->MCU_buffer[blkn + xindex], in decompress_onepass()
148 blkn += compptr->MCU_width; in decompress_onepass()
194 int blkn, ci, xindex, yindex, yoffset; in consume_data() local
219 blkn = 0; /* index of current DCT block within MCU */ in consume_data()
226 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()