D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

typedef struct D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080 {
  D3D12DDI_HRESOURCE hDrvBuffer;
  UINT64             Offset;
} D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddi_video_encoder_compressed_bitstream_0080)

Description

The D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080 structure encapsulates the compressed bitstream output for the encoding operation.

Members

hDrvBuffer

Resource handle for the buffer that contains the compressed bitstream. The resource buffer size is not the available size for this encoding operation. Specifically, the available size for the current frame output in this buffer is the size of this buffer minus Offset.

Offset

The offset into the compressed bitstream where the encoder can start adding the current frame output, in bytes.

Remarks

The output bitstream is expected to contain the sub-region headers but not the picture, sequence, video, or other headers. It is the host's responsibility to code these other headers and generate the complete bitstream.

In sub-region frame partitioning, all sub-regions for a given frame encoding operation output must be placed in top/down, left/right order and must be contiguous.

See D3D12 video encoding for general information.

See also

D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2