Searched refs:DCTSIZE (Results 1 - 25 of 47) sorted by relevance

12

/external/libjpeg-turbo/
H A Djidctred.c35 * This module is specialized to the case DCTSIZE = 8.
38 #if DCTSIZE != 8
133 int workspace[DCTSIZE*4]; /* buffers data between passes */
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE-4)
145 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
146 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
147 inptr[DCTSIZE*
[all...]
H A Djidctflt.c52 * This module is specialized to the case DCTSIZE = 8.
55 #if DCTSIZE != 8
93 for (ctr = DCTSIZE; ctr > 0; ctr--) {
103 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
104 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
105 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
106 inptr[DCTSIZE*
[all...]
H A Djfdctflt.c47 * This module is specialized to the case DCTSIZE = 8.
50 #if DCTSIZE != 8
71 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
115 dataptr += DCTSIZE; /* advance pointer to next row */
121 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
122 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
123 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
124 tmp1 = dataptr[DCTSIZE*
[all...]
H A Djfdctfst.c45 * This module is specialized to the case DCTSIZE = 8.
48 #if DCTSIZE != 8
129 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
173 dataptr += DCTSIZE; /* advance pointer to next row */
179 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
180 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
181 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
182 tmp1 = dataptr[DCTSIZE*
[all...]
H A Djidctfst.c47 * This module is specialized to the case DCTSIZE = 8.
50 #if DCTSIZE != 8
193 for (ctr = DCTSIZE; ctr > 0; ctr--) {
203 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
204 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
205 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
206 inptr[DCTSIZE*
[all...]
H A Djfdctint.c38 * This module is specialized to the case DCTSIZE = 8.
41 #if DCTSIZE != 8
157 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
213 dataptr += DCTSIZE; /* advance pointer to next row */
222 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
223 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
224 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
225 tmp1 = dataptr[DCTSIZE*
[all...]
H A Djdmaster.c113 if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) {
116 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE);
118 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE);
121 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) {
124 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE);
126 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE);
129 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) {
132 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE);
134 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE);
137 } else if (cinfo->scale_num * DCTSIZE <
[all...]
H A Djidctint.c62 * This module is specialized to the case DCTSIZE = 8.
65 #if DCTSIZE != 8
196 for (ctr = DCTSIZE; ctr > 0; ctr--) {
206 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
207 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
208 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
209 inptr[DCTSIZE*
[all...]
H A Djcmainct.c86 if (main_ptr->rowgroup_ctr < DCTSIZE)
90 (JDIMENSION) DCTSIZE);
96 if (main_ptr->rowgroup_ctr != DCTSIZE)
158 compptr->width_in_blocks * DCTSIZE,
159 (JDIMENSION) (compptr->v_samp_factor * DCTSIZE));
H A Dtransupp.c34 #define dstinfo_min_DCT_h_scaled_size DCTSIZE
35 #define dstinfo_min_DCT_v_scaled_size DCTSIZE
317 for (i = 0; i < DCTSIZE; i += 2) {
319 for (j = 0; j < DCTSIZE; j++)
322 for (j = 0; j < DCTSIZE; j++)
375 for (i = 0; i < DCTSIZE; i++)
376 for (j = 0; j < DCTSIZE; j++)
377 dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
444 for (i = 0; i < DCTSIZE;
[all...]
H A Djdinput.c79 cinfo->block_size = DCTSIZE;
84 /* We initialize DCT_scaled_size and min_DCT_scaled_size to DCTSIZE.
89 cinfo->min_DCT_h_scaled_size = cinfo->min_DCT_v_scaled_size = DCTSIZE;
91 cinfo->min_DCT_scaled_size = DCTSIZE;
98 compptr->DCT_h_scaled_size = compptr->DCT_v_scaled_size = DCTSIZE;
100 compptr->DCT_scaled_size = DCTSIZE;
105 (long) (cinfo->max_h_samp_factor * DCTSIZE));
108 (long) (cinfo->max_v_samp_factor * DCTSIZE));
134 (long) (cinfo->max_v_samp_factor*DCTSIZE));
188 (long) (cinfo->max_h_samp_factor*DCTSIZE));
[all...]
H A Djddctmgr.c151 case DCTSIZE:
300 static const double aanscalefactor[DCTSIZE] = {
306 for (row = 0; row < DCTSIZE; row++) {
307 for (col = 0; col < DCTSIZE; col++) {
H A Djcdctmgr.c337 static const double aanscalefactor[DCTSIZE] = {
349 for (row = 0; row < DCTSIZE; row++) {
350 for (col = 0; col < DCTSIZE; col++) {
380 for (elemr = 0; elemr < DCTSIZE; elemr++) {
383 #if DCTSIZE == 8 /* unroll the inner loop */
395 for (elemc = DCTSIZE; elemc > 0; elemc--)
510 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
534 for (elemr = 0; elemr < DCTSIZE; elemr++) {
536 #if DCTSIZE == 8 /* unroll the inner loop */
548 for (elemc = DCTSIZE; elem
[all...]
H A Djcmaster.c75 cinfo->min_DCT_h_scaled_size = DCTSIZE;
76 cinfo->min_DCT_v_scaled_size = DCTSIZE;
143 compptr->DCT_h_scaled_size = compptr->DCT_v_scaled_size = DCTSIZE;
145 compptr->DCT_scaled_size = DCTSIZE;
150 (long) (cinfo->max_h_samp_factor * DCTSIZE));
153 (long) (cinfo->max_v_samp_factor * DCTSIZE));
170 (long) (cinfo->max_v_samp_factor*DCTSIZE));
375 compptr->MCU_sample_width = DCTSIZE;
398 (long) (cinfo->max_h_samp_factor*DCTSIZE));
401 (long) (cinfo->max_v_samp_factor*DCTSIZE));
[all...]
H A Djcsample.c152 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
202 cinfo->image_width, compptr->width_in_blocks * DCTSIZE);
224 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
261 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
304 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
404 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
/external/syslinux/com32/lib/jpeg/
H A Djidctflt.c78 #define DCTSIZE 8 macro
79 #define DCTSIZE2 (DCTSIZE*DCTSIZE)
140 for (ctr = DCTSIZE; ctr > 0; ctr--) {
150 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
151 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
152 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*
[all...]
/external/libjpeg-turbo/simd/
H A Djsimd_x86_64.c531 if (DCTSIZE != 8)
552 if (DCTSIZE != 8)
587 if (DCTSIZE != 8)
604 if (DCTSIZE != 8)
621 if (DCTSIZE != 8)
656 if (DCTSIZE != 8)
675 if (DCTSIZE != 8)
708 if (DCTSIZE != 8)
731 if (DCTSIZE != 8)
770 if (DCTSIZE !
[all...]
H A Djsimd_arm64.c346 if (DCTSIZE != 8)
365 if (DCTSIZE != 8)
496 if (DCTSIZE != 8)
538 if (DCTSIZE != 8)
555 if (DCTSIZE != 8)
597 if (DCTSIZE != 8)
637 if (DCTSIZE != 8)
660 if (DCTSIZE != 8)
701 if (DCTSIZE != 8)
724 if (DCTSIZE !
[all...]
H A Djsimd_arm.c435 if (DCTSIZE != 8)
485 if (DCTSIZE != 8)
526 if (DCTSIZE != 8)
566 if (DCTSIZE != 8)
589 if (DCTSIZE != 8)
630 if (DCTSIZE != 8)
653 if (DCTSIZE != 8)
710 if (DCTSIZE != 8)
H A Djsimd_mips.c364 if(DCTSIZE != 8)
693 if (DCTSIZE != 8)
714 if (DCTSIZE != 8)
753 if (DCTSIZE != 8)
770 if (DCTSIZE != 8)
814 if (DCTSIZE != 8)
833 if (DCTSIZE != 8)
872 if (DCTSIZE != 8)
895 if (DCTSIZE != 8)
918 if (DCTSIZE !
[all...]
H A Djsimd_i386.c657 if (DCTSIZE != 8)
680 if (DCTSIZE != 8)
727 if (DCTSIZE != 8)
746 if (DCTSIZE != 8)
765 if (DCTSIZE != 8)
811 if (DCTSIZE != 8)
832 if (DCTSIZE != 8)
877 if (DCTSIZE != 8)
902 if (DCTSIZE != 8)
951 if (DCTSIZE !
[all...]
H A Djsimd_powerpc.c620 if (DCTSIZE != 8)
660 if (DCTSIZE != 8)
677 if (DCTSIZE != 8)
717 if (DCTSIZE != 8)
781 if (DCTSIZE != 8)
798 if (DCTSIZE != 8)
H A Djcsample-altivec.c36 JDIMENSION output_cols = width_blocks * DCTSIZE;
92 JDIMENSION output_cols = width_blocks * DCTSIZE;
/external/skia/src/codec/
H A DSkJpegCodec.cpp782 static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8.");
841 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE;
898 JSAMPROW rowptrs[2 * DCTSIZE + DCTSIZE + DCTSIZE];
899 yuv[0] = &rowptrs[0]; // Y rows (DCTSIZE or 2 * DCTSIZE)
900 yuv[1] = &rowptrs[2 * DCTSIZE]; // U rows (DCTSIZE)
[all...]
/external/skqp/src/codec/
H A DSkJpegCodec.cpp781 static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8.");
840 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE;
897 JSAMPROW rowptrs[2 * DCTSIZE + DCTSIZE + DCTSIZE];
898 yuv[0] = &rowptrs[0]; // Y rows (DCTSIZE or 2 * DCTSIZE)
899 yuv[1] = &rowptrs[2 * DCTSIZE]; // U rows (DCTSIZE)
[all...]

Completed in 695 milliseconds

12