Home
last modified time | relevance | path

Searched refs:range_limit (Results 1 – 23 of 23) sorted by relevance

/external/libjpeg-turbo/
Djdmrg565.c29 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local
54 r = range_limit[y + cred]; in LOCAL()
55 g = range_limit[y + cgreen]; in LOCAL()
56 b = range_limit[y + cblue]; in LOCAL()
60 r = range_limit[y + cred]; in LOCAL()
61 g = range_limit[y + cgreen]; in LOCAL()
62 b = range_limit[y + cblue]; in LOCAL()
77 r = range_limit[y + cred]; in LOCAL()
78 g = range_limit[y + cgreen]; in LOCAL()
79 b = range_limit[y + cblue]; in LOCAL()
[all …]
Djdmrgext.c35 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local
56 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL()
57 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL()
58 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL()
64 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL()
65 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL()
66 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL()
80 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL()
81 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL()
82 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL()
[all …]
Djdcol565.c30 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local
50 r = range_limit[y + Crrtab[cr]]; in LOCAL()
51 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL()
53 b = range_limit[y + Cbbtab[cb]]; in LOCAL()
63 r = range_limit[y + Crrtab[cr]]; in LOCAL()
64 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL()
66 b = range_limit[y + Cbbtab[cb]]; in LOCAL()
72 r = range_limit[y + Crrtab[cr]]; in LOCAL()
73 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL()
75 b = range_limit[y + Cbbtab[cb]]; in LOCAL()
[all …]
Djidctint.c183 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
385 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3,
388 outptr[7] = range_limit[(int) DESCALE(tmp10 - tmp3,
391 outptr[1] = range_limit[(int) DESCALE(tmp11 + tmp2,
394 outptr[6] = range_limit[(int) DESCALE(tmp11 - tmp2,
397 outptr[2] = range_limit[(int) DESCALE(tmp12 + tmp1,
400 outptr[5] = range_limit[(int) DESCALE(tmp12 - tmp1,
403 outptr[3] = range_limit[(int) DESCALE(tmp13 + tmp0,
406 outptr[4] = range_limit[(int) DESCALE(tmp13 - tmp0,
[all …]
Djidctred.c130 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
208 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
250 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2,
253 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2,
256 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0,
259 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0,
283 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_2x2() local
341 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) in jpeg_idct_2x2()
365 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp0, in jpeg_idct_2x2()
368 outptr[1] = range_limit[(int) DESCALE(tmp10 - tmp0, in jpeg_idct_2x2()
[all …]
Djidctflt.c82 JSAMPLE *range_limit = cinfo->sample_range_limit; variable
226 outptr[0] = range_limit[((int) (tmp0 + tmp7)) & RANGE_MASK];
227 outptr[7] = range_limit[((int) (tmp0 - tmp7)) & RANGE_MASK];
228 outptr[1] = range_limit[((int) (tmp1 + tmp6)) & RANGE_MASK];
229 outptr[6] = range_limit[((int) (tmp1 - tmp6)) & RANGE_MASK];
230 outptr[2] = range_limit[((int) (tmp2 + tmp5)) & RANGE_MASK];
231 outptr[5] = range_limit[((int) (tmp2 - tmp5)) & RANGE_MASK];
232 outptr[3] = range_limit[((int) (tmp3 + tmp4)) & RANGE_MASK];
233 outptr[4] = range_limit[((int) (tmp3 - tmp4)) & RANGE_MASK];
Djidctfst.c179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3)
361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
Djdcolext.c41 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local
59 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in LOCAL()
60 outptr[RGB_GREEN] = range_limit[y + in LOCAL()
63 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in LOCAL()
Djdcolor.c545 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local
564 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
565 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert()
568 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
Djquant2.c946 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither() local
1002 cur0 = GETJSAMPLE(range_limit[cur0]); in pass2_fs_dither()
1003 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither()
1004 cur2 = GETJSAMPLE(range_limit[cur2]); in pass2_fs_dither()
Djquant1.c634 JSAMPLE *range_limit = cinfo->sample_range_limit; in quantize_fs_dither() local
678 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdmerge.c240 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v1_merged_upsample() local
261 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
262 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
263 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
266 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
267 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
268 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
279 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
280 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
281 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
[all …]
Dfpdfapi_jidctred.c128 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
247 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2,
250 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2,
253 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0,
256 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0,
280 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_2x2() local
337 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) in jpeg_idct_2x2()
361 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp0, in jpeg_idct_2x2()
364 outptr[1] = range_limit[(int) DESCALE(tmp10 - tmp0, in jpeg_idct_2x2()
[all …]
Dfpdfapi_jidctfst.c179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3)
361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
Dfpdfapi_jidctint.c159 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
360 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3,
363 outptr[7] = range_limit[(int) DESCALE(tmp10 - tmp3,
366 outptr[1] = range_limit[(int) DESCALE(tmp11 + tmp2,
369 outptr[6] = range_limit[(int) DESCALE(tmp11 - tmp2,
372 outptr[2] = range_limit[(int) DESCALE(tmp12 + tmp1,
375 outptr[5] = range_limit[(int) DESCALE(tmp12 - tmp1,
378 outptr[3] = range_limit[(int) DESCALE(tmp13 + tmp0,
381 outptr[4] = range_limit[(int) DESCALE(tmp13 - tmp0,
Dfpdfapi_jdcolor.c131 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycc_rgb_convert() local
149 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in ycc_rgb_convert()
150 outptr[RGB_GREEN] = range_limit[y + in ycc_rgb_convert()
153 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in ycc_rgb_convert()
256 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local
275 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
276 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert()
279 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
/external/opencv3/3rdparty/libjpeg/
Djdmerge.c237 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v1_merged_upsample() local
258 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
259 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
260 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
263 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
264 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
265 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
276 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample()
277 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample()
278 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample()
[all …]
Djidctint.c182 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
387 outptr[0] = range_limit[(int) RIGHT_SHIFT(tmp10 + tmp3,
390 outptr[7] = range_limit[(int) RIGHT_SHIFT(tmp10 - tmp3,
393 outptr[1] = range_limit[(int) RIGHT_SHIFT(tmp11 + tmp2,
396 outptr[6] = range_limit[(int) RIGHT_SHIFT(tmp11 - tmp2,
399 outptr[2] = range_limit[(int) RIGHT_SHIFT(tmp12 + tmp1,
402 outptr[5] = range_limit[(int) RIGHT_SHIFT(tmp12 - tmp1,
405 outptr[3] = range_limit[(int) RIGHT_SHIFT(tmp13 + tmp0,
408 outptr[4] = range_limit[(int) RIGHT_SHIFT(tmp13 - tmp0,
[all …]
Djidctflt.c80 JSAMPLE *range_limit = cinfo->sample_range_limit; variable
222 outptr[0] = range_limit[((int) (tmp0 + tmp7)) & RANGE_MASK];
223 outptr[7] = range_limit[((int) (tmp0 - tmp7)) & RANGE_MASK];
224 outptr[1] = range_limit[((int) (tmp1 + tmp6)) & RANGE_MASK];
225 outptr[6] = range_limit[((int) (tmp1 - tmp6)) & RANGE_MASK];
226 outptr[2] = range_limit[((int) (tmp2 + tmp5)) & RANGE_MASK];
227 outptr[5] = range_limit[((int) (tmp2 - tmp5)) & RANGE_MASK];
228 outptr[3] = range_limit[((int) (tmp3 + tmp4)) & RANGE_MASK];
229 outptr[4] = range_limit[((int) (tmp3 - tmp4)) & RANGE_MASK];
Djidctfst.c179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3)
361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
Djdcolor.c152 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycc_rgb_convert() local
170 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in ycc_rgb_convert()
171 outptr[RGB_GREEN] = range_limit[y + in ycc_rgb_convert()
174 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in ycc_rgb_convert()
451 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local
470 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
471 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert()
474 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
Djquant2.c968 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither() local
1024 cur0 = GETJSAMPLE(range_limit[cur0]); in pass2_fs_dither()
1025 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither()
1026 cur2 = GETJSAMPLE(range_limit[cur2]); in pass2_fs_dither()
Djquant1.c634 JSAMPLE *range_limit = cinfo->sample_range_limit; in quantize_fs_dither() local
679 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()