Lines Matching refs:yuv2
139 YUV yuv1, YUV yuv2) in draw_yuv422_packed_macropixel() argument
144 uint8_t y1 = yuv2.y; in draw_yuv422_packed_macropixel()
145 uint8_t u = (yuv1.u + yuv2.u) / 2; in draw_yuv422_packed_macropixel()
146 uint8_t v = (yuv1.v + yuv2.v) / 2; in draw_yuv422_packed_macropixel()
183 YUV yuv1, YUV yuv2) in draw_yuv422_semiplanar_macropixel() argument
189 uint8_t y1 = yuv2.y; in draw_yuv422_semiplanar_macropixel()
190 uint8_t u = (yuv1.u + yuv2.u) / 2; in draw_yuv422_semiplanar_macropixel()
191 uint8_t v = (yuv1.v + yuv2.v) / 2; in draw_yuv422_semiplanar_macropixel()
214 YUV yuv1, YUV yuv2) in draw_yuv422_planar_macropixel() argument
221 uint8_t y1 = yuv2.y; in draw_yuv422_planar_macropixel()
222 uint8_t u = (yuv1.u + yuv2.u) / 2; in draw_yuv422_planar_macropixel()
223 uint8_t v = (yuv1.v + yuv2.v) / 2; in draw_yuv422_planar_macropixel()
245 void draw_yuv422_macropixel(IFramebuffer& buf, unsigned x, unsigned y, YUV yuv1, YUV yuv2) in draw_yuv422_macropixel() argument
257 draw_yuv422_packed_macropixel(buf, x, y, yuv1, yuv2); in draw_yuv422_macropixel()
262 draw_yuv422_semiplanar_macropixel(buf, x, y, yuv1, yuv2); in draw_yuv422_macropixel()
267 draw_yuv422_planar_macropixel(buf, x, y, yuv1, yuv2); in draw_yuv422_macropixel()
276 YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4) in draw_yuv420_semiplanar_macropixel() argument
284 uint8_t y1 = yuv2.y; in draw_yuv420_semiplanar_macropixel()
287 uint8_t u = (yuv1.u + yuv2.u + yuv3.u + yuv4.u) / 4; in draw_yuv420_semiplanar_macropixel()
288 uint8_t v = (yuv1.v + yuv2.v + yuv3.v + yuv4.v) / 4; in draw_yuv420_semiplanar_macropixel()
315 YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4) in draw_yuv420_planar_macropixel() argument
324 uint8_t y1 = yuv2.y; in draw_yuv420_planar_macropixel()
327 uint8_t u = (yuv1.u + yuv2.u + yuv3.u + yuv4.u) / 4; in draw_yuv420_planar_macropixel()
328 uint8_t v = (yuv1.v + yuv2.v + yuv3.v + yuv4.v) / 4; in draw_yuv420_planar_macropixel()
355 YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4) in draw_yuv420_macropixel() argument
366 draw_yuv420_semiplanar_macropixel(buf, x, y, yuv1, yuv2, yuv3, yuv4); in draw_yuv420_macropixel()
371 draw_yuv420_planar_macropixel(buf, x, y, yuv1, yuv2, yuv3, yuv4); in draw_yuv420_macropixel()