Partager via


Motion Compensation Code Template

The example code provided in this section shows an implementation of a motion-compensation code template that is used to access ProcAmp control, deinterlacing, and Certified Output Protection Protocol (COPP) functionality. Using this template can simplify your display driver development. However, you are not required to implement access to ProcAmp control, deinterlacing, and COPP functionality in this manner for your display driver to work correctly.

If your driver supports other DirectX VA functions, such as decoding MPEG-2 video streams, then extend the example code to include processing of additional DirectX VA GUIDs.

This section includes:

Defining DirectX VA Device Classes

Retrieving DirectX VA Devices

Creating Instances of DirectX VA Device Objects

Performing ProcAmp Control and Deinterlacing Operations

Performing Deinterlacing with Substream Compositing Operations

Performing COPP Operations

Deleting Instances of DirectX VA Device Objects