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.
Specifies how subregion output buffers are passed 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
} ;
Constants
D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_ARRAY_OF_BUFFERSEach subregion is written to a different ID3D12Resource buffer object. Requires D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SUBREGION_NOTIFICATION_AVAILABLE_ARRAY_OF_BUFFERS support. |
D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM_BUFFER_MODE_SINGLE_BUFFERAll subregions are written into the same ID3D12Resource buffer. The driver partitions the buffer into non-overlapping regions. Requires D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SUBREGION_NOTIFICATION_AVAILABLE_SINGLE_BUFFER support. |
Remarks
The associated ID3D12VideoEncoderHeap must be created with the corresponding D3D12_VIDEO_ENCODER_HEAP_FLAGS flag set.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |