D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0 structure (d3d12umddi.h)
The D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0 structure contains the encoder creation parameters for the PFND3D12DDI_CALCPRIVATEVIDEOENCODERSIZE_0082_0 and PFND3D12DDI_CREATEVIDEOENCODER_0082_0 callback functions.
Syntax
typedef struct D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0 {
UINT NodeMask;
D3D12DDI_VIDEO_ENCODER_FLAGS_0080 Flags;
D3D12DDI_VIDEO_ENCODER_CODEC_0080 EncodeCodec;
D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 EncodeProfile;
DXGI_FORMAT InputFormat;
D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_0082_0 CodecConfiguration;
D3D12DDI_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_0080 MaxMotionEstimationPrecision;
} D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0;
Members
NodeMask
For a single GPU operation, set NodeMask to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only one bit can be set.
Flags
A D3D12DDI_VIDEO_ENCODER_FLAGS_0080 value that specifies the encoder creation flags.
EncodeCodec
A D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that identifies the codec type.
EncodeProfile
A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that identifies the codec's profile.
InputFormat
A DXGI_FORMAT structure that indicates the format of the source stream.
CodecConfiguration
A D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_0082_0 structure that indicates the sequence-level codec-specific parameters.
MaxMotionEstimationPrecision
A D3D12DDI_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_0080 value that identifies the motion estimation precision mode.
Remarks
See D3D12 video encoding for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |