struttura D3D12_VIDEO_ENCODER_DIRTY_RECT_INFO (d3d12video.h)

Contiene informazioni sul rettangolo dirty del buffer della CPU per la funzionalità aree dirty.

Sintassi

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;

Membri

FullFrameIdentical

Indica che il frame corrente è un fotogramma ripetuto dal frame a cui fa riferimento SourceDPBFrameReference. Se TRUE, pDirtyRects deve essere NULL.

MapValuesType

Oggetto D3D12_VIDEO_ENCODER_DIRTY_REGIONS_MAP_VALUES_MODE che indica la semantica dei valori di pDirtyRects.

NumDirtyRects

Numero di elementi in pDirtyRects.

pDirtyRects

Puntatore a una matrice di strutture RECT. Ogni rect indica che i pixel in corrispondenza di tali posizioni sono diversi o identici ai pixel nelle stesse posizioni del frame precedente a cui fa riferimento SourceDPBFrameReference.

SourceDPBFrameReference

Indice nel descrittore DPB dei parametri immagine che indica il frame di riferimento precedente a cui fa riferimento questa area dirty.

Requisiti

Requisito Valore
Intestazione d3d12video.h