INFO: DirectX 2 SDK Doesn't Provide YUV Color Format and Conversion |
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
Issue type : kbinfo
Technology : kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Serv kbwin2000ServSearch kbwin2000Search kbwin2000ProSearch kbwin2000Pro kbSDKDirectXsearch kbAudDeveloper kbWinAdvServSearch kbSDKDirectX200
|
Last Reviewed: June 26, 2001 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |