Edit

D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM1 structure (d3d12video.h)

Encapsulates the compressed bitstream output for an encoding operation, with support for subregion notification.

Syntax

typedef struct D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM1 {
  D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM_NOTIFICATION_MODE NotificationMode;
  union {
    D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM           FrameOutputBuffer;
    D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM SubregionOutputBuffers;
  };
} D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM1;

Members

NotificationMode

A D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM_NOTIFICATION_MODE value that selects between full-frame and subregion notification output modes.

FrameOutputBuffer

A D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM for full-frame output. Used when NotificationMode is D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM_NOTIFICATION_MODE_FULL_FRAME.

SubregionOutputBuffers

A D3D12_VIDEO_ENCODER_SUBREGION_COMPRESSED_BITSTREAM for per-subregion output. Used when NotificationMode is D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM_NOTIFICATION_MODE_SUBREGIONS.

Remarks

FrameOutputBuffer and SubregionOutputBuffers are members of a union. Only the member corresponding to the selected NotificationMode is used.

Requirements

Requirement Value
Header d3d12video.h

See also

D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS1