/external/syslinux/com32/lib/jpeg/ |
D | bgr24.c | 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGR24_1x1() macro 98 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_BGR24_1x1() 99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_BGR24_1x1() 100 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_BGR24_1x1() 116 #undef ONE_HALF in YCrCB_to_BGR24_1x1() 136 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGR24_2x1() macro 153 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_BGR24_2x1() 154 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_BGR24_2x1() 155 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_BGR24_2x1() 182 #undef ONE_HALF in YCrCB_to_BGR24_2x1() [all …]
|
D | rgb24.c | 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGB24_1x1() macro 97 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_RGB24_1x1() 98 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_RGB24_1x1() 99 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_RGB24_1x1() 115 #undef ONE_HALF in YCrCB_to_RGB24_1x1() 134 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGB24_2x1() macro 153 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_RGB24_2x1() 154 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_RGB24_2x1() 155 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_RGB24_2x1() 181 #undef ONE_HALF in YCrCB_to_RGB24_2x1() [all …]
|
D | rgba32.c | 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGBA32_1x1() macro 98 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_RGBA32_1x1() 99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_RGBA32_1x1() 100 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_RGBA32_1x1() 118 #undef ONE_HALF in YCrCB_to_RGBA32_1x1() 137 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGBA32_2x1() macro 155 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_RGBA32_2x1() 156 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_RGBA32_2x1() 157 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_RGBA32_2x1() 187 #undef ONE_HALF in YCrCB_to_RGBA32_2x1() [all …]
|
D | bgra32.c | 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGRA32_1x1() macro 98 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_BGRA32_1x1() 99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_BGRA32_1x1() 100 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_BGRA32_1x1() 118 #undef ONE_HALF in YCrCB_to_BGRA32_1x1() 138 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGRA32_2x1() macro 154 add_r = FIX(1.40200) * cr + ONE_HALF; in YCrCB_to_BGRA32_2x1() 155 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF; in YCrCB_to_BGRA32_2x1() 156 add_b = FIX(1.77200) * cb + ONE_HALF; in YCrCB_to_BGRA32_2x1() 187 #undef ONE_HALF in YCrCB_to_BGRA32_2x1() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_color.c | 177 #define ONE_HALF ((int32)(1<<(SHIFT-1))) macro 283 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit() 284 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit() 286 ycbcr->Cb_g_tab[i] = D4*Cb + ONE_HALF; in TIFFYCbCrToRGBInit() 299 #undef ONE_HALF
|
/external/libjpeg-turbo/ |
D | jdmerge.c | 79 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) macro 215 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()
|
D | jdcolor.c | 77 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) macro 236 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() 317 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF; in build_rgb_y_table()
|
D | jccolor.c | 67 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) macro 212 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()
|
/external/libjpeg-turbo/simd/ |
D | jdcolor-altivec.c | 37 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
|
D | jccolor-altivec.c | 40 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
|
D | jcgray-altivec.c | 35 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
|
D | jccolext-altivec.c | 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()
|
D | jdmerge-altivec.c | 37 #define ONE_HALF (1 << (SCALEBITS - 1)) macro
|
D | jcgryext-altivec.c | 54 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_rgb_gray_convert_altivec()
|
D | jdcolext-altivec.c | 61 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_ycc_rgb_convert_altivec()
|
D | jdmrgext-altivec.c | 63 __vector int pd_onehalf = { __4X(ONE_HALF) }; in jsimd_h2v1_merged_upsample_altivec()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ratectrl.h | 61 typedef enum { ORIG = 0, THREE_QUARTER = 1, ONE_HALF = 2 } RESIZE_STATE; enumerator
|
D | vp9_ratectrl.c | 2050 cpi->resize_state = ONE_HALF; in vp9_resize_one_pass_cbr() 2053 cpi->resize_state = ONEHALFONLY_RESIZE ? ONE_HALF : THREE_QUARTER; in vp9_resize_one_pass_cbr() 2062 } 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/ |
D | Fraction.java | 57 public static final Fraction ONE_HALF = new Fraction(1, 2); field in Fraction
|
D | BigFraction.java | 59 public static final BigFraction ONE_HALF = new BigFraction(1, 2); field in BigFraction
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | a2xx.xml.h | 195 ONE_HALF = 3, enumerator
|