D3D11_VIDEO_PROCESSOR_CUSTOM_RATE structure (d3d11.h)

Specifies a custom rate for frame-rate conversion or inverse telecine (IVTC).

Syntax

typedef struct D3D11_VIDEO_PROCESSOR_CUSTOM_RATE {
  DXGI_RATIONAL CustomRate;
  UINT          OutputFrames;
  BOOL          InputInterlaced;
  UINT          InputFramesOrFields;
} D3D11_VIDEO_PROCESSOR_CUSTOM_RATE;

Members

CustomRate

The ratio of the output frame rate to the input frame rate, expressed as a DXGI_RATIONAL structure that holds a rational number.

OutputFrames

The number of output frames that will be generated for every N input samples, where N = InputFramesOrFields.

InputInterlaced

If TRUE, the input stream must be interlaced. Otherwise, the input stream must be progressive.

InputFramesOrFields

The number of input fields or frames for every N output frames that will be generated, where N = OutputFrames.

Remarks

The CustomRate member gives the rate conversion factor, while the remaining members define the pattern of input and output samples.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header d3d11.h

See also

Direct3D 11 Video Structures

ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate