Home
last modified time | relevance | path

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

/hardware/google/gfxstream/common/detector/
DImage.cpp243 const int g_int = static_cast<int>(g); in ConvertRGBA8888PixelToYUV() local
245 *out_y = Clamp(((( 66 * r_int) + (129 * g_int) + (25 * b_int) + 128) >> 8) + 16); in ConvertRGBA8888PixelToYUV()
246 *out_u = Clamp((((-38 * r_int) - (74 * g_int) + (112 * b_int) + 128) >> 8) + 128); in ConvertRGBA8888PixelToYUV()
247 *out_v = Clamp((((112 * r_int) - (94 * g_int) - (18 * b_int) + 128) >> 8) + 128); in ConvertRGBA8888PixelToYUV()