/external/jpeg/ |
D | jidctred.c | 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*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 …]
|
D | jidctflt.c | 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*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 …]
|
D | jidctfst.c | 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*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 …]
|
D | jidctint.c | 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*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 …]
|
D | jfdctflt.c | 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*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 …]
|
D | jfdctfst.c | 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*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 …]
|
D | transupp.c | 82 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 …]
|
D | jfdctint.c | 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*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 …]
|
D | jcmainct.c | 121 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 …]
|
D | jcdctmgr.c | 140 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 …]
|
D | jddctmgr.c | 145 case DCTSIZE: in start_pass() 234 static const char orders[DCTSIZE] = {4, 2, 5, 3, 6, 1, 7, 0}; in start_pass() 276 static const double aanscalefactor[DCTSIZE] = { in start_pass() 282 for (row = 0; row < DCTSIZE; row++) { in start_pass() 283 for (col = 0; col < DCTSIZE; col++) { in start_pass()
|
D | jdinput.c | 79 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()
|
D | jdapistd.c | 216 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()
|
D | jcmaster.c | 99 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()
|
D | jcsample.c | 145 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in int_downsample() 195 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); in fullsize_downsample() 217 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v1_downsample() 254 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v2_downsample() 297 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v2_smooth_downsample() 397 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in fullsize_smooth_downsample()
|
D | jdmaster.c | 141 cinfo->min_DCT_scaled_size = DCTSIZE; in jpeg_calc_output_dimensions() 151 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions() 170 (long) (cinfo->max_h_samp_factor * DCTSIZE)); in jpeg_calc_output_dimensions() 174 (long) (cinfo->max_v_samp_factor * DCTSIZE)); in jpeg_calc_output_dimensions()
|
D | jcprepct.c | 177 compptr->width_in_blocks * DCTSIZE, in pre_process_data() 291 (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE * in create_context_buffer() 349 (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE * in jinit_c_prep_controller()
|
D | jccoefct.c | 173 ypos = yoffset * DCTSIZE; /* ypos == (yoffset+yindex) * DCTSIZE */ in compress_data() 198 ypos += DCTSIZE; in compress_data() 284 (JDIMENSION) (block_row * DCTSIZE), in compress_first_pass()
|
D | jcapistd.c | 148 lines_per_iMCU_row = cinfo->max_v_samp_factor * DCTSIZE; in jpeg_write_raw_data()
|
D | jpeglib.h | 41 #define DCTSIZE 8 /* The basic DCT block is 8x8 samples */ macro
|
D | libjpeg.doc | 2526 v_samp_factor*DCTSIZE sample rows of each component. The passed num_lines 2527 value must be at least max_v_samp_factor*DCTSIZE, and the return value will 2534 cinfo->comp_info[i].width_in_blocks*DCTSIZE samples per row 2535 cinfo->comp_info[i].height_in_blocks*DCTSIZE rows in image 2541 need never pad by more than DCTSIZE samples. An example may help here. 2582 buffer of at least max_v_samp_factor*DCTSIZE scanlines (scanline counting is
|
D | structure.doc | 649 into 8x8 blocks (but we always use #defines DCTSIZE and DCTSIZE2 rather than
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 563 int actualSampleSize = skiaSampleSize * (DCTSIZE / cinfo->min_DCT_scaled_size); in onDecodeRegion()
|