PFND3D12DDI_VIDEO_PROCESS_FRAME callback function
The pfnProcessFrame callback function performs a video processing operation on one or more input samples and writes the result to an output surface.
Syntax
PFND3D12DDI_VIDEO_PROCESS_FRAME pfnProcessFrame;
VOID APIENTRY* pfnProcessFrame(
D3D12DDI_HCOMMANDLIST hDrvCommandList,
D3D12DDI_HVIDEOPROCESSOR hDrvVideoProcessor,
UINT64 SubmissionID,
const D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMS *pOutputParameters,
const D3D12DDIARG_VIDEO_PROCESS_INPUT_STREAM_PARAMETERS *pInputStreamParameters,
UINT NumInputStreams
)
{ ... }
Parameters
hDrvCommandList
The command list used to record this process frames command.hDrvVideoProcessor
The video processor instance to use for this video process call.SubmissionID
The submission ID is a monotonically increasing integer value. The value passed to this function must be larger than any passed video process submission for the hDrvVideoProcessor parameter. Callers should use fences to track submission completion and then provide completed submission ID to drivers by using the pfnProcessorTrimAllocations function to allow driver to manage resources associated with that stream.pOutputParameters
The output parameters. For more information, see the D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMETERS structure.pInputStreamParameters
Specifies an array of input parameters. For more information, see the D3D12DDIARG_VIDEO_PROCESS_INPUT_STREAM_PARAMETERS structure.NumInputStreams
Return value
This callback function does not return a value.
Requirements
Header |
D3d12umddi.h (include D3d12umddi.h) |
See also
D3D12DDIARG_VIDEO_PROCESS_INPUT_STREAM_PARAMETERS
D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMETERS