32 #ifndef _SVGA_OVERLAY_H_
33 #define _SVGA_OVERLAY_H_
41 #define VMWARE_FOURCC_YV12 0x32315659
42 #define VMWARE_FOURCC_YUY2 0x32595559
43 #define VMWARE_FOURCC_UYVY 0x59565955
52 #define SVGA_VIDEO_COLORKEY_MASK 0x00ffffff
54 #define SVGA_ESCAPE_VMWARE_VIDEO 0x00020000
56 #define SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS 0x00020001
60 #define SVGA_ESCAPE_VMWARE_VIDEO_FLUSH 0x00020002
146 *width = (*width + 1) & ~1;
154 *height = (*height + 1) & ~1;
155 *size = (*width + 3) & ~3;
167 tmp = ((*width >> 1) + 3) & ~3;
170 pitches[1] = pitches[2] =
tmp;
173 tmp *= (*height >> 1);