Home
last modified time | relevance | path

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

/external/libkmsxx/kms++util/src/
Ddrawing.cpp62 void draw_yuv422_macropixel(IFramebuffer& buf, unsigned x, unsigned y, YUV yuv1, YUV yuv2) in draw_yuv422_macropixel() argument
72 uint8_t y1 = yuv2.y; in draw_yuv422_macropixel()
73 uint8_t u = (yuv1.u + yuv2.u) / 2; in draw_yuv422_macropixel()
74 uint8_t v = (yuv1.v + yuv2.v) / 2; in draw_yuv422_macropixel()
111 YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4) in draw_yuv420_macropixel() argument
125 uint8_t y1 = yuv2.y; in draw_yuv420_macropixel()
128 uint8_t u = (yuv1.u + yuv2.u + yuv3.u + yuv4.u) / 4; in draw_yuv420_macropixel()
129 uint8_t v = (yuv1.v + yuv2.v + yuv3.v + yuv4.v) / 4; in draw_yuv420_macropixel()
/external/webp/src/enc/
Dfilter_enc.c112 static double GetMBSSIM(const uint8_t* yuv1, const uint8_t* yuv2) { in GetMBSSIM() argument
119 sum += VP8SSIMGetClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, in GetMBSSIM()
125 sum += VP8SSIMGetClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, in GetMBSSIM()
127 sum += VP8SSIMGetClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, in GetMBSSIM()
/external/libkmsxx/kms++util/inc/kms++util/
Dkms++util.h21 void draw_yuv422_macropixel(IFramebuffer& buf, unsigned x, unsigned y, YUV yuv1, YUV yuv2);
23 YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4);