enumerazione D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE (d3d12video.h)

Specifica il modo in cui i buffer di output delle sottoregion vengono passati in D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM.

Syntax

typedef enum D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE {
  D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_ARRAY_OF_BUFFERS,
  D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_SINGLE_BUFFER
} ;

Costanti

 
D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_ARRAY_OF_BUFFERS
Ogni sottoregione viene scritta in un oggetto buffer ID3D12Resource diverso. Richiede D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SUBREGION_NOTIFICATION_AVAILABLE_ARRAY_OF_BUFFERS supporto.
D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_SINGLE_BUFFER
Tutte le sottoregioni vengono scritte nello stesso buffer ID3D12Resource . Il driver partiziona il buffer in aree non sovrapposte. Richiede D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SUBREGION_NOTIFICATION_AVAILABLE_SINGLE_BUFFER supporto.

Osservazioni:

L'ID3D12VideoEncoderHeap associato deve essere creato con il set di flag D3D12_VIDEO_ENCODER_HEAP_FLAGS corrispondente.

Requisiti

Requisito Valore
Intestazione d3d12video.h

Vedere anche

D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM