Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/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.c95 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] = {
Djdarith.c581 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()
Djcmaster.c190 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()
/third_party/flutter/skia/third_party/externals/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.c95 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] = {
Djdarith.c581 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()
694 (cinfo->Se < DCTSIZE2 && cinfo->Se != DCTSIZE2 - 1)) in start_pass()
764 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_arith_decoder()
766 cinfo->num_components * DCTSIZE2 * in jinit_arith_decoder()
770 for (i = 0; i < DCTSIZE2; i++) in jinit_arith_decoder()
Djcmaster.c190 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()
/third_party/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.c95 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] = {
Djdarith.c581 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()
694 (cinfo->Se < DCTSIZE2 && cinfo->Se != DCTSIZE2 - 1)) in start_pass()
764 cinfo->coef_bits = (int (*)[DCTSIZE2]) in jinit_arith_decoder()
766 cinfo->num_components * DCTSIZE2 * in jinit_arith_decoder()
770 for (i = 0; i < DCTSIZE2; i++) in jinit_arith_decoder()
Djcmaster.c190 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()
/third_party/libjpeg-turbo/simd/powerpc/
Djquanti-altivec.c171 corr0 = vec_ld(DCTSIZE2 * 2, divisors); in jsimd_quantize_altivec()
172 corr1 = vec_ld(DCTSIZE2 * 2 + 16, divisors); in jsimd_quantize_altivec()
173 corr2 = vec_ld(DCTSIZE2 * 2 + 32, divisors); in jsimd_quantize_altivec()
174 corr3 = vec_ld(DCTSIZE2 * 2 + 48, divisors); in jsimd_quantize_altivec()
175 corr4 = vec_ld(DCTSIZE2 * 2 + 64, divisors); in jsimd_quantize_altivec()
176 corr5 = vec_ld(DCTSIZE2 * 2 + 80, divisors); in jsimd_quantize_altivec()
177 corr6 = vec_ld(DCTSIZE2 * 2 + 96, divisors); in jsimd_quantize_altivec()
178 corr7 = vec_ld(DCTSIZE2 * 2 + 112, divisors); in jsimd_quantize_altivec()
207 scale0 = vec_ld(DCTSIZE2 * 4, divisors); in jsimd_quantize_altivec()
208 scale1 = vec_ld(DCTSIZE2 * 4 + 16, divisors); in jsimd_quantize_altivec()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djquanti-altivec.c171 corr0 = vec_ld(DCTSIZE2 * 2, divisors); in jsimd_quantize_altivec()
172 corr1 = vec_ld(DCTSIZE2 * 2 + 16, divisors); in jsimd_quantize_altivec()
173 corr2 = vec_ld(DCTSIZE2 * 2 + 32, divisors); in jsimd_quantize_altivec()
174 corr3 = vec_ld(DCTSIZE2 * 2 + 48, divisors); in jsimd_quantize_altivec()
175 corr4 = vec_ld(DCTSIZE2 * 2 + 64, divisors); in jsimd_quantize_altivec()
176 corr5 = vec_ld(DCTSIZE2 * 2 + 80, divisors); in jsimd_quantize_altivec()
177 corr6 = vec_ld(DCTSIZE2 * 2 + 96, divisors); in jsimd_quantize_altivec()
178 corr7 = vec_ld(DCTSIZE2 * 2 + 112, divisors); in jsimd_quantize_altivec()
207 scale0 = vec_ld(DCTSIZE2 * 4, divisors); in jsimd_quantize_altivec()
208 scale1 = vec_ld(DCTSIZE2 * 4 + 16, divisors); in jsimd_quantize_altivec()
[all …]
/third_party/libjpeg-turbo/simd/loongson/
Djquanti-mmi.c52 corr0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 1]); /* correction */ \
53 corr1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 1 + 4]); \
61 recip0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 0]); /* reciprocal */ \
62 recip1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 0 + 4]); \
73 scale0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 2]); /* scale */ \
74 scale1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 2 + 4]); \
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/loongson/
Djquanti-mmi.c52 corr0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 1]); /* correction */ \
53 corr1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 1 + 4]); \
61 recip0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 0]); /* reciprocal */ \
62 recip1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 0 + 4]); \
73 scale0 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 2]); /* scale */ \
74 scale1 = _mm_load_si64((__m64 *)&divisors[DCTSIZE2 * 2 + 4]); \
/third_party/libjpeg-turbo/simd/x86_64/
Djcphuff-sse2.asm317 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
590 sub K, DCTSIZE2/8
601 sub VALUES, DCTSIZE2*2
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
Djcphuff-sse2.asm317 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
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
Djcphuff-sse2.asm319 movdqa XMMWORD [VALUES + (0 + DCTSIZE2) * 2], N0
320 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
590 sub K, DCTSIZE2/8
601 sub VALUES, DCTSIZE2*2

12345