Windows Dev Center

DXVA-HD Sample

Shows how to use Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

This sample is essentially a port of the DXVA2_VideoProc Sample. It has the same basic functions, and most of the keyboard commands are the same.

The sample programmatically generates video with a primary stream and a substream. The primary stream displays SMPTE color bars. The substream is alpha-blended onto the primary stream using luma keying. The user can change the video processing parameters, including the planar alpha value, source and destination rectangles, color adjustments, and color space. The following image shows that video that is generated.

Screen shot of the DXVA-HD sample

APIs Demonstrated

This sample demonstrates the following DXVA-HD interfaces:


Windows SDKWindows 7
Microsoft WindowsWindows 7


Downloading the Sample

This sample is available in the following locations.

Windows SDKSDK Root\Samples\multimedia\mediafoundation\DXVA_HD
MSDN Code GalleryDownload from MSDN Code Gallery


Related topics

Media Foundation SDK Samples



Community Additions

© 2015 Microsoft