8月2日

EDDGPEPixelFormatToEGPEFormat 

This conversion array converts from EDDGPEPixelFormat to EGPEFormat.

Syntax

const EGPEFormat
EDDGPEPixelFormatToEGPEFormat[] = {
  gpe1Bpp, 
  gpe2Bpp, 
  gpe4Bpp, 
  gpe8Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe24Bpp, 
  gpe32Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe24Bpp, 
  gpe32Bpp, 
  gpeUndefined
};

EDDGPEPixelFormat 

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.

http://msdn.microsoft.com/en-US/library/gg144991(v=winembedded.0).aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值