EDDGPEPixelFormat (Compact 2013)
3/26/2014
This data type identifies a specific memory layout associated with a surface.
Syntax
typedef enum EDDGPEPixelFormat{
ddgpePixelFormat_1bpp = 0,
ddgpePixelFormat_2bpp,
ddgpePixelFormat_4bpp,
ddgpePixelFormat_8bpp,
ddgpePixelFormat_565,
ddgpePixelFormat_5551,
ddgpePixelFormat_4444,
ddgpePixelFormat_5550,
ddgpePixelFormat_8880,
ddgpePixelFormat_8888,
ddgpePixelFormat_YUYV422,
ddgpePixelFormat_UYVY422,
ddgpePixelFormat_YV12,
// some generic types
// Use dwPixelFormatData in conjunction with this info
ddgpePixelFormat_15bppGeneric,
ddgpePixelFormat_16bppGeneric,
ddgpePixelFormat_24bppGeneric,
ddgpePixelFormat_32bppGeneric,
ddgpePixelFormat_UnknownFormat,
// you can assign custom formats starting with this value
ddgpePixelFormat_CustomFormat = 0x1000
};
Remarks
If a surface type required by your driver is missing from the list of supported types, use one of the generic types to indicate the bit-depth of your surface. A custom pixel-format data field is offered in data structures that rely on the EDDGPEPixelFormat data type. Use this field to store additional information for your driver.
Requirements
Header |
ddgpe.h |
Library |
Ddgpe.lib |