INFO: DirectX 2 SDK Doesn't Provide YUV Color Format and ConversionID: Q153266
|
DirectDraw does not provide YUV to RGB conversion in software. The video hardware must support the YUV format on a surface for you to provide it with YUV data. You need to call GetPixelFormat() on your DirectDraw surface and if you find that both the DDPF_FOURCC and DDPF_YUV flags are set in the dwFlags field of the DDPIXELFORMAT structure, then your DirectDraw surface supports the YUV format. If these flags are not set, then you cannot send YUV data to the surface. You need to convert the data yourself to RGB.
Additional query words:
Keywords : kbDirectDraw kbSDKWin32 kbDirectX200
Version : WINDOWS:2.0
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: June 21, 1999