PFND3D12DDI_CREATEVIDEOENCODER_0082_0 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CREATEVIDEOENCODER_0082_0 Pfnd3d12ddiCreatevideoencoder00820;

HRESULT Pfnd3d12ddiCreatevideoencoder00820(
  [in]     D3D12DDI_HDEVICE hDrvDevice,
  [in]     const D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0 *pCreationArgs,
  [in/out] D3D12DDI_HVIDEOENCODER_0080 hDrvVideoEncoder
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_createvideoencoder_0082_0)

Description

A client driver's PFND3D12DDI_CREATEVIDEOENCODER_0082_0 callback function creates a video encoder object.

Parameters

hDrvDevice [in]

Handle to the D3D12 device.

pCreationArgs [in]

Pointer to a D3D12DDIARG_CREATE_VIDEO_ENCODER_0080_2 structure with arguments to create this video encoder object.

hDrvVideoEncoder [in/out]

Handle to the created video encoder object. The D3D12 runtime has allocated space for the driver to place its object based on the result of a prior call to PFND3D12DDI_CALCPRIVATEVIDEOENCODERSIZE_0082_0.

Return value

Returns an HRESULT value.

Remarks

See D3D12 video encoding for general information.

See also

D3D12DDI_DEVICE_FUNCS_VIDEO_0082_0

D3D12DDIARG_CREATE_VIDEO_ENCODER_0080_2

PFND3D12DDI_CALCPRIVATEVIDEOENCODERSIZE_0082_0

PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2