Home
last modified time | relevance | path

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

12

/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.c578 for (k = 1; k <= DCTSIZE2 - 1; k++) { in decode_mcu()
583 if (k > DCTSIZE2 - 1) { in decode_mcu()
642 if (cinfo->Se < cinfo->Ss || cinfo->Se > DCTSIZE2 - 1) in start_pass()
691 (cinfo->Se < DCTSIZE2 && cinfo->Se != DCTSIZE2 - 1)) in start_pass()
761 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_arith_decoder()
763 cinfo->num_components*DCTSIZE2*sizeof(int)); in jinit_arith_decoder()
766 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()
Djcapimin.c86 cinfo->lim_Se = DCTSIZE2-1; in jpeg_CreateCompress()
Djcphuff.c630 int absvalues[DCTSIZE2]; in encode_mcu_AC_refine()
721 if (entropy->EOBRUN == 0x7FFF || entropy->BE > (MAX_CORR_BITS-DCTSIZE2+1)) in encode_mcu_AC_refine()
Djidctflt.c85 FAST_FLOAT workspace[DCTSIZE2]; /* buffers data between passes */
/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;
Djsimdcfg.inc.h23 %define _cpp_protection_DCTSIZE2 DCTSIZE2
Djsimdcfg.inc8 %define DCTSIZE2 64
Djquantf-sse2-64.asm123 mov rax, DCTSIZE2/16
/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()
/external/skqp/third_party/libjpeg-turbo/
Djsimdcfg.inc8 %define DCTSIZE2 64
/external/libjpeg-turbo/win/
Djsimdcfg.inc8 %define DCTSIZE2 64
/external/skia/third_party/libjpeg-turbo/
Djsimdcfg.inc8 %define DCTSIZE2 64

12