Condividi tramite


D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES_0080 struttura (d3d12umddi.h)

La struttura D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES_0080 definisce le sottoregioni come sezioni per i codec che supportano questa modalità di partizionamento.

Sintassi

typedef struct D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES_0080 {
  union {
    UINT MaxBytesPerSlice;
    UINT NumberOfCodingUnitsPerSlice;
    UINT NumberOfRowsPerSlice;
    UINT NumberOfSlicesPerFrame;
  };
} D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES_0080;

Members

MaxBytesPerSlice

Questo membro viene usato esclusivamente con VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080_BYTES_PER_SUBREGION. MaxBytesPerSlice specifica il numero massimo di byte per sezione da usare.

NumberOfCodingUnitsPerSlice

Questo membro viene usato esclusivamente con D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080_SQUARE_UNITS_PER_SUBREGION_ROW_UNALIGNED. NumberOfCodingUnitsPerSlice specifica il numero di blocchi quadrati da utilizzare per sezione. Le dimensioni in pixel delle aree quadratiche possono essere calcolate usando la risoluzione corrente e SubregionBlockPixelsSize per la risoluzione del frame corrente.

NumberOfRowsPerSlice

Questo membro viene usato esclusivamente con D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080_UNIFORM_PARTITIONING_ROWS_PER_SUBREGION. NumberofRowsPerSlice specifica il numero di righe di blocchi quadrati per sezione per ogni sezione in cui suddividere il frame. Le dimensioni in pixel delle aree quadratiche possono essere calcolate usando la risoluzione corrente e SubregionBlockPixelsSize per la risoluzione del frame corrente.

NumberOfSlicesPerFrame

Questo membro viene usato esclusivamente con D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080_UNIFORM_PARTITIONING_SUBREGIONS_PER_FRAME. NumberOfSlicesPerFrame specifica il numero di sezioni in cui dividere il frame.

Commenti

Per le modalità che implicano un numero fisso di sezioni, il numero di sezioni selezionate deve essere minore di MaxSubregionsNumber e la risoluzione selezionata.

Per informazioni generali, vedere Codifica video D3D12 .

Requisiti

Requisito Valore
Client minimo supportato Windows 11 (WDDM 3.0)
Intestazione d3d12umddi.h

Vedi anche

*D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080

D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_0080_2

D3D12DDI_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS_0080_2