#define G2D_YUVORDER_MASK (0x3 << 24)
-#define G2D_YUV_UV ((0 << 24) | G2D_SWZ_ARGB)
-#define G2D_YUV_VU ((1 << 24) | G2D_SWZ_ARGB)
+#define G2D_YUV_UV ((1 << 24) | G2D_SWZ_ARGB)
+#define G2D_YUV_VU ((0 << 24) | G2D_SWZ_ARGB)
#define G2D_YUV_YC (0 << 25)
#define G2D_YUV_CY (1 << 25)
#define G2D_FMT_XRGB8888 (G2D_DATAFMT_8888 | G2D_SWZ_xRGB)
#define G2D_FMT_ARGB4444 (G2D_DATAFMT_4444 | G2D_SWZ_ARGB)
#define G2D_FMT_ARGB1555 (G2D_DATAFMT_1555 | G2D_SWZ_ARGB)
-#define G2D_FMT_RGB565 (G2D_DATAFMT_565 | G2D_SWZ_xBGR)
+#define G2D_FMT_RGB565 (G2D_DATAFMT_565 | G2D_SWZ_xRGB)
#define G2D_FMT_RGB888 (G2D_DATAFMT_888 | G2D_SWZ_xRGB)
#define G2D_FMT_BGR888 (G2D_DATAFMT_888 | G2D_SWZ_BGR)
#define G2D_FMT_NV12 (G2D_DATAFMT_YUV420SP | G2D_YUV_UV)