/third_party/libjpeg-turbo/ |
D | jdhuff.c | 97 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 …]
|
D | jccoefct.c | 147 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 …]
|
D | jdarith.c | 255 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 …]
|
D | jchuff.c | 651 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 …]
|
D | jcarith.c | 373 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 …]
|
D | jctrans.c | 296 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()
|
D | jdphuff.c | 305 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()
|
D | jcphuff.c | 479 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()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdhuff.c | 80 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 …]
|
D | jccoefct.c | 147 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 …]
|
D | jdarith.c | 255 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 …]
|
D | jchuff.c | 689 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 …]
|
D | jcarith.c | 373 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 …]
|
D | jctrans.c | 297 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()
|
D | jdphuff.c | 293 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()
|
D | jcphuff.c | 486 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()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jdhuff.c | 97 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 …]
|
D | jccoefct.c | 147 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 …]
|
D | jdarith.c | 255 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 …]
|
D | jchuff.c | 647 int blkn, ci; in encode_mcu_huff() local 665 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff() 666 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff() 669 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff() 674 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff() 677 for (blkn = 0; blkn < cinfo->blocks_in_MCU; blkn++) { in encode_mcu_huff() 678 ci = cinfo->MCU_membership[blkn]; in encode_mcu_huff() 681 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff() 686 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff() 829 int blkn, ci; in encode_mcu_gather() local [all …]
|
D | jcarith.c | 373 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 …]
|
D | jctrans.c | 296 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()
|
D | jdphuff.c | 305 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()
|
D | jcphuff.c | 479 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()
|
/third_party/iowow/src/kv/dbg/ |
D | iwkvdbg.c | 12 blkn_t blkn = ADDR2BLK(kb->addr); in iwkvd_kvblk() local 14 blkn, (int64_t) kb->maxoff, kb->zidx, kb->idxsz, kb->szpow, kb->flags, kb->db->id); in iwkvd_kvblk() 45 blkn_t blkn = ADDR2BLK(sb->addr); in iwkvd_sblk() local 69 blkn, in iwkvd_sblk() 75 …fprintf(f, "\n === SBLK[%u] szpow=%d, lkl=%d, lk=%s\n", blkn, sb->kvblk->szpow, lkl, lkbuf); // -V… in iwkvd_sblk() 83 fprintf(f, " === SBLK[%u]", blkn); in iwkvd_sblk()
|