D3D11_VIDEO_PROCESSOR_CUSTOM_RATE Structure

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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).