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.
This sample demonstrates the following DXVA-HD interfaces:
|Windows SDK||Windows 7|
|Microsoft Windows||Windows 7|
This sample is available in the following locations.
|Windows SDK||SDK Root\Samples\multimedia\mediafoundation\DXVA_HD|
|MSDN Code Gallery||Download from MSDN Code Gallery|