D3D12_VIDEO_ENCODER_INTRA_REFRESH structure (d3d12video.h)
Represents intra refresh settings for video encoding.
Syntax
typedef struct D3D12_VIDEO_ENCODER_INTRA_REFRESH {
D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE Mode;
UINT IntraRefreshDuration;
} D3D12_VIDEO_ENCODER_INTRA_REFRESH;
Members
Mode
A value from the D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE enumeration specifying the intra refresh mode.
IntraRefreshDuration
A UINT64 specifying the duration of the intra-refresh session, as a number of frames . For D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE_ROW_BASED, this value and the frame height define the size of the I rows for the duration of the IR session.
Remarks
When triggering an intra-refresh session, the host informs the current frame number relative to the [0..IntraRefreshDuration) session by setting IntraRefreshFrameIndex in the picture control structures.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | d3d12video.h |