Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libtiff/
Dtif_color.c177 #define ONE_HALF ((int32)(1<<(SHIFT-1))) macro
262 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
263 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
265 ycbcr->Cb_g_tab[i] = D4*Cb + ONE_HALF; in TIFFYCbCrToRGBInit()
277 #undef ONE_HALF
/external/pdfium/third_party/libtiff/
Dtif_color.c177 #define ONE_HALF ((int32)(1<<(SHIFT-1))) macro
262 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
263 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
265 ycbcr->Cb_g_tab[i] = D4*Cb + ONE_HALF; in TIFFYCbCrToRGBInit()
277 #undef ONE_HALF
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdcolor.c61 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
95 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
98 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
103 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Dfpdfapi_jdmerge.c76 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
111 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
114 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
119 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Dfpdfapi_jccolor.c60 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
100 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
107 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
/external/opencv3/3rdparty/libjpeg/
Djdmerge.c73 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
108 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
111 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
116 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
Djdcolor.c70 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
116 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
119 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
124 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
203 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in build_rgb_y_table()
Djccolor.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/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.c76 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
235 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
238 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
243 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
316 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in build_rgb_y_table()
Djccolor.c66 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) macro
211 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()
218 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1; in rgb_ycc_start()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.h58 ONE_HALF = 2 enumerator
Dvp9_ratectrl.c1874 cpi->resize_state = ONE_HALF; in vp9_resize_one_pass_cbr()
1877 cpi->resize_state = ONEHALFONLY_RESIZE ? ONE_HALF : THREE_QUARTER; in vp9_resize_one_pass_cbr()
1886 } else if (cpi->resize_state == ONE_HALF) { in vp9_resize_one_pass_cbr()
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFraction.java57 public static final Fraction ONE_HALF = new Fraction(1, 2); field in Fraction
DBigFraction.java59 public static final BigFraction ONE_HALF = new BigFraction(1, 2); field in BigFraction