GetAvailableVideoProcessorModes

IMFVideoProcessor::GetAvailableVideoProcessorModes method

Retrieves the video processor modes that the video driver supports.

Syntax


HRESULT GetAvailableVideoProcessorModes(
  [in, out] UINT *lpdwNumProcessingModes,
  [out]     GUID **ppVideoProcessingModes
);

Parameters

lpdwNumProcessingModes [in, out]

Receives the number of video processor modes.

ppVideoProcessingModes [out]

Receives a pointer to an array of GUIDs. The number of elements in the array is returned in the lpdwNumProcessingModes parameter. The caller must release the memory for the array by calling CoTaskMemFree. This parameter can be NULL.

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.

MF_E_TRANSFORM_TYPE_NOT_SET

The media type for the reference stream is not set.

 

Remarks

Video processor modes are identified by GUID. For a list of predefined GUIDs, see IDirectXVideoProcessorService::GetVideoProcessorDeviceGuids. A driver can define additional vendor-specific GUIDs. To get the capabilities of each mode, pass the GUID to the IMFVideoProcessor::GetVideoProcessorCaps method.

Before calling this method, you must set the media type for the reference stream. Which modes are available might depend on the media type of the reference stream.

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

 

 

Show:
© 2016 Microsoft