Home
last modified time | relevance | path

Searched refs:CENTERJSAMPLE (Results 1 – 25 of 36) sorted by relevance

12

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcdctmgr.c205 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
206 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
207 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
208 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
209 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
210 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
211 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
212 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
216 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
295 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in forward_DCT_float()
[all …]
Dfpdfapi_jdmaster.c256 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
264 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */ in prepare_range_limit_table()
266 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
270 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
271 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
272 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
Djmorecfg.h77 #define CENTERJSAMPLE 128 macro
91 #define CENTERJSAMPLE 2048 macro
Djdct.h76 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
/external/libjpeg-turbo/
Djcdctmgr.c379 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
380 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
381 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
382 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
383 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
384 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
385 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
386 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
391 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
532 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in convsamp_float()
[all …]
Djmorecfg.h65 #define CENTERJSAMPLE 128 macro
79 #define CENTERJSAMPLE 2048 macro
Djdmaster.c416 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * sizeof(JSAMPLE)); in prepare_range_limit_table()
424 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */ in prepare_range_limit_table()
426 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
430 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * sizeof(JSAMPLE)); in prepare_range_limit_table()
431 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
432 cinfo->sample_range_limit, CENTERJSAMPLE * sizeof(JSAMPLE)); in prepare_range_limit_table()
Djdct.h85 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
Djidctflt.c194 z5 = wsptr[0] + ((FAST_FLOAT) CENTERJSAMPLE + (FAST_FLOAT) 0.5);
/external/opencv3/3rdparty/libjpeg/
Djdmaster.c237 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
245 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */ in prepare_range_limit_table()
247 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
251 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
252 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
253 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
Djmorecfg.h75 #define CENTERJSAMPLE 128 macro
89 #define CENTERJSAMPLE 2048 macro
Djdcolor.c111 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
273 outptr[RGB_RED] = (JSAMPLE) ((r + g - CENTERJSAMPLE) & MAXJSAMPLE); in rgb1_rgb_convert()
275 outptr[RGB_BLUE] = (JSAMPLE) ((b + g - CENTERJSAMPLE) & MAXJSAMPLE); in rgb1_rgb_convert()
313 r = (r + g - CENTERJSAMPLE) & MAXJSAMPLE; in rgb1_gray_convert()
314 b = (b + g - CENTERJSAMPLE) & MAXJSAMPLE; in rgb1_gray_convert()
Djfdctint.c196 dataptr[0] = (DCTELEM) ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << PASS1_BITS);
364 ((z1 + tmp1 + tmp3 - 7 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_7x7()
499 ((tmp10 + tmp11 - 6 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_6x6()
613 ((tmp10 + tmp2 - 5 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_5x5()
718 ((tmp0 + tmp1 - 4 * CENTERJSAMPLE) << (PASS1_BITS+2)); in jpeg_fdct_4x4()
810 ((tmp0 + tmp1 - 3 * CENTERJSAMPLE) << (PASS1_BITS+2)); in jpeg_fdct_3x3()
894 data[DCTSIZE*0] = (DCTELEM) ((tmp0 + tmp2 - 4 * CENTERJSAMPLE) << 4); in jpeg_fdct_2x2()
917 ((GETJSAMPLE(sample_data[0][start_col]) - CENTERJSAMPLE) << 6); in jpeg_fdct_1x1()
965 dataptr[0] = (DCTELEM) ((z1 + z2 - 9 * CENTERJSAMPLE) << 1); in jpeg_fdct_9x9()
1119 ((tmp10 + tmp11 + tmp12 - 10 * CENTERJSAMPLE) << 1); in jpeg_fdct_10x10()
[all …]
Djccolor.c60 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
303 outptr0[col] = (JSAMPLE) ((r - g + CENTERJSAMPLE) & MAXJSAMPLE); in rgb_rgb1_convert()
305 outptr2[col] = (JSAMPLE) ((b - g + CENTERJSAMPLE) & MAXJSAMPLE); in rgb_rgb1_convert()
Djfdctflt.c93 dataptr[0] = tmp10 + tmp11 - 8 * CENTERJSAMPLE; /* phase 3 */
Djfdctfst.c149 dataptr[0] = tmp10 + tmp11 - 8 * CENTERJSAMPLE; /* phase 3 */
Djidctflt.c190 z5 = wsptr[0] + ((FAST_FLOAT) CENTERJSAMPLE + (FAST_FLOAT) 0.5);
/external/libjpeg-turbo/simd/
Djccolext-mmx.asm271 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
272 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
276 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
277 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
Djccolor-mmx.asm48 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
Djccolor-sse2.asm45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
Djccolor-sse2-64.asm45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
Djccolext-sse2-64.asm285 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
286 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
290 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
291 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
Djccolext-sse2.asm299 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
300 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
304 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
305 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
Djsimdcfg.inc46 %define CENTERJSAMPLE 128
/external/libjpeg-turbo/win/
Djsimdcfg.inc46 %define CENTERJSAMPLE 128

12