Searched refs:ONE_HALF (Results 1 – 13 of 13) sorted by relevance
/external/pixman/pixman/ |
D | pixman-combine32.h | 3 #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/ |
D | fpdfapi_jdcolor.c | 62 #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()
|
D | fpdfapi_jdmerge.c | 77 #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()
|
D | fpdfapi_jccolor.c | 61 #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/ |
D | jdmerge.c | 78 #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()
|
D | jdcolor.c | 75 #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()
|
D | jccolor.c | 65 #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/ |
D | jccolor.c | 62 #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()
|
D | jdmerge.c | 91 #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()
|
D | jdcolor.c | 83 #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/ |
D | jccolor.c | 62 #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()
|
D | jdmerge.c | 91 #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()
|
D | jdcolor.c | 81 #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()
|