// dxva.h
typedef struct _DXVA_VideoDesc {
DWORD Size;
DWORD SampleWidth;
DWORD SampleHeight;
DWORD SampleFormat;
D3DFORMAT d3dFormat;
DXVA_Frequency InputSampleFreq;
DXVA_Frequency OutputFrameFreq;
} DXVA_VideoDesc, *LPDXVA_VideoDesc;
View the official Windows Driver Kit DDI referenceNo description available.
The DXVA_VideoDesc structure is sent by the renderer to the driver to specify a description of the video stream on which the deinterlacing or frame-rate conversion operation is to be performed.
SizeSpecifies the size of this structure, in bytes.
SampleWidthSpecifies the width of the sample, in pixels.
SampleHeightSpecifies the height of the sample, in pixels.
SampleFormatSpecifies the format of the sample defined by the DXVA_SampleFormat structure.
d3dFormatSpecifies the Direct3D surface format of the sample.
InputSampleFreqSpecifies the frequency of incoming video defined by the DXVA_Frequency structure.
OutputFrameFreqSpecifies the desired frame rate of output video as defined by DXVA_Frequency.
For examples showing structure member values for deinterlacing or converting different types of content, see DeinterlaceQueryAvailableModes.