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

12

/external/jpeg/
H A Djidctred.c32 * This module is specialized to the case DCTSIZE = 8.
35 #if DCTSIZE != 8
130 int workspace[DCTSIZE*4]; /* buffers data between passes */
138 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
140 if (ctr == DCTSIZE-4)
142 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
143 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
144 inptr[DCTSIZE*
[all...]
H A Djidctflt.c48 * This module is specialized to the case DCTSIZE = 8.
51 #if DCTSIZE != 8
89 for (ctr = DCTSIZE; ctr > 0; ctr--) {
99 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
100 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
101 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
102 inptr[DCTSIZE*
[all...]
H A Djfdctflt.c46 * This module is specialized to the case DCTSIZE = 8.
49 #if DCTSIZE != 8
70 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
114 dataptr += DCTSIZE; /* advance pointer to next row */
120 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
121 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
122 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
123 tmp1 = dataptr[DCTSIZE*
[all...]
H A Djfdctfst.c42 * This module is specialized to the case DCTSIZE = 8.
45 #if DCTSIZE != 8
126 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
170 dataptr += DCTSIZE; /* advance pointer to next row */
176 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
177 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
178 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
179 tmp1 = dataptr[DCTSIZE*
[all...]
H A Djidctfst.c44 * This module is specialized to the case DCTSIZE = 8.
47 #if DCTSIZE != 8
190 for (ctr = DCTSIZE; ctr > 0; ctr--) {
200 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
201 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
202 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
203 inptr[DCTSIZE*
[all...]
H A Djidctint.c37 * This module is specialized to the case DCTSIZE = 8.
40 #if DCTSIZE != 8
171 for (ctr = DCTSIZE; ctr > 0; ctr--) {
181 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
182 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
183 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
184 inptr[DCTSIZE*
[all...]
H A Djfdctint.c35 * This module is specialized to the case DCTSIZE = 8.
38 #if DCTSIZE != 8
154 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
210 dataptr += DCTSIZE; /* advance pointer to next row */
219 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
220 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
221 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
222 tmp1 = dataptr[DCTSIZE*
[all...]
H A Dtransupp.c82 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE);
134 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE);
165 for (i = 0; i < DCTSIZE; i += 2) {
167 for (j = 0; j < DCTSIZE; j++)
170 for (j = 0; j < DCTSIZE; j++)
218 for (i = 0; i < DCTSIZE; i++)
219 for (j = 0; j < DCTSIZE; j++)
220 dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
249 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE);
[all...]
H A Djcmainct.c121 if (main->rowgroup_ctr < DCTSIZE)
125 (JDIMENSION) DCTSIZE);
131 if (main->rowgroup_ctr != DCTSIZE)
185 main->cur_iMCU_row * (compptr->v_samp_factor * DCTSIZE),
186 (JDIMENSION) (compptr->v_samp_factor * DCTSIZE), writing);
190 *in_row_ctr += cinfo->max_v_samp_factor * DCTSIZE;
191 main->rowgroup_ctr = DCTSIZE;
201 (JDIMENSION) DCTSIZE);
203 if (main->rowgroup_ctr < DCTSIZE)
272 compptr->width_in_blocks * DCTSIZE,
[all...]
H A Dmips_idct_le.S83 lw $s0, 0($a1) # quantptr[DCTSIZE*0]
85 lw $t0, 0($a0) # inptr[DCTSIZE*0]
86 lw $t1, 16($a0) # inptr[DCTSIZE*1]
90 lw $t2, 32($a0) # inptr[DCTSIZE*2]
91 lw $t3, 48($a0) # inptr[DCTSIZE*3]
92 lw $t4, 64($a0) # inptr[DCTSIZE*4]
93 lw $t5, 80($a0) # inptr[DCTSIZE*5]
97 lw $t6, 96($a0) # inptr[DCTSIZE*6]
98 lw $t7, 112($a0) # inptr[DCTSIZE*7]
111 sw $t0, 0($a2) # wsptr[DCTSIZE*
[all...]
H A Djcdctmgr.c140 static const double aanscalefactor[DCTSIZE] = {
152 for (row = 0; row < DCTSIZE; row++) {
153 for (col = 0; col < DCTSIZE; col++) {
195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
202 for (elemr = 0; elemr < DCTSIZE; elemr++) {
204 #if DCTSIZE == 8 /* unroll the inner loop */
215 for (elemc = DCTSIZE; elemc > 0; elemc--) {
285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
292 for (elemr = 0; elemr < DCTSIZE; elemr++) {
294 #if DCTSIZE
[all...]
H A Djsimd_neon.c115 if ( (DCTSIZE != 8) ||
129 if ( (DCTSIZE != 8) ||
143 if ( (DCTSIZE != 8) ||
H A Djdinput.c75 /* We initialize DCT_scaled_size and min_DCT_scaled_size to DCTSIZE.
79 cinfo->min_DCT_scaled_size = DCTSIZE;
84 compptr->DCT_scaled_size = DCTSIZE;
88 (long) (cinfo->max_h_samp_factor * DCTSIZE));
91 (long) (cinfo->max_v_samp_factor * DCTSIZE));
112 (long) (cinfo->max_v_samp_factor*DCTSIZE));
166 (long) (cinfo->max_h_samp_factor*DCTSIZE));
169 (long) (cinfo->max_v_samp_factor*DCTSIZE));
H A Djddctmgr.c164 case DCTSIZE:
277 static const char orders[DCTSIZE] = {4, 2, 5, 3, 6, 1, 7, 0};
319 static const double aanscalefactor[DCTSIZE] = {
325 for (row = 0; row < DCTSIZE; row++) {
326 for (col = 0; col < DCTSIZE; col++) {
H A Djdapistd.c216 int lines_per_iMCU_row = cinfo->max_v_samp_factor * DCTSIZE;
217 int lines_per_iMCU_col = cinfo->max_h_samp_factor * DCTSIZE;
246 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size;
276 int lines_per_iMCU_row = cinfo->max_v_samp_factor * DCTSIZE;
277 int lines_per_iMCU_col = cinfo->max_h_samp_factor * DCTSIZE;
278 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size;
H A Djcsample.c145 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
195 cinfo->image_width, compptr->width_in_blocks * DCTSIZE);
217 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
254 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
297 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
397 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE;
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jidctred.c33 * This module is specialized to the case DCTSIZE = 8.
36 #if DCTSIZE != 8
131 int workspace[DCTSIZE*4]; /* buffers data between passes */
139 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
141 if (ctr == DCTSIZE-4)
143 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
144 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
145 inptr[DCTSIZE*
[all...]
H A Dfpdfapi_jfdctfst.c43 * This module is specialized to the case DCTSIZE = 8.
46 #if DCTSIZE != 8
127 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
171 dataptr += DCTSIZE; /* advance pointer to next row */
177 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
178 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
179 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
180 tmp1 = dataptr[DCTSIZE*
[all...]
H A Dfpdfapi_jidctfst.c45 * This module is specialized to the case DCTSIZE = 8.
48 #if DCTSIZE != 8
191 for (ctr = DCTSIZE; ctr > 0; ctr--) {
201 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
202 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
203 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
204 inptr[DCTSIZE*
[all...]
H A Dfpdfapi_jidctint.c38 * This module is specialized to the case DCTSIZE = 8.
41 #if DCTSIZE != 8
172 for (ctr = DCTSIZE; ctr > 0; ctr--) {
182 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
183 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
184 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
185 inptr[DCTSIZE*
[all...]
H A Dfpdfapi_jfdctint.c36 * This module is specialized to the case DCTSIZE = 8.
39 #if DCTSIZE != 8
155 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
211 dataptr += DCTSIZE; /* advance pointer to next row */
220 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
221 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7];
222 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7];
223 tmp1 = dataptr[DCTSIZE*
[all...]
H A Dfpdfapi_jcmainct.c122 if (main->rowgroup_ctr < DCTSIZE)
126 (JDIMENSION) DCTSIZE);
132 if (main->rowgroup_ctr != DCTSIZE)
186 main->cur_iMCU_row * (compptr->v_samp_factor * DCTSIZE),
187 (JDIMENSION) (compptr->v_samp_factor * DCTSIZE), writing);
191 *in_row_ctr += cinfo->max_v_samp_factor * DCTSIZE;
192 main->rowgroup_ctr = DCTSIZE;
202 (JDIMENSION) DCTSIZE);
204 if (main->rowgroup_ctr < DCTSIZE)
273 compptr->width_in_blocks * DCTSIZE,
[all...]
H A Dfpdfapi_jcdctmgr.c141 static const double aanscalefactor[DCTSIZE] = {
153 for (row = 0; row < DCTSIZE; row++) {
154 for (col = 0; col < DCTSIZE; col++) {
196 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
203 for (elemr = 0; elemr < DCTSIZE; elemr++) {
205 #if DCTSIZE == 8 /* unroll the inner loop */
216 for (elemc = DCTSIZE; elemc > 0; elemc--) {
286 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
293 for (elemr = 0; elemr < DCTSIZE; elemr++) {
295 #if DCTSIZE
[all...]
H A Dfpdfapi_jddctmgr.c117 case DCTSIZE:
218 static const double aanscalefactor[DCTSIZE] = {
224 for (row = 0; row < DCTSIZE; row++) {
225 for (col = 0; col < DCTSIZE; col++) {
H A Dfpdfapi_jdinput.c74 /* We initialize DCT_scaled_size and min_DCT_scaled_size to DCTSIZE.
78 cinfo->min_DCT_scaled_size = DCTSIZE;
83 compptr->DCT_scaled_size = DCTSIZE;
87 (long) (cinfo->max_h_samp_factor * DCTSIZE));
90 (long) (cinfo->max_v_samp_factor * DCTSIZE));
111 (long) (cinfo->max_v_samp_factor*DCTSIZE));
165 (long) (cinfo->max_h_samp_factor*DCTSIZE));
168 (long) (cinfo->max_v_samp_factor*DCTSIZE));

Completed in 171 milliseconds

12