Home
last modified time | relevance | path

Searched refs:ONE_HALF (Results 1 – 13 of 13) sorted by relevance

/external/pixman/pixman/
Dpixman-combine32.h3 #define ONE_HALF 0x80 macro
68 ((t) = (a) * (uint16_t)(b) + ONE_HALF, ((((t) >> G_SHIFT ) + (t) ) >> G_SHIFT ))
80 (((x) + ONE_HALF + (((x) + ONE_HALF) >> G_SHIFT)) >> G_SHIFT)
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdcolor.c62 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
96 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
99 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
104 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Dfpdfapi_jdmerge.c77 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
112 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
115 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
120 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Dfpdfapi_jccolor.c61 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
101 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
108 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
/external/chromium_org/third_party/libjpeg_turbo/
Djdmerge.c78 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
214 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
217 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
222 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Djdcolor.c75 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
234 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
237 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
242 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
315 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in build_rgb_y_table()
Djccolor.c65 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
210 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
217 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
/external/jpeg/
Djccolor.c62 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
102 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
109 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
Djdmerge.c91 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
126 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
129 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
134 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Djdcolor.c83 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
117 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
120 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
125 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
/external/qemu/distrib/jpeg-6b/
Djccolor.c62 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
102 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
109 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
Djdmerge.c91 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
126 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
129 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
134 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Djdcolor.c81 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
115 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
118 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
123 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()