Home
last modified time | relevance | path

Searched refs:DCTSIZE (Results 1 – 25 of 48) sorted by relevance

12

/external/jpeg/
Djidctred.c35 #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*6] == 0 && inptr[DCTSIZE*7] == 0) {
146 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
148 wsptr[DCTSIZE*0] = dcval;
149 wsptr[DCTSIZE*1] = dcval;
[all …]
Djidctflt.c51 #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*7] == 0) {
104 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
106 wsptr[DCTSIZE*0] = dcval;
107 wsptr[DCTSIZE*1] = dcval;
108 wsptr[DCTSIZE*2] = dcval;
[all …]
Djidctfst.c47 #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*7] == 0) {
205 int dcval = (int) DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
207 wsptr[DCTSIZE*0] = dcval;
208 wsptr[DCTSIZE*1] = dcval;
209 wsptr[DCTSIZE*2] = dcval;
[all …]
Djfdctflt.c49 #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*1] + dataptr[DCTSIZE*6];
124 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6];
125 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5];
126 tmp5 = dataptr[DCTSIZE*2] - dataptr[DCTSIZE*5];
[all …]
Djidctint.c40 #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*7] == 0) {
186 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
188 wsptr[DCTSIZE*0] = dcval;
189 wsptr[DCTSIZE*1] = dcval;
190 wsptr[DCTSIZE*2] = dcval;
[all …]
Djfdctfst.c45 #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*1] + dataptr[DCTSIZE*6];
180 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6];
181 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5];
182 tmp5 = dataptr[DCTSIZE*2] - dataptr[DCTSIZE*5];
[all …]
Djfdctint.c38 #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*1] + dataptr[DCTSIZE*6];
223 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6];
224 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5];
225 tmp5 = dataptr[DCTSIZE*2] - dataptr[DCTSIZE*5];
[all …]
Dtransupp.c82 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_flip_h()
134 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_flip_v()
165 for (i = 0; i < DCTSIZE; i += 2) { in do_flip_v()
167 for (j = 0; j < DCTSIZE; j++) in do_flip_v()
170 for (j = 0; j < DCTSIZE; j++) in do_flip_v()
218 for (i = 0; i < DCTSIZE; i++) in do_transpose()
219 for (j = 0; j < DCTSIZE; j++) in do_transpose()
220 dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j]; in do_transpose()
249 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_rot_90()
271 for (i = 0; i < DCTSIZE; i++) { in do_rot_90()
[all …]
Djcmainct.c121 if (main->rowgroup_ctr < DCTSIZE) in process_data_simple_main()
125 (JDIMENSION) DCTSIZE); in process_data_simple_main()
131 if (main->rowgroup_ctr != DCTSIZE) in process_data_simple_main()
185 main->cur_iMCU_row * (compptr->v_samp_factor * DCTSIZE), in process_data_buffer_main()
186 (JDIMENSION) (compptr->v_samp_factor * DCTSIZE), writing); in process_data_buffer_main()
190 *in_row_ctr += cinfo->max_v_samp_factor * DCTSIZE; in process_data_buffer_main()
191 main->rowgroup_ctr = DCTSIZE; in process_data_buffer_main()
201 (JDIMENSION) DCTSIZE); in process_data_buffer_main()
203 if (main->rowgroup_ctr < DCTSIZE) in process_data_buffer_main()
272 compptr->width_in_blocks * DCTSIZE, in jinit_c_main_controller()
[all …]
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*0]
[all …]
Djcdctmgr.c140 static const double aanscalefactor[DCTSIZE] = { in start_pass_fdctmgr()
152 for (row = 0; row < DCTSIZE; row++) { in start_pass_fdctmgr()
153 for (col = 0; col < DCTSIZE; col++) { in start_pass_fdctmgr()
195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT()
202 for (elemr = 0; elemr < DCTSIZE; elemr++) { in forward_DCT()
204 #if DCTSIZE == 8 /* unroll the inner loop */ in forward_DCT()
215 for (elemc = DCTSIZE; elemc > 0; elemc--) { in forward_DCT()
285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT_float()
292 for (elemr = 0; elemr < DCTSIZE; elemr++) { in forward_DCT_float()
294 #if DCTSIZE == 8 /* unroll the inner loop */ in forward_DCT_float()
[all …]
Djddctmgr.c164 case DCTSIZE: in start_pass()
277 static const char orders[DCTSIZE] = {4, 2, 5, 3, 6, 1, 7, 0}; in start_pass()
319 static const double aanscalefactor[DCTSIZE] = { in start_pass()
325 for (row = 0; row < DCTSIZE; row++) { in start_pass()
326 for (col = 0; col < DCTSIZE; col++) { in start_pass()
Djdinput.c79 cinfo->min_DCT_scaled_size = DCTSIZE; in initial_setup()
84 compptr->DCT_scaled_size = DCTSIZE; in initial_setup()
88 (long) (cinfo->max_h_samp_factor * DCTSIZE)); in initial_setup()
91 (long) (cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
112 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in initial_setup()
166 (long) (cinfo->max_h_samp_factor*DCTSIZE)); in per_scan_setup()
169 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in per_scan_setup()
Djdapistd.c216 int lines_per_iMCU_row = cinfo->max_v_samp_factor * DCTSIZE; in jpeg_init_read_tile_scanline()
217 int lines_per_iMCU_col = cinfo->max_h_samp_factor * DCTSIZE; in jpeg_init_read_tile_scanline()
246 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_init_read_tile_scanline()
276 int lines_per_iMCU_row = cinfo->max_v_samp_factor * DCTSIZE; in jpeg_read_tile_scanline()
277 int lines_per_iMCU_col = cinfo->max_h_samp_factor * DCTSIZE; in jpeg_read_tile_scanline()
278 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_read_tile_scanline()
Djsimd_neon.c115 if ( (DCTSIZE != 8) || in cap_neon_idct_2x2()
129 if ( (DCTSIZE != 8) || in cap_neon_idct_4x4()
143 if ( (DCTSIZE != 8) || in cap_neon_idct_ifast()
Djcmaster.c99 compptr->DCT_scaled_size = DCTSIZE; in initial_setup()
103 (long) (cinfo->max_h_samp_factor * DCTSIZE)); in initial_setup()
106 (long) (cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
123 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in initial_setup()
328 compptr->MCU_sample_width = DCTSIZE; in per_scan_setup()
351 (long) (cinfo->max_h_samp_factor*DCTSIZE)); in per_scan_setup()
354 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in per_scan_setup()
364 compptr->MCU_sample_width = compptr->MCU_width * DCTSIZE; in per_scan_setup()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jidctred.c36 #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*6] == 0 && inptr[DCTSIZE*7] == 0) {
147 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
149 wsptr[DCTSIZE*0] = dcval;
150 wsptr[DCTSIZE*1] = dcval;
[all …]
Dfpdfapi_jidctfst.c48 #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*7] == 0) {
206 int dcval = (int) DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
208 wsptr[DCTSIZE*0] = dcval;
209 wsptr[DCTSIZE*1] = dcval;
210 wsptr[DCTSIZE*2] = dcval;
[all …]
Dfpdfapi_jidctint.c41 #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*7] == 0) {
187 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
189 wsptr[DCTSIZE*0] = dcval;
190 wsptr[DCTSIZE*1] = dcval;
191 wsptr[DCTSIZE*2] = dcval;
[all …]
Dfpdfapi_jfdctfst.c46 #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*1] + dataptr[DCTSIZE*6];
181 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6];
182 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5];
183 tmp5 = dataptr[DCTSIZE*2] - dataptr[DCTSIZE*5];
[all …]
Dfpdfapi_jfdctint.c39 #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*1] + dataptr[DCTSIZE*6];
224 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6];
225 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5];
226 tmp5 = dataptr[DCTSIZE*2] - dataptr[DCTSIZE*5];
[all …]
Dfpdfapi_jcmainct.c122 if (main->rowgroup_ctr < DCTSIZE) in process_data_simple_main()
126 (JDIMENSION) DCTSIZE); in process_data_simple_main()
132 if (main->rowgroup_ctr != DCTSIZE) in process_data_simple_main()
186 main->cur_iMCU_row * (compptr->v_samp_factor * DCTSIZE), in process_data_buffer_main()
187 (JDIMENSION) (compptr->v_samp_factor * DCTSIZE), writing); in process_data_buffer_main()
191 *in_row_ctr += cinfo->max_v_samp_factor * DCTSIZE; in process_data_buffer_main()
192 main->rowgroup_ctr = DCTSIZE; in process_data_buffer_main()
202 (JDIMENSION) DCTSIZE); in process_data_buffer_main()
204 if (main->rowgroup_ctr < DCTSIZE) in process_data_buffer_main()
273 compptr->width_in_blocks * DCTSIZE, in jinit_c_main_controller()
[all …]
Dfpdfapi_jcdctmgr.c141 static const double aanscalefactor[DCTSIZE] = { in start_pass_fdctmgr()
153 for (row = 0; row < DCTSIZE; row++) { in start_pass_fdctmgr()
154 for (col = 0; col < DCTSIZE; col++) { in start_pass_fdctmgr()
196 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT()
203 for (elemr = 0; elemr < DCTSIZE; elemr++) { in forward_DCT()
205 #if DCTSIZE == 8 /* unroll the inner loop */ in forward_DCT()
216 for (elemc = DCTSIZE; elemc > 0; elemc--) { in forward_DCT()
286 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT_float()
293 for (elemr = 0; elemr < DCTSIZE; elemr++) { in forward_DCT_float()
295 #if DCTSIZE == 8 /* unroll the inner loop */ in forward_DCT_float()
[all …]
Dfpdfapi_jdinput.c78 cinfo->min_DCT_scaled_size = DCTSIZE; in initial_setup()
83 compptr->DCT_scaled_size = DCTSIZE; in initial_setup()
87 (long) (cinfo->max_h_samp_factor * DCTSIZE)); in initial_setup()
90 (long) (cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
111 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in initial_setup()
165 (long) (cinfo->max_h_samp_factor*DCTSIZE)); in per_scan_setup()
168 (long) (cinfo->max_v_samp_factor*DCTSIZE)); in per_scan_setup()
Dfpdfapi_jddctmgr.c117 case DCTSIZE: in start_pass()
218 static const double aanscalefactor[DCTSIZE] = { in start_pass()
224 for (row = 0; row < DCTSIZE; row++) { in start_pass()
225 for (col = 0; col < DCTSIZE; col++) { in start_pass()

12