Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains CPU-buffer dirty rectangle information for the dirty regions feature.
Syntax
typedef struct D3D12_VIDEO_ENCODER_DIRTY_RECT_INFO {
BOOL FullFrameIdentical;
D3D12_VIDEO_ENCODER_DIRTY_REGIONS_MAP_VALUES_MODE MapValuesType;
UINT NumDirtyRects;
RECT *pDirtyRects;
UINT SourceDPBFrameReference;
} D3D12_VIDEO_ENCODER_DIRTY_RECT_INFO;
Members
FullFrameIdentical
Indicates the current frame is a repeat frame from the frame referenced by SourceDPBFrameReference. When TRUE, pDirtyRects must be NULL.
MapValuesType
A D3D12_VIDEO_ENCODER_DIRTY_REGIONS_MAP_VALUES_MODE indicating the semantic of the values of pDirtyRects.
NumDirtyRects
Number of elements in pDirtyRects.
pDirtyRects
Pointer to an array of RECT structures. Each rect indicates pixels at those positions are different or identical to pixels in the same positions of the previous frame referenced by SourceDPBFrameReference.
SourceDPBFrameReference
An index into the picture parameters DPB descriptor indicating which previous reference frame this dirty region refers to.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |