Home
last modified time | relevance | path

Searched refs:CENTERJSAMPLE (Results 1 – 25 of 32) 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)
Dfpdfapi_jdcolor.c90 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
Dfpdfapi_jdmerge.c102 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
Dfpdfapi_jccolor.c59 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS)
/external/libjpeg-turbo/
Djcdctmgr.c384 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
385 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
386 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
387 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
388 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
389 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
390 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
391 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
396 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
537 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in convsamp_float()
[all …]
Djmorecfg.h66 #define CENTERJSAMPLE 128 macro
80 #define CENTERJSAMPLE 2048 macro
Djdmaster.c428 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * sizeof(JSAMPLE)); in prepare_range_limit_table()
436 table += CENTERJSAMPLE; /* Point to where post-IDCT table starts */ in prepare_range_limit_table()
438 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
442 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * sizeof(JSAMPLE)); in prepare_range_limit_table()
443 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
444 cinfo->sample_range_limit, CENTERJSAMPLE * sizeof(JSAMPLE)); in prepare_range_limit_table()
Djdct.h86 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
Djidctflt.c195 z5 = wsptr[0] + ((FAST_FLOAT) CENTERJSAMPLE + (FAST_FLOAT) 0.5);
/external/libjpeg-turbo/simd/
Djccolext-mmx.asm270 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
271 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
275 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
276 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
Djccolor-sse2-64.asm46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
Djccolor-sse2.asm46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
Djccolext-sse2-64.asm286 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
287 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
291 ; Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
292 ; Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
Djccolor-mmx.asm47 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS)
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
Djccolext-altivec.c57 pd_onehalfm1_cj = { __4X(ONE_HALF - 1 + (CENTERJSAMPLE << SCALEBITS)) }; in jsimd_rgb_ycc_convert_altivec()
Djidctfst-altivec.c137 __vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) }; in jsimd_idct_ifast_altivec()
Djdcolext-altivec.c60 pw_cj = { __8X(CENTERJSAMPLE) }; in jsimd_ycc_rgb_convert_altivec()
Djquanti-altivec.c61 __vector short pw_centerjsamp = { __8X(CENTERJSAMPLE) }; in jsimd_convsamp_altivec()
Djdmrgext-altivec.c62 pw_cj = { __8X(CENTERJSAMPLE) }; in jsimd_h2v1_merged_upsample_altivec()
/external/libjpeg-turbo/win/
Djsimdcfg.inc46 %define CENTERJSAMPLE 128

12