The information in this article applies to:
SUMMARYDirectDraw 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.
Keywords : kbDirectDraw kbSDKWin32 kbDirectX200 |
Last Reviewed: October 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |