Home
last modified time | relevance | path

Searched refs:DCTSIZE2 (Results 1 – 25 of 52) sorted by relevance

123

/external/libjpeg-turbo/
Djcdctmgr.c185 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 …]
Djddctmgr.c68 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()
Djutils.c29 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()
Drdswitch.c96 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] = {
Djdarith.c575 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()
Djcmaster.c188 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()
Djdhuff.c102 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)
Djdphuff.c113 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()
Djcmarker.c161 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()
Djcparam.c53 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] = {
Djpeglib.h47 #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 */
Djdmarker.c533 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/
Djquanti-altivec.c173 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 …]
Djchuff-sse2-64.asm285 ;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;
Djchuff-sse2.asm317 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/
Dfpdfapi_jcdctmgr.c81 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()
Dfpdfapi_jddctmgr.c60 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()
Dfpdfapi_jutils.c26 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()
Dfpdfapi_jcmaster.c141 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()
Dfpdfapi_jdphuff.c109 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()
Dfpdfapi_jcmarker.c156 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()
Dfpdfapi_jcparam.c48 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()
Dfpdfapi_jdhuff.c95 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()
Djpeglib.h144 #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/
Djidctflt.c79 #define DCTSIZE2 (DCTSIZE*DCTSIZE) macro
133 FAST_FLOAT workspace[DCTSIZE2]; /* buffers data between passes */ in tinyjpeg_idct_float()

123