Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djdhuff.c80 int ci, blkn, dctbl, actbl; in start_pass_huff_decoder() local
107 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in start_pass_huff_decoder()
108 ci = cinfo->MCU_membership[blkn]; in start_pass_huff_decoder()
111 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no]; in start_pass_huff_decoder()
112 entropy->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no]; in start_pass_huff_decoder()
115 entropy->dc_needed[blkn] = TRUE; in start_pass_huff_decoder()
117 entropy->ac_needed[blkn] = (compptr->_DCT_scaled_size > 1); in start_pass_huff_decoder()
119 entropy->dc_needed[blkn] = entropy->ac_needed[blkn] = FALSE; in start_pass_huff_decoder()
554 int blkn; in decode_mcu_slow() local
562 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.c689 int blkn, ci; in encode_mcu_huff() local
708 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff()
709 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff()
712 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
717 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff()
720 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff()
721 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff()
724 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
729 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff()
873 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.c297 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
319 blkn = 0; /* index of current DCT block within MCU */ in compress_output()
331 MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
343 MCU_buffer[blkn] = coef->dummy_buffer[blkn]; in compress_output()
344 MCU_buffer[blkn][0][0] = MCU_buffer[blkn - 1][0][0]; in compress_output()
345 blkn++; in compress_output()
Djdphuff.c293 int blkn, ci; in decode_mcu_DC_first() local
318 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_first()
319 block = MCU_data[blkn]; in decode_mcu_DC_first()
320 ci = cinfo->MCU_membership[blkn]; in decode_mcu_DC_first()
454 int blkn; in decode_mcu_DC_refine() local
474 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in decode_mcu_DC_refine()
475 block = MCU_data[blkn]; in decode_mcu_DC_refine()
Djcphuff.c486 int blkn, ci; in encode_mcu_DC_first() local
501 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_first()
502 block = MCU_data[blkn]; in encode_mcu_DC_first()
503 ci = cinfo->MCU_membership[blkn]; in encode_mcu_DC_first()
756 int blkn; in encode_mcu_DC_refine() local
769 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_DC_refine()
770 block = MCU_data[blkn]; in encode_mcu_DC_refine()
Djdcoefct.c91 int blkn, ci, xindex, yindex, yoffset, useful_width; in decompress_onepass() local
124 blkn = 0; /* index of current DCT block within MCU */ in decompress_onepass()
129 blkn += compptr->MCU_blocks; in decompress_onepass()
145 (JCOEFPTR)coef->MCU_buffer[blkn + xindex], in decompress_onepass()
150 blkn += compptr->MCU_width; in decompress_onepass()
196 int blkn, ci, xindex, yindex, yoffset; in consume_data() local
221 blkn = 0; /* index of current DCT block within MCU */ in consume_data()
228 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()