Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the input formats that are supported by a software plug-in Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.
Syntax
PDXVAHDSW_GetVideoProcessorInputFormats PdxvahdswGetvideoprocessorinputformats;
HRESULT PdxvahdswGetvideoprocessorinputformats(
[in] HANDLE hDevice,
[in] const DXVAHD_CONTENT_DESC *pContentDesc,
[in] DXVAHD_DEVICE_USAGE Usage,
[in] UINT Count,
[out] D3DFORMAT *pFormats
)
{...}
Parameters
[in] hDevice
A handle to the plug-in DXVA-HD device.
[in] pContentDesc
A pointer to a DXVAHD_CONTENT_DESC structure that describes the video content.
[in] Usage
A member of the DXVAHD_DEVICE_USAGE enumeration, describing how the device will be used.
[in] Count
The number of formats to retrieve.
[out] pFormats
A pointer to an array of D3DFORMAT values. The Count parameter specifies the number of elements in the array. The method fills the array with a list of input formats.
Return value
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxvahd.h |