Setting Up DirectX VA Decoding
In order for a decoder to operate correctly with an accelerator, the decoder and the accelerator must be set up for two distinct aspects of operation:
The format of the video data to be decoded. The DXVA_ConnectMode structure is used to specify the format.
The configuration determining the format used for data exchange between the host and the accelerator, and establishing which process resides on the host and which on the accelerator. This configuration is established by the negotiation of a connection configuration for each DirectX VA function to be used (as determined by the bDXVA_Func variable). The DXVA_ConfigPictureDecode structure specifies the configuration.