다음을 통해 공유


IDirectDrawVideo::UseOverlayStretch (Windows CE 5.0)

Send Feedback

This method determines whether the renderer should check overlay stretch limitations.

HRESULT UseOverlayStretch(long UseOverlayStretch);

Parameters

  • UseOverlayStretch
    Set to OATRUE for the renderer to use overlay stretching; otherwise, set to OAFALSE.

Return Values

Returns an HRESULT value.

Remarks

Some display cards provide the use of overlay surfaces through DirectDraw.

An overlay surface is a block of video memory whose contents are overlaid onto the display during the monitor's vertical refresh.

DirectShow uses all available overlay surfaces where possible because they typically offer higher-quality video and very fast performance.

On some display cards set to relatively high bit depths, the overlay must be displayed on the screen larger than its real size (to accommodate certain display hardware bandwidth limitations).

If the overlay is not displayed large enough, undesirable effects can be seen on the display (sometimes described as a fleeting shimmering effect).

If UseOverlayStretch is set to On (the default), DirectShow ensures the overlay is adequately stretched before displaying it.

If UseOverlayStretch is set to Off, DirectShow will not verify that the overlay is adequately stretched, and the user is likely to experience artifacts on the screen (although it will also guarantee that the overlay will be used if possible).

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.