Export (0) Print
Expand All

IVMRDeinterlaceControl9::GetDeinterlacePrefs method

The GetDeinterlacePrefs method queries how the VMR will select a deinterlacing mode if it cannot use the preferred deinterlacing mode.

Syntax


HRESULT GetDeinterlacePrefs(
  [in]  DWORD *lpdwDeinterlacePrefs
);

Parameters

lpdwDeinterlacePrefs [in]

Pointer to a variable that receives a member of the VMR9DeinterlacePrefs enumeration.

Return value

Returns an HRESULT value. Possible values include the following:

Return codeDescription
E_POINTER

NULL pointer argument.

S_OK

Success.

VFW_E_VMR_NOT_IN_MIXER_MODE

The VMR is not in mixer mode.

 

Remarks

By default, the preferred deinterlacing mode is the first mode reported by the driver. The application can set the preferred mode by calling the IVMRDeinterlaceControl9::SetDeinterlaceMode method. If the VMR cannot use the preferred mode, it will fall back to another mode as specified by the dwDeinterlacePrefs parameter.

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