// d3d12umddi.h
PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2 Pfnd3d12ddiCreatevideoencoderheap00802;
HRESULT Pfnd3d12ddiCreatevideoencoderheap00802(
[in] D3D12DDI_HDEVICE hDrvDevice,
[in] const D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 *pCreationArgs,
[out] D3D12DDI_HVIDEOENCODERHEAP_0080 hDrvVideoEncoderHeap
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A client driver's PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2 callback function creates a video encoder heap object.
hDrvDevice [in]Handle to the D3D12 device.
pCreationArgs [in]Pointer to a D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure with the arguments used to create a video encoder heap.
hDrvVideoEncoderHeap [out]Handle to the video encoder heap object. The D3D12 runtime has allocated space for the driver to place its object based on the result of a prior call to PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2.
Returns an HRESULT value.
See D3D12 video encoding for general information.
D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2
PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2
PFND3D12DDI_CREATEVIDEOENCODER_0082_0