Home
last modified time | relevance | path

Searched refs:DCTSIZE2 (Results 1 - 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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 * in start_pass_fdctmgr()
[all...]
H A Djutils.c29 const int jpeg_zigzag_order[DCTSIZE2] = {
58 const int jpeg_natural_order[DCTSIZE2 + 64] = {
77 const int jpeg_natural_order[DCTSIZE2 + 16] = {
145 MEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * sizeof(JCOEF))); in jcopy_block_row()
H A 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()
H A Djcmaster.c190 int last_bitpos[MAX_COMPONENTS][DCTSIZE2]; in validate_script()
197 /* For sequential JPEG, all scans must have Ss=0, Se=DCTSIZE2-1; in validate_script()
201 if (scanptr->Ss != 0 || scanptr->Se != DCTSIZE2 - 1) { in validate_script()
206 for (coefi = 0; coefi < DCTSIZE2; coefi++) in validate_script()
249 if (Ss < 0 || Ss >= DCTSIZE2 || Se < Ss || Se >= DCTSIZE2 || in validate_script()
279 if (Ss != 0 || Se != DCTSIZE2 - 1 || Ah != 0 || Al != 0) in validate_script()
348 cinfo->Se = DCTSIZE2 - 1; in select_scan_parameters()
H A Drdswitch.c95 unsigned int table[DCTSIZE2]; in GLOBAL()
110 for (i = 1; i < DCTSIZE2; i++) { in GLOBAL()
239 scanptr->Se = DCTSIZE2 - 1; in GLOBAL()
284 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = {
294 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = {
H A Djdarith.c581 for (k = 1; k <= DCTSIZE2 - 1; k++) { in METHODDEF()
586 if (k > DCTSIZE2 - 1) { in METHODDEF()
645 if (cinfo->Se < cinfo->Ss || cinfo->Se > DCTSIZE2 - 1) in start_pass()
702 (cinfo->Se < DCTSIZE2 && cinfo->Se != DCTSIZE2 - 1)) in start_pass()
773 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_arith_decoder()
775 cinfo->num_components * 2 * DCTSIZE2 * in jinit_arith_decoder()
779 for (i = 0; i < DCTSIZE2; i++) in jinit_arith_decoder()
H A Djdhuff.c88 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2 - 1 || in start_pass_huff_decoder()
601 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
614 * if k >= DCTSIZE2, which could happen if the data is corrupted. in LOCAL()
628 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
692 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
711 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
756 #define BUFSIZE (DCTSIZE2 * 8)
H A Djcphuff.c586 values[k + DCTSIZE2] = temp2; \
633 temp2 = cvalue[DCTSIZE2]; \
667 JCOEF values_unaligned[2 * DCTSIZE2 + 15]; in METHODDEF()
712 int diff = ((values + DCTSIZE2 / 2) - cvalue); in METHODDEF()
932 JCOEF absvalues_unaligned[DCTSIZE2 + 15]; in METHODDEF()
977 int diff = ((absvalues + DCTSIZE2 / 2) - cabsvalue); in METHODDEF()
999 entropy->BE > (MAX_CORR_BITS - DCTSIZE2 + 1)) in METHODDEF()
H A Djcparam.c53 for (i = 0; i < DCTSIZE2; i++) { in jpeg_add_quant_table()
73 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = {
83 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = {
H A Djdphuff.c221 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2) in start_pass_phuff_decoder()
646 int newnz_pos[DCTSIZE2]; in METHODDEF()
802 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_phuff_decoder()
804 cinfo->num_components * 2 * DCTSIZE2 * in jinit_phuff_decoder()
808 for (i = 0; i < DCTSIZE2; i++) in jinit_phuff_decoder()
H A 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()
H A Djdhuff_opt.c118 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2 - 1 || in start_pass_huff_decoder()
694 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
743 * if k >= DCTSIZE2, which could happen if the data is corrupted. in LOCAL()
756 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
851 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
898 for (k = 1; k < DCTSIZE2; k++) { in LOCAL()
970 #define BUFSIZE (DCTSIZE2 * 8)
H A Djpeglib.h53 #define DCTSIZE2 64 /* DCTSIZE squared; # of elements in a block */ macro
79 typedef JCOEF JBLOCK[DCTSIZE2]; /* one block of coefficients */
97 UINT16 quantval[DCTSIZE2]; /* quantization step for each coefficient */
456 int lim_Se; /* min( Se, DCTSIZE2-1 ) */
578 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
690 int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */
H A Dtransupp.c112 for (k = 0; k < DCTSIZE2; k++) in dequant_comp()
143 for (k = 0; k < DCTSIZE2; k++) { in requant_comp()
205 for (k = 0; k < DCTSIZE2; k++) { in adjust_quant()
211 for (k = 0; k < DCTSIZE2; k++) in adjust_quant()
534 for (k = 0; k < DCTSIZE2; k += 2) { in do_crop_ext_reflect()
553 for (k = 0; k < DCTSIZE2; k += 2) { in do_crop_ext_reflect()
689 for (k = 0; k < DCTSIZE2; k += 2) { in do_reflect()
705 for (k = 0; k < DCTSIZE2; k += 2) { in do_reflect()
758 for (k = 0; k < DCTSIZE2; k += 2) { in do_flip_h_no_crop()
831 for (k = 0; k < DCTSIZE2; in do_flip_h()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
H A Djidctflt-3dn.asm61 %define workspace wk(0) - DCTSIZE2 * SIZEOF_FAST_FLOAT
62 ; FAST_FLOAT workspace[DCTSIZE2]
284 prefetch [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 0*32]
285 prefetch [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 1*32]
286 prefetch [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 2*32]
287 prefetch [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 3*32]
H A Djidctred-sse2.asm312 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
313 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
314 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
315 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
529 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
530 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
531 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
532 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
H A Djidctflt-sse.asm71 %define workspace wk(0) - DCTSIZE2 * SIZEOF_FAST_FLOAT
72 ; FAST_FLOAT workspace[DCTSIZE2]
363 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 0*32]
364 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 1*32]
365 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 2*32]
366 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 3*32]
H A Djidctflt-sse2.asm71 %define workspace wk(0) - DCTSIZE2 * SIZEOF_FAST_FLOAT
72 ; FAST_FLOAT workspace[DCTSIZE2]
325 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 0*32]
326 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 1*32]
327 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 2*32]
328 prefetchnta [esi + (DCTSIZE2-8)*SIZEOF_JCOEF + 3*32]
H A Djidctfst-sse2.asm323 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
324 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
325 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
326 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
H A Djidctint-avx2.asm384 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
385 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
386 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
387 prefetchnta [esi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A Djidctflt-sse2.asm72 %define workspace wk(0) - DCTSIZE2 * SIZEOF_FAST_FLOAT
73 ; FAST_FLOAT workspace[DCTSIZE2]
318 prefetchnta [rsi + (DCTSIZE2-8)*SIZEOF_JCOEF + 0*32]
319 prefetchnta [rsi + (DCTSIZE2-8)*SIZEOF_JCOEF + 1*32]
320 prefetchnta [rsi + (DCTSIZE2-8)*SIZEOF_JCOEF + 2*32]
321 prefetchnta [rsi + (DCTSIZE2-8)*SIZEOF_JCOEF + 3*32]
H A Djidctred-sse2.asm305 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
306 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
307 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
308 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
514 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 0*32]
515 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 1*32]
516 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 2*32]
517 prefetchnta [rsi + DCTSIZE2*SIZEOF_JCOEF + 3*32]
H A Djidctint-avx2.asm356 prefetchnta [r11 + DCTSIZE2*SIZEOF_JCOEF + 0*32]
357 prefetchnta [r11 + DCTSIZE2*SIZEOF_JCOEF + 1*32]
358 prefetchnta [r11 + DCTSIZE2*SIZEOF_JCOEF + 2*32]
359 prefetchnta [r11 + DCTSIZE2*SIZEOF_JCOEF + 3*32]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
H A Djchuff-neon.c67 uint16_t block_diff[DCTSIZE2]; in jsimd_huff_encode_one_block_neon()
270 uint8_t block_nbits[DCTSIZE2]; in jsimd_huff_encode_one_block_neon()
351 uint16_t block_abs[DCTSIZE2]; in jsimd_huff_encode_one_block_neon()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djquanti-neon.c99 UDCTELEM *corr_ptr = (UDCTELEM *)divisors + DCTSIZE2; in jsimd_quantize_neon()
100 DCTELEM *shift_ptr = divisors + 3 * DCTSIZE2; in jsimd_quantize_neon()

Completed in 28 milliseconds

12