D3D12DDI_VIDEO_PROCESS_INPUT_STREAM_RATE_INFO_0032 structure (d3d12umddi.h)
The D3D12DDI_VIDEO_PROCESS_INPUT_STREAM_RATE_INFO_0032 structure specifies the video process input stream rate info.
Syntax
typedef struct D3D12DDI_VIDEO_PROCESS_INPUT_STREAM_RATE_INFO_0032 {
UINT OutputIndex;
UINT InputFrameOrField;
} D3D12DDI_VIDEO_PROCESS_INPUT_STREAM_RATE_INFO_0032;
Members
OutputIndex
A zero-based cyclic number that indicates the frame index number of the output frame. The driver uses this output-index information to perform the video processing in a certain pattern or cycle, especially when the driver performs deinterlacing or frame-rate conversion.With the following output-index pattern, the driver performs the indicated video processing:
- Progressive format at normal and half rate: OutputIndex = 0, 0, ...
- Progressive format at 2/1 custom rate (double frame-rate conversion, OutputFrames=2): OutputIndex = 0, 1, 0, 1, ...
- Interlaced format at normal rate: OutputIndex = 0, 1, 0, 1, ... (0: first field, 1: second field)
- Interlaced format at half rate: OutputIndex = 0, 0, ... (for example, first and second fields are blended into one frame)
- Interlaced at 4/5 custom rate (3:2 inverse telecine, OutputFrames=4): OutputIndex = 0, 1, 2, 3, 0, 1, 2, 3,... (0:A, 1:B, 2:C, 3:D film frame)
InputFrameOrField
The InputFrameOrField member is a zero-based number that indicates the frame or the field number of the input surface. With the following input-frame-or-field number, the driver can perform the indicated video processing:
- Progressive format and interlaced format at normal rate: InputFrameOrField = 0, 1, 2, ...
- Progressive format and interlaced format at half rate: InputFrameOrField = 0, 2, 4, ...
- Interlaced format at 4/5 custom rate (3:2 inverse telecine, OutputFrames=4 and InputFrameOrField=10): InputFrameOrField = 0, 0, 0, 0, 10, 10, 10, 10, 20, 20, 20, 20, ...
- Interlaced format at 4/15 custom rate (8:7 inverse telecine, OutputFrames=2 and InputFrameOrField=15): InputFrameOrField = 0, 0, 15, 15, 30, 30, ...
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h |