IVMRDeinterlaceControl9::GetActualDeinterlaceMode

 
Microsoft DirectShow 9.0

IVMRDeinterlaceControl9::GetActualDeinterlaceMode

The GetActualDeinterlaceMode method returns the deinterlacing mode that the VMR is using for a specified stream.

Syntax

  HRESULT GetActualDeinterlaceMode(
    DWORD dwStreamID,
    GUID *lpDeinterlaceMode
);

Parameters

dwStreamID

[in]  Index of the video stream.

lpDeinterlaceMode

[out]  Pointer to a variable that receives a GUID value that identifies the deinterlacing mode. The method returns GUID_NULL if the VMR has not initialized the deinterlacing hardware, or if the VMR determines that this stream should not be deinterlaced.

Return Values

Returns an HRESULT value. Possible values include the following:

Return Code Description
E_INVALIDARG Invalid stream number.
E_POINTER NULL pointer argument.
S_OK Success.
VFW_E_VMR_NOT_IN_MIXER_MODE The VMR is not in mixer mode.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also