Condividi tramite


IVMRDeinterlaceControl Interface

 
Microsoft DirectShow 9.0

IVMRDeinterlaceControl Interface

This topic applies to Windows XP Service Pack 1 or later.

The IVMRDeinterlaceControl interface provides support for advanced hardware-accelerated deinterlacing using the Video Mixing Renderer filter (VMR-7 only). This interface enables applications or other filters to control how the VMR manages DirectX Video Acceleration (DirectX VA) hardware deinterlacing.

In addition to the methods inherited from IUnknown, the IVMRDeinterlaceControl interface exposes the following methods.

Method Description
GetActualDeinterlaceMode Returns the deinterlacing mode that the VMR is using for a specified stream.
GetDeinterlaceMode Retrieves the deinterlacing mode for the specified video stream.
GetDeinterlaceModeCaps Retrieves the capabilities of a specific deinterlacing mode supported by the graphics device driver.
GetDeinterlacePrefs Queries how the VMR will select a deinterlacing mode if it cannot use the preferred mode.
GetNumberOfDeinterlaceModes Retrieves the deinterlacing modes available to the VMR for the specified video format.
SetDeinterlaceMode Sets the deinterlacing mode for the specified video stream.
SetDeinterlacePrefs Specifies how the VMR will select a deinterlacing mode if it cannot use the preferred mode.

Remarks

This interface is applicable only when the VMR is in mixer mode. All methods in this interface return VFW_E_VMR_NOT_IN_MIXER_MODE if the VMR is not in mixer mode.

Deinterlacing modes are identified by GUIDs. The graphics device driver returns an array of GUIDs for the modes that it supports. The array is sorted in order of quality, from best quality to lowest quality. To retrieve the list of GUIDs, call the GetNumberOfDeinterlaceModes method. To obtain more information about a particular mode, pass this GUID to the GetDeinterlaceModeCaps method. To configure the VMR to use a particular mode, call the SetDeinterlaceMode method.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also