Редагувати

Поділитися через


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:

Requirements

Product Version
Windows SDK Windows 7

 

Downloading the Sample

This sample is available in the Windows classic samples github repository.

DXVA-HD

Media Foundation SDK Samples