Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PDXVAHDSW_GetVideoProcessorOutputFormats function pointer

Gets the output formats that are supported by a software plug-in Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax


typedef HRESULT ( CALLBACK *PDXVAHDSW_GetVideoProcessorOutputFormats)(
  _In_        HANDLE              hDevice,
  _In_  const DXVAHD_CONTENT_DESC *pContentDesc,
  _In_        DXVAHD_DEVICE_USAGE Usage,
  _In_        UINT                Count,
  _Out_       D3DFORMAT           *pFormats
);

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.

Count [in]

The number of formats to retrieve.

pFormats [out]

A pointer to an array of D3DFORMAT values. The Count parameter specifies the number of elements in the array. The function fills the array with a list of output formats.

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::GetVideoProcessorOutputFormats

 

 

Show:
© 2017 Microsoft