Bewerken

Delen via


D3DDDIARG_CREATEVIDEOPROCESSDEVICE structure (d3dumddi.h)

The D3DDDIARG_CREATEVIDEOPROCESSDEVICE structure describes a Microsoft DirectX Video Acceleration (DirectX VA) video processing device to create.

Syntax

typedef struct _D3DDDIARG_CREATEVIDEOPROCESSDEVICE {
  [in]     const GUID        *pVideoProcGuid;
  [in]     DXVADDI_VIDEODESC VideoDesc;
  [in]     D3DDDIFORMAT      RenderTargetFormat;
  [in]     UINT              MaxSubStreams;
  [in/out] HANDLE            hVideoProcess;
} D3DDDIARG_CREATEVIDEOPROCESSDEVICE;

Members

[in] pVideoProcGuid

A pointer to the GUID that represents a DirectX VA video processing device to create. The Microsoft Direct3D runtime can call the user-mode display driver's GetCaps function to query for the video processing GUIDs that the driver supports.

[in] VideoDesc

The DXVADDI_VIDEODESC structure for the video stream that the video processing device should process.

[in] RenderTargetFormat

A D3DDDIFORMAT-typed value that indicates the pixel format of the render target for the video processing device.

[in] MaxSubStreams

The maximum number of video substreams that can be sent to the video processing device. If this value is set to zero, the device never receives any video substreams.

[in/out] hVideoProcess

A handle to the video processing device. The user-mode display driver must set this handle to a value that the Microsoft Direct3D runtime can use to identify the video processing device in subsequent calls.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

CreateVideoProcessDevice

DXVADDI_VIDEODESC