// d3d12umddi.h
typedef struct D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 {
UINT NodeMask;
D3D12DDI_VIDEO_ENCODER_HEAP_FLAGS_0080 Flags;
D3D12DDI_VIDEO_ENCODER_CODEC_0080 EncodeCodec;
D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 EncodeProfile;
D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 EncodeLevel;
UINT ResolutionsListCount;
const D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 *pResolutionList;
} D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure specifies video encoder heap parameters.
NodeMaskFor 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.
FlagsA D3D12DDI_VIDEO_ENCODER_HEAP_FLAGS_0080 value that specifies the video encoder heap creation flags.
EncodeCodecA D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that identifies the codec of the associated encoder object.
EncodeProfileA D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that identifies the codec's profile.
EncodeLevelA D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 structure that indicates the level for the specified codec and the profile in the associated encoder object.
ResolutionsListCountNumber of lists that pResolutionList points to.
pResolutionListPointer to a list of D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structures that contain picture resolutions requested to be supported.
If support for resolution dynamic reconfiguration is not supported, only one resolution is passed to denote the desired target resolution.
See D3D12 video encoding for general information.
D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2
PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2
PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2