/external/libjpeg-turbo/ |
D | jcdctmgr.c | 185 dtbl[DCTSIZE2 * 0] = (DCTELEM) 1; /* reciprocal */ in compute_reciprocal() 186 dtbl[DCTSIZE2 * 1] = (DCTELEM) 0; /* correction */ in compute_reciprocal() 187 dtbl[DCTSIZE2 * 2] = (DCTELEM) 1; /* scale */ in compute_reciprocal() 188 dtbl[DCTSIZE2 * 3] = -(DCTELEM) (sizeof(DCTELEM) * 8); /* shift */ in compute_reciprocal() 210 dtbl[DCTSIZE2 * 0] = (DCTELEM) fq; /* reciprocal */ in compute_reciprocal() 211 dtbl[DCTSIZE2 * 1] = (DCTELEM) c; /* correction + roundfactor */ in compute_reciprocal() 213 dtbl[DCTSIZE2 * 2] = (DCTELEM) (1 << (sizeof(DCTELEM)*8*2 - r)); /* scale */ in compute_reciprocal() 215 dtbl[DCTSIZE2 * 2] = 1; in compute_reciprocal() 217 dtbl[DCTSIZE2 * 3] = (DCTELEM) r - sizeof(DCTELEM)*8; /* shift */ in compute_reciprocal() 263 (DCTSIZE2 * 4) * sizeof(DCTELEM)); in start_pass_fdctmgr() [all …]
|
D | jddctmgr.c | 68 ISLOW_MULT_TYPE islow_array[DCTSIZE2]; 70 IFAST_MULT_TYPE ifast_array[DCTSIZE2]; 73 FLOAT_MULT_TYPE float_array[DCTSIZE2]; 250 for (i = 0; i < DCTSIZE2; i++) { in start_pass() 268 static const INT16 aanscales[DCTSIZE2] = { in start_pass() 281 for (i = 0; i < DCTSIZE2; i++) { in start_pass()
|
D | jutils.c | 29 const int jpeg_zigzag_order[DCTSIZE2] = { 56 const int jpeg_natural_order[DCTSIZE2+16] = { 123 MEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * sizeof(JCOEF))); in jcopy_block_row()
|
D | rdswitch.c | 96 unsigned int table[DCTSIZE2]; in read_quant_tables() 111 for (i = 1; i < DCTSIZE2; i++) { in read_quant_tables() 240 scanptr->Se = DCTSIZE2-1; in read_scan_script() 284 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = { 294 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = {
|
D | jdarith.c | 575 for (k = 1; k <= DCTSIZE2 - 1; k++) { in decode_mcu() 580 if (k > DCTSIZE2 - 1) { in decode_mcu() 639 if (cinfo->Se < cinfo->Ss || cinfo->Se > DCTSIZE2 - 1) in start_pass() 688 (cinfo->Se < DCTSIZE2 && cinfo->Se != DCTSIZE2 - 1)) in start_pass() 758 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_arith_decoder() 760 cinfo->num_components*DCTSIZE2*sizeof(int)); in jinit_arith_decoder() 763 for (i = 0; i < DCTSIZE2; i++) in jinit_arith_decoder()
|
D | jcmaster.c | 188 int last_bitpos[MAX_COMPONENTS][DCTSIZE2]; in validate_script() 199 if (scanptr->Ss != 0 || scanptr->Se != DCTSIZE2-1) { in validate_script() 204 for (coefi = 0; coefi < DCTSIZE2; coefi++) in validate_script() 247 if (Ss < 0 || Ss >= DCTSIZE2 || Se < Ss || Se >= DCTSIZE2 || in validate_script() 277 if (Ss != 0 || Se != DCTSIZE2-1 || Ah != 0 || Al != 0) in validate_script() 347 cinfo->Se = DCTSIZE2-1; in select_scan_parameters()
|
D | jdhuff.c | 102 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2-1 || in start_pass_huff_decoder() 598 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_slow() 625 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_slow() 689 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_fast() 708 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_fast() 753 #define BUFSIZE (DCTSIZE2 * 8)
|
D | jdphuff.c | 113 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2) in start_pass_phuff_decoder() 510 int newnz_pos[DCTSIZE2]; in decode_mcu_AC_refine() 665 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_phuff_decoder() 667 cinfo->num_components*DCTSIZE2*sizeof(int)); in jinit_phuff_decoder() 670 for (i = 0; i < DCTSIZE2; i++) in jinit_phuff_decoder()
|
D | jcmarker.c | 161 for (i = 0; i < DCTSIZE2; i++) { in emit_dqt() 169 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt() 173 for (i = 0; i < DCTSIZE2; i++) { in emit_dqt()
|
D | jcparam.c | 53 for (i = 0; i < DCTSIZE2; i++) { in jpeg_add_quant_table() 72 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = { 82 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = {
|
D | jpeglib.h | 47 #define DCTSIZE2 64 /* DCTSIZE squared; # of elements in a block */ macro 73 typedef JCOEF JBLOCK[DCTSIZE2]; /* one block of coefficients */ 91 UINT16 quantval[DCTSIZE2]; /* quantization step for each coefficient */ 572 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
|
D | jdmarker.c | 533 for (i = 0; i < DCTSIZE2; i++) { in get_dqt() 543 for (i = 0; i < DCTSIZE2; i += 8) { in get_dqt() 552 length -= DCTSIZE2+1; in get_dqt() 553 if (prec) length -= DCTSIZE2; in get_dqt()
|
/external/libjpeg-turbo/simd/ |
D | jquanti-altivec.c | 173 corr0 = vec_ld(DCTSIZE2 * 2, divisors); in jsimd_quantize_altivec() 174 corr1 = vec_ld(DCTSIZE2 * 2 + 16, divisors); in jsimd_quantize_altivec() 175 corr2 = vec_ld(DCTSIZE2 * 2 + 32, divisors); in jsimd_quantize_altivec() 176 corr3 = vec_ld(DCTSIZE2 * 2 + 48, divisors); in jsimd_quantize_altivec() 177 corr4 = vec_ld(DCTSIZE2 * 2 + 64, divisors); in jsimd_quantize_altivec() 178 corr5 = vec_ld(DCTSIZE2 * 2 + 80, divisors); in jsimd_quantize_altivec() 179 corr6 = vec_ld(DCTSIZE2 * 2 + 96, divisors); in jsimd_quantize_altivec() 180 corr7 = vec_ld(DCTSIZE2 * 2 + 112, divisors); in jsimd_quantize_altivec() 209 scale0 = vec_ld(DCTSIZE2 * 4, divisors); in jsimd_quantize_altivec() 210 scale1 = vec_ld(DCTSIZE2 * 4 + 16, divisors); in jsimd_quantize_altivec() [all …]
|
D | jchuff-sse2-64.asm | 285 ;mov MMWORD [ t1 + DCTSIZE2 * SIZEOF_WORD ], r11 318 movsx ebx, word [rsi-DCTSIZE2*2] ; temp2 = t2[k]; 332 lea rdi, [t1 + (DCTSIZE2-1) * 2] ; r = DCTSIZE2-1-k;
|
D | jchuff-sse2.asm | 317 movsx edx, word [esi+DCTSIZE2*2] ; temp2 = t2[k]; 347 lea eax, [esp + t1 + (DCTSIZE2/2) * 2] 385 movsx edx, word [esi+DCTSIZE2*2] ; temp2 = t2[k]; 400 lea edx, [esp + t1 + (DCTSIZE2-1) * 2] ; r = DCTSIZE2-1-k;
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jcdctmgr.c | 81 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() 84 for (i = 0; i < DCTSIZE2; i++) { in start_pass_fdctmgr() 99 static const INT16 aanscales[DCTSIZE2] = { in start_pass_fdctmgr() 115 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() 118 for (i = 0; i < DCTSIZE2; i++) { in start_pass_fdctmgr() 148 DCTSIZE2 * SIZEOF(FAST_FLOAT)); in start_pass_fdctmgr() 190 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT() 231 for (i = 0; i < DCTSIZE2; i++) { in forward_DCT() 280 FAST_FLOAT workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT_float() 322 for (i = 0; i < DCTSIZE2; i++) { in forward_DCT_float()
|
D | fpdfapi_jddctmgr.c | 60 ISLOW_MULT_TYPE islow_array[DCTSIZE2]; 62 IFAST_MULT_TYPE ifast_array[DCTSIZE2]; 65 FLOAT_MULT_TYPE float_array[DCTSIZE2]; 167 for (i = 0; i < DCTSIZE2; i++) { in start_pass() 185 static const INT16 aanscales[DCTSIZE2] = { in start_pass() 198 for (i = 0; i < DCTSIZE2; i++) { in start_pass()
|
D | fpdfapi_jutils.c | 26 const int jpeg_zigzag_order[DCTSIZE2] = { 53 const int jpeg_natural_order[DCTSIZE2+16] = { 150 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row() 157 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) { in jcopy_block_row()
|
D | fpdfapi_jcmaster.c | 141 int last_bitpos[MAX_COMPONENTS][DCTSIZE2]; in validate_script() 152 if (scanptr->Ss != 0 || scanptr->Se != DCTSIZE2-1) { in validate_script() 157 for (coefi = 0; coefi < DCTSIZE2; coefi++) in validate_script() 200 if (Ss < 0 || Ss >= DCTSIZE2 || Se < Ss || Se >= DCTSIZE2 || in validate_script() 230 if (Ss != 0 || Se != DCTSIZE2-1 || Ah != 0 || Al != 0) in validate_script() 300 cinfo->Se = DCTSIZE2-1; in select_scan_parameters()
|
D | fpdfapi_jdphuff.c | 109 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2) in start_pass_phuff_decoder() 504 int newnz_pos[DCTSIZE2]; in decode_mcu_AC_refine() 659 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_phuff_decoder() 661 cinfo->num_components*DCTSIZE2*SIZEOF(int)); in jinit_phuff_decoder() 664 for (i = 0; i < DCTSIZE2; i++) in jinit_phuff_decoder()
|
D | fpdfapi_jcmarker.c | 156 for (i = 0; i < DCTSIZE2; i++) { in emit_dqt() 164 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt() 168 for (i = 0; i < DCTSIZE2; i++) { in emit_dqt()
|
D | fpdfapi_jcparam.c | 48 for (i = 0; i < DCTSIZE2; i++) { in jpeg_add_quant_table() 76 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = { in jpeg_set_linear_quality() 86 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = { in jpeg_set_linear_quality()
|
D | fpdfapi_jdhuff.c | 95 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2-1 || in start_pass_huff_decoder() 570 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu() 597 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu()
|
D | jpeglib.h | 144 #define DCTSIZE2 64 /* DCTSIZE squared; # of elements in a block */ macro 172 typedef JCOEF JBLOCK[DCTSIZE2]; /* one block of coefficients */ 190 UINT16 quantval[DCTSIZE2]; /* quantization step for each coefficient */ 613 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
|
/external/syslinux/com32/lib/jpeg/ |
D | jidctflt.c | 79 #define DCTSIZE2 (DCTSIZE*DCTSIZE) macro 133 FAST_FLOAT workspace[DCTSIZE2]; /* buffers data between passes */ in tinyjpeg_idct_float()
|