Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 1.83 KB

dxva-hd-sample.md

File metadata and controls

57 lines (31 loc) · 1.83 KB
description ms.assetid title ms.topic ms.date
Shows how to use Microsoft DirectX Video Acceleration High Definition (DXVA-HD).
dfd5cf5c-7d6e-4894-8d9b-41ef0293b3d3
DXVA-HD Sample
article
05/31/2018

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.

Related topics

DXVA-HD

Media Foundation SDK Samples