Export (0) Print
Expand All

IMFVideoProcessor::GetProcAmpRange method

Retrieves the range of values for a color adjustment (ProcAmp) setting.

Syntax


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

Parameters

dwProperty [in]

The ProcAmp setting to query. For a list of possible values, see ProcAmp Settings.

pPropRange [out]

Pointer to a DXVA2_ValueRange structure that receives range of values for the specified ProcAmp setting.

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.

E_INVALIDARG

Invalid value for dwProperty.

MF_E_INVALIDREQUEST

No video processor mode has been set.

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 ProcAmp 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 ProcAmp settings 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:
© 2015 Microsoft