Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Represents input arguments for ID3D12VideoEncodeCommandList4::EncodeFrame1, with support for optional metadata.
Syntax
typedef struct D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS1 {
D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC SequenceControlDesc;
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC1 PictureControlDesc;
ID3D12Resource *pInputFrame;
UINT InputFrameSubresource;
UINT CurrentFrameBitstreamMetadataSize;
D3D12_VIDEO_ENCODER_OPTIONAL_METADATA_ENABLE_FLAGS OptionalMetadata;
} D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS1;
Members
SequenceControlDesc
A D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC specifying the configuration for the video encoding sequence.
PictureControlDesc
A D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC specifying the configuration for the video encoding picture.
pInputFrame
A pointer to the ID3D12Resource representing the input frame to encode.
InputFrameSubresource
The subresource index of the input frame.
CurrentFrameBitstreamMetadataSize
The expected size in bytes of the current frame bitstream metadata.
OptionalMetadata
A D3D12_VIDEO_ENCODER_OPTIONAL_METADATA_ENABLE_FLAGS value indicating which optional metadata to enable when encoding this frame.
Remarks
This structure extends D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS with the OptionalMetadata field.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |