DXVA_VideoDesc structure (dxva.h)

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.

Syntax

typedef struct _DXVA_VideoDesc {
  DWORD          Size;
  DWORD          SampleWidth;
  DWORD          SampleHeight;
  DWORD          SampleFormat;
  D3DFORMAT      d3dFormat;
  DXVA_Frequency InputSampleFreq;
  DXVA_Frequency OutputFrameFreq;
} DXVA_VideoDesc, *LPDXVA_VideoDesc;

Members

Size

Specifies the size of this structure, in bytes.

SampleWidth

Specifies the width of the sample, in pixels.

SampleHeight

Specifies the height of the sample, in pixels.

SampleFormat

Specifies the format of the sample defined by the DXVA_SampleFormat structure.

d3dFormat

Specifies the Direct3D surface format of the sample.

InputSampleFreq

Specifies the frequency of incoming video defined by the DXVA_Frequency structure.

OutputFrameFreq

Specifies the desired frame rate of output video as defined by DXVA_Frequency.

Remarks

For examples showing structure member values for deinterlacing or converting different types of content, see DeinterlaceQueryAvailableModes.

Requirements

Requirement Value
Header dxva.h (include Dxva.h)

See also

DXVA_Frequency

DXVA_SampleFormat