다음을 통해 공유


Exploiting Hardware Capabilities (Windows CE 5.0)

Send Feedback

Video-port hardware often supports special capabilities for adjusting color, shrinking or zooming images, handling VBI data, or skipping fields. The HAL provides information about these capabilities by using flags in the DDVIDEOPORTCAPS structure. You retrieve the capabilities of a machine's video-port hardware by calling the IDDVideoPortContainer::EnumVideoPorts method.

To exploit these capabilities for playback, you use the IDirectDrawVideoPort::StartVideo method, which uses a DDVIDEOPORTINFO structure to request that hardware capabilities be used to modify image data before placing it in the frame buffer or for display.

By setting values and flags in this structure, you can specify the source rectangle used with the overlay surface, indicate cropping regions, request hardware scaling, and set pixel formats.

DirectDrawVideoPort objects do not emulate video-port hardware services.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.