/external/libjpeg-turbo/ |
jfdctflt.c | 46 * 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*1] + dataptr[DCTSIZE*6] [all...] |
jidctflt.c | 51 * This module is specialized to the case DCTSIZE = 8. 54 #if DCTSIZE != 8 92 for (ctr = DCTSIZE; ctr > 0; ctr--) { 102 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 103 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 104 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 105 inptr[DCTSIZE*7] == 0) [all...] |
jidctred.c | 34 * This module is specialized to the case DCTSIZE = 8. 37 #if DCTSIZE != 8 132 int workspace[DCTSIZE*4]; /* buffers data between passes */ 140 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { 142 if (ctr == DCTSIZE-4) 144 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 145 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 && 146 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) [all...] |
jfdctfst.c | 42 * 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*1] + dataptr[DCTSIZE*6] [all...] |
jidctfst.c | 44 * 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*7] == 0) [all...] |
jidctint.c | 61 * This module is specialized to the case DCTSIZE = 8. 64 #if DCTSIZE != 8 195 for (ctr = DCTSIZE; ctr > 0; ctr--) { 205 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 206 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 207 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 208 inptr[DCTSIZE*7] == 0) [all...] |
jdmaster.c | 101 if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) { 104 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE); 106 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE); 109 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) { 112 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE); 114 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE); 117 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) { 120 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE); 122 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE); 125 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 4) [all...] |
jfdctint.c | 37 * This module is specialized to the case DCTSIZE = 8. 40 #if DCTSIZE != 8 156 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 212 dataptr += DCTSIZE; /* advance pointer to next row */ 221 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 222 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 223 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7]; 224 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6] [all...] |
transupp.c | 33 #define dstinfo_min_DCT_h_scaled_size DCTSIZE 34 #define dstinfo_min_DCT_v_scaled_size DCTSIZE 316 for (i = 0; i < DCTSIZE; i += 2) { 318 for (j = 0; j < DCTSIZE; j++) 321 for (j = 0; j < DCTSIZE; j++) 374 for (i = 0; i < DCTSIZE; i++) 375 for (j = 0; j < DCTSIZE; j++) 376 dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j]; 443 for (i = 0; i < DCTSIZE; i++) [all...] |
/external/opencv3/3rdparty/libjpeg/ |
jfdctflt.c | 47 * This module is specialized to the case DCTSIZE = 8. 50 #if DCTSIZE != 8 72 for (ctr = 0; ctr < DCTSIZE; ctr++) { 120 dataptr += DCTSIZE; /* advance pointer to next row */ 126 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 127 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 128 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7]; 129 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6] [all...] |
jidctflt.c | 49 * This module is specialized to the case DCTSIZE = 8. 52 #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) [all...] |
jfdctint.c | 53 * This module is specialized to the case DCTSIZE = 8. 56 #if DCTSIZE != 8 173 for (ctr = 0; ctr < DCTSIZE; ctr++) { 241 dataptr += DCTSIZE; /* advance pointer to next row */ 250 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 255 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 256 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6]; 257 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5] [all...] |
jfdctfst.c | 43 * This module is specialized to the case DCTSIZE = 8. 46 #if DCTSIZE != 8 128 for (ctr = 0; ctr < DCTSIZE; ctr++) { 176 dataptr += DCTSIZE; /* advance pointer to next row */ 182 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 183 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 184 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7]; 185 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6] [all...] |
jidctfst.c | 44 * 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*7] == 0) [all...] |
jidctint.c | 60 * This module is specialized to the case DCTSIZE = 8. 63 #if DCTSIZE != 8 194 for (ctr = DCTSIZE; ctr > 0; ctr--) { 204 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 205 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 206 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 207 inptr[DCTSIZE*7] == 0) [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jidctred.c | 32 * 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*6] == 0 && inptr[DCTSIZE*7] == 0) [all...] |
fpdfapi_jfdctfst.c | 42 * 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*1] + dataptr[DCTSIZE*6] [all...] |
fpdfapi_jidctfst.c | 44 * 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*7] == 0) [all...] |
fpdfapi_jidctint.c | 37 * 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*7] == 0) [all...] |
fpdfapi_jfdctint.c | 35 * 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*1] + dataptr[DCTSIZE*6] [all...] |
fpdfapi_jcmainct.c | 121 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...] |
/external/opencv/cvaux/src/ |
cvhmmobs.cpp | 53 // dctSize - size of the block for which DCT is calculated 58 // 0 < objSize.width <= dctSize.width, 59 // 0 < objSize.height <= dctSize.height. 68 // Nx = floor((roi.width - dctSize.width + delta.width)/delta.width); 69 // Ny = floor((roi.height - dctSize.height + delta.height)/delta.height); 86 // D = DCT(I[x*delta.width : x*delta.width + dctSize.width, 87 // y*delta.height : y*delta.height + dctSize.height]); 118 float *obs, CvSize dctSize, 136 int n1 = dctSize.height, m1 = n1 / 2; 137 int n2 = dctSize.width, m2 = n2 / 2 [all...] |
/external/libjpeg-turbo/simd/ |
jdct.inc | 22 %define COL(n,b,s) ((b)+(n)*(s)*DCTSIZE) 24 %define DWBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_DWORD) 25 %define MMBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_MMWORD) 26 %define XMMBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_XMMWORD)
|
jsimd_x86_64.c | 460 if (DCTSIZE != 8) 476 if (DCTSIZE != 8) 506 if (DCTSIZE != 8) 521 if (DCTSIZE != 8) 536 if (DCTSIZE != 8) 569 if (DCTSIZE != 8) 583 if (DCTSIZE != 8) 611 if (DCTSIZE != 8) 632 if (DCTSIZE != 8) 669 if (DCTSIZE != 8 [all...] |
/external/skia/src/codec/ |
SkJpegCodec.cpp | 548 static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8."); 609 sizeInfo->fYWidthBytes = dinfo->comp_info[0].width_in_blocks * DCTSIZE; 610 sizeInfo->fUWidthBytes = dinfo->comp_info[1].width_in_blocks * DCTSIZE; 611 sizeInfo->fVWidthBytes = dinfo->comp_info[2].width_in_blocks * DCTSIZE; 665 JSAMPROW rowptrs[2 * DCTSIZE + DCTSIZE + DCTSIZE]; 666 yuv[0] = &rowptrs[0]; // Y rows (DCTSIZE or 2 * DCTSIZE) [all...] |