/third_party/skia/third_party/externals/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 | 95 unsigned int table[DCTSIZE2]; in read_quant_tables() 110 for (i = 1; i < DCTSIZE2; i++) { in read_quant_tables() 239 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 | 581 for (k = 1; k <= DCTSIZE2 - 1; k++) { in decode_mcu() 586 if (k > DCTSIZE2 - 1) { in decode_mcu() 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()
|
D | jcmaster.c | 190 int last_bitpos[MAX_COMPONENTS][DCTSIZE2]; 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()
|
D | jdhuff.c | 88 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2 - 1 || in start_pass_huff_decoder() 601 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_slow() 628 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_slow() 692 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_fast() 711 for (k = 1; k < DCTSIZE2; k++) { in decode_mcu_fast() 756 #define BUFSIZE (DCTSIZE2 * 8)
|
D | jdphuff.c | 98 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2) in start_pass_phuff_decoder() 513 int newnz_pos[DCTSIZE2]; in decode_mcu_AC_refine() 669 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_phuff_decoder() 671 cinfo->num_components * 2 * DCTSIZE2 * in jinit_phuff_decoder() 675 for (i = 0; i < DCTSIZE2; i++) in jinit_phuff_decoder()
|
D | jcphuff.c | 586 values[k + DCTSIZE2] = temp2; \ 633 temp2 = cvalue[DCTSIZE2]; \ 667 JCOEF values_unaligned[2 * DCTSIZE2 + 15]; in encode_mcu_AC_first() 712 int diff = ((values + DCTSIZE2 / 2) - cvalue); in encode_mcu_AC_first() 932 JCOEF absvalues_unaligned[DCTSIZE2 + 15]; in encode_mcu_AC_refine() 977 int diff = ((absvalues + DCTSIZE2 / 2) - cabsvalue); in encode_mcu_AC_refine() 999 entropy->BE > (MAX_CORR_BITS - DCTSIZE2 + 1)) in encode_mcu_AC_refine()
|
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() 73 static const unsigned int std_luminance_quant_tbl[DCTSIZE2] = { 83 static const unsigned int std_chrominance_quant_tbl[DCTSIZE2] = {
|
D | jpeglib.h | 53 #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 */ 578 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
|
D | transupp.c | 112 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; k += 2) { in do_flip_h() [all …]
|
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()
|
D | jcapimin.c | 86 cinfo->lim_Se = DCTSIZE2 - 1; in jpeg_CreateCompress()
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/ |
D | jcphuff-sse2.asm | 317 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 318 movdqa XMMWORD [VALUES + (8 + DCTSIZE2) * 2], N1 344 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 345 movdqa XMMWORD [VALUES + (8 + DCTSIZE2) * 2], N1 356 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 367 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 374 sub K, DCTSIZE2/8 383 sub VALUES, DCTSIZE2*2 592 sub K, DCTSIZE2/8 603 sub VALUES, DCTSIZE2*2
|
D | jchuff-sse2.asm | 290 add rsp, -DCTSIZE2 * SIZEOF_WORD 316 lea t, [rsp - DCTSIZE2 * SIZEOF_WORD] ; use red zone for t_ 538 cmp td, (DCTSIZE2 - 2) * SIZEOF_WORD ; if (t != 62) 559 sub rsp, -DCTSIZE2 * SIZEOF_WORD
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
D | jcphuff-sse2.asm | 324 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 325 movdqa XMMWORD [VALUES + (8 + DCTSIZE2) * 2], N1 354 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 355 movdqa XMMWORD [VALUES + (8 + DCTSIZE2) * 2], N1 366 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 377 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0 384 sub K, DCTSIZE2/8 393 sub VALUES, DCTSIZE2*2 615 sub K, DCTSIZE2/8 624 sub VALUES, DCTSIZE2*2
|
D | jchuff-sse2.asm | 336 %assign save_frame DCTSIZE2 * SIZEOF_WORD 372 and t, -DCTSIZE2 * SIZEOF_WORD ; t = &t_[0] 621 lea nbits, [t + (1 + DCTSIZE2) * SIZEOF_WORD] 623 …and nbits, -DCTSIZE2 * SIZEOF_WORD ; nbits &= -128; /* now points to &t_[64] */ 687 and nbits, DCTSIZE2 * SIZEOF_WORD - 1 ; nbits &= 127; 688 and t, -DCTSIZE2 * SIZEOF_WORD ; t &= -128; /* t = &t_[0]; */ 689 cmp nbits, (DCTSIZE2 - 2) * SIZEOF_WORD ; if (nbits != 62 * 2)
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/ |
D | jquanti-neon.c | 99 UDCTELEM *corr_ptr = (UDCTELEM *)divisors + DCTSIZE2; in jsimd_quantize_neon() 100 DCTELEM *shift_ptr = divisors + 3 * DCTSIZE2; in jsimd_quantize_neon()
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/ |
D | jchuff-neon.c | 67 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/libjpeg-turbo/ |
D | libjpeg-turbo-2.1.x-bugfix.patch | 147 - values[k + DCTSIZE2] = temp2; \ 149 + values[k + DCTSIZE2] = (UJCOEF)temp2; \ 166 - JCOEF values_unaligned[2 * DCTSIZE2 + 15]; 169 + UJCOEF values_unaligned[2 * DCTSIZE2 + 15]; 206 - JCOEF absvalues_unaligned[DCTSIZE2 + 15]; 209 + UJCOEF absvalues_unaligned[DCTSIZE2 + 15]; 361 - JCOEF *diff_values_ptr = values + DCTSIZE2; 363 + JCOEF *diff_values_ptr = values + DCTSIZE2; 970 -- values[k + DCTSIZE2] = temp2; \ 972 -+ values[k + DCTSIZE2] = (UJCOEF)temp2; \ [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/nasm/ |
D | jsimdcfg.inc.h | 25 %define _cpp_protection_DCTSIZE2 DCTSIZE2
|
D | jsimdcfg.inc | 8 %define DCTSIZE2 64
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/ |
D | jchuff-neon.c | 46 uint8_t block_nbits[DCTSIZE2]; in jsimd_huff_encode_one_block_neon() 47 uint16_t block_diff[DCTSIZE2]; in jsimd_huff_encode_one_block_neon()
|