IVMRDeinterlaceControl9::GetActualDeinterlaceMode method

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

Syntax


HRESULT GetActualDeinterlaceMode(
  [in]   DWORD dwStreamID,
  [out]  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 value

Returns an HRESULT value. Possible values include the following:

Return codeDescription
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

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Error and Success Codes
Setting Deinterlace Preferences
Using the Video Mixing Renderer
Video Mixing Renderer Filter 9
IVMRDeinterlaceControl9 Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft