// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0 {
D3D12DDI_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC_0082_0 SequenceControlDesc;
D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_DESC_0082_0 PictureControlDesc;
D3D12DDI_HRESOURCE hDrvInputTexture2D;
UINT InputFrameSubresource;
UINT CurrentFrameBitstreamMetadataSize;
} D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0 structure contains the input sequence and picture control parameters for a video encode operation.
SequenceControlDescA D3D12DDI_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC_0082_0 structure that defines the configuration for the video sequence.
PictureControlDescA D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_DESC_0082_0 structure that defines the configuration for the video picture.
hDrvInputTexture2DHandle to the input frame to encode. This input frame is a D3D12 resource that can be consumed by other portions of the pipeline and therefore must not have the D3D12DDI_RESOURCE_FLAG_0080_VIDEO_ENCODE_REFERENCE_ONLY flag set.
InputFrameSubresourceThe sub-resource index for the hDrvInputTexture2D resource.
CurrentFrameBitstreamMetadataSizeNumber of bytes added to the final bitstream between the end of the last PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0 compressed bitstream output and the current call output. This member is intended to capture the size of any headers or metadata messages added by the client to the final bitstream. It is intended to be used as a hint by the rate control algorithms to keep track of the full bitstream size.
See D3D12 video encoding for general information.
D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2
PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0