Export (0) Print
Expand All

IMFVideoProcessor::GetFilteringRange method

Retrieves the range of values for a specified image filter setting.

Syntax


HRESULT GetFilteringRange(
  [in]   DWORD dwProperty,
  [out]  DXVA2_ValueRange *pPropRange
);

Parameters

dwProperty [in]

The image filtering parameter to query. For a list of possible values, see DXVA Image Filter Settings.

pPropRange [out]

Pointer to a DXVA2_ValueRange structure that receives range of values for the specified image filtering parameter.

Return value

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

Return codeDescription
S_OK

The method succeeded.

DDERR_UNSUPPORTED

The driver does not support this filter setting.

E_INVALIDARG

Invalid value for dwProperty.

MF_E_INVALIDREQUEST

No video processor mode has been set.

MF_E_NOT_AVAILABLE

The specified operation is not available.

MF_E_TRANSFORM_TYPE_NOT_SET

The media type for the reference stream is not set.

 

Remarks

This method returns the range of values that the current video processor mode supports for the specified image filter setting.

This method fails if the video processor mode has not been set on the mixer. To select a video processor mode, call IMFVideoProcessor::SetVideoProcessorMode. Otherwise, the EVR automatically selects a mode when streaming begins.

To find out which image filters the driver supports, call IMFVideoProcessor::GetVideoProcessorCaps.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr9.h

Library

Strmiids.lib

See also

IMFVideoProcessor
Enhanced Video Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft