Lines Matching refs:u
156 #define YUV(y, u, v) ((((y) & 0x03ff) << 20) | (((u) & 0x03ff) << 10) | ((v) & 0x03ff)) argument
167 #define YUV_8BIT(y, u, v) ((((y) & 0xff) << 16) | (((u) & 0xff) << 8) | ((v) & 0xff)) argument
190 HI_U16 y, u, v; in Rgb2Yuv() local
192 Rgb2Yc(RGB_R(u32Rgb), RGB_G(u32Rgb), RGB_B(u32Rgb), &y, &u, &v); in Rgb2Yuv()
194 return YUV(y, u, v); in Rgb2Yuv()
212 HI_U16 y, u, v; in Rgb2Yuv_full() local
214 Rgb2Yc_full(RGB_R(u32Rgb), RGB_G(u32Rgb), RGB_B(u32Rgb), &y, &u, &v); in Rgb2Yuv_full()
216 return YUV(y, u, v); in Rgb2Yuv_full()
237 HI_U8 y, u, v; in Rgb2Yuv_8BIT() local
239 Rgb2Yc_8BIT(RGB_R(u32Rgb), RGB_G(u32Rgb), RGB_B(u32Rgb), &y, &u, &v); in Rgb2Yuv_8BIT()
241 return YUV_8BIT(y, u, v); in Rgb2Yuv_8BIT()
259 HI_U8 y, u, v; in Rgb2Yuv_full_8BIT() local
261 Rgb2Yc_full_8BIT(RGB_R(u32Rgb), RGB_G(u32Rgb), RGB_B(u32Rgb), &y, &u, &v); in Rgb2Yuv_full_8BIT()
263 return YUV_8BIT(y, u, v); in Rgb2Yuv_full_8BIT()