IDXVAHD_Device::GetVideoProcessorFilterRange method (dxvahd.h)

Gets the range of values for an image filter that the Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device supports.

Syntax

HRESULT GetVideoProcessorFilterRange(
  [in]  DXVAHD_FILTER            Filter,
  [out] DXVAHD_FILTER_RANGE_DATA *pRange
);

Parameters

[in] Filter

The type of image filter, specified as a member of the DXVAHD_FILTER enumeration.

[out] pRange

A pointer to a DXVAHD_FILTER_RANGE_DATA structure. The method fills the structure with the range of values for the specified filter.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
The Filter parameter is invalid or the device does not support the specified filter.

Remarks

To find out which image filters the device supports, check the FilterCaps member of the DXVAHD_VPDEVCAPS structure. Call the IDXVAHD_Device::GetVideoProcessorDeviceCaps method to get this value.

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

See also

DXVA-HD

IDXVAHD_Device