ID3D12VideoEncodeCommandList1::ExecuteExtensionCommand method (d3d12video.h)
Records a command to execute a video extension command into an encode command list.
Syntax
void ExecuteExtensionCommand(
ID3D12VideoExtensionCommand *pExtensionCommand,
const void *pExecutionParameters,
SIZE_T ExecutionParametersSizeInBytes
);
Parameters
pExtensionCommand
Pointer to an ID3D12VideoExtensionCommand representing the video extension command to execute. The caller is responsible for maintaining object lifetime until command execution is complete.
pExecutionParameters
A pointer to the execution parameters structure, which is defined by the command. The parameters structure must match the parameters enumerated by a call to ID3D12VideoDevice::CheckFeatureSupport with the feature value of D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS and a parameter stage value of D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE_EXECUTION.
ExecutionParametersSizeInBytes
The size of the pExecutionParameters parameter structure, in bytes.
Return value
None
Remarks
Errors initializing the extension command are reported via debug layers and the return value of the command list's Close method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12video.h |