Searched refs:ONE_HALF (Results 1 – 16 of 16) sorted by relevance
175 #define ONE_HALF ((int32)(1<<(SHIFT-1))) macro281 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()282 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()284 ycbcr->Cb_g_tab[i] = D4*Cb + ONE_HALF; in TIFFYCbCrToRGBInit()297 #undef ONE_HALF
79 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) macro215 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()218 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()223 upsample->Cb_g_tab[i] = (-FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
77 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) macro236 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()239 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()244 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()
67 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) macro212 rgb_ycc_tab[i + B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in rgb_ycc_start()219 rgb_ycc_tab[i + B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF - 1; in rgb_ycc_start()
37 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
35 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
40 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
56 __vector int pd_onehalf = { __4X(ONE_HALF) }, in jsimd_rgb_ycc_convert_altivec()57 pd_onehalfm1_cj = { __4X(ONE_HALF - 1 + (CENTERJSAMPLE << SCALEBITS)) }; in jsimd_rgb_ycc_convert_altivec()
53 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_rgb_gray_convert_altivec()
61 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_ycc_rgb_convert_altivec()
63 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_h2v1_merged_upsample_altivec()
69 typedef enum { ORIG = 0, THREE_QUARTER = 1, ONE_HALF = 2 } RESIZE_STATE; enumerator
2684 cpi->resize_state = ONE_HALF; in vp9_resize_one_pass_cbr()2687 cpi->resize_state = ONEHALFONLY_RESIZE ? ONE_HALF : THREE_QUARTER; in vp9_resize_one_pass_cbr()2696 } else if (cpi->resize_state == ONE_HALF) { in vp9_resize_one_pass_cbr()
57 public static final Fraction ONE_HALF = new Fraction(1, 2); field in Fraction
59 public static final BigFraction ONE_HALF = new BigFraction(1, 2); field in BigFraction