Export (0) Print
Expand All
Expand Minimize

PDXVAHDSW_GetVideoProcessorDeviceCaps function pointer

Gets the capabilities of a software plug-in Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax


typedef HRESULT ( CALLBACK *PDXVAHDSW_GetVideoProcessorDeviceCaps)(
  _In_   HANDLE hDevice,
  _In_   const DXVAHD_CONTENT_DESC *pContentDesc,
  _In_   DXVAHD_DEVICE_USAGE Usage,
  _Out_  DXVAHD_VPDEVCAPS *pCaps
);

Parameters

hDevice [in]

A handle to the plug-in DXVA-HD device.

pContentDesc [in]

A pointer to a DXVAHD_CONTENT_DESC structure that describes the video content.

Usage [in]

A member of the DXVAHD_DEVICE_USAGE enumeration, describing how the device will be used. The value indicates the desired trade-off between speed and video quality.

pCaps [out]

A pointer to a DXVAHD_VPDEVCAPS structure that receives the device capabilities.

Return value

If this function pointer succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
Media Foundation Functions
DXVAHDSW_CALLBACKS
IDXVAHD_Device::GetVideoProcessorDeviceCaps

 

 

Community Additions

ADD
Show:
© 2014 Microsoft