Share via


IVPConfig::IsVPDecimationAllowed (Compact 2013)

3/26/2014

This method determines if scaling at the video port is possible.

Syntax

HRESULT IsVPDecimationAllowed(
  LPBOOL pbIsDecimationAllowed
);

Parameters

  • pbIsDecimationAllowed
    [out] Pointer to TRUE if decimation is allowed, and to FALSE otherwise.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

HRESULT can include one of the following, or other values not listed.

Value

Description

E_FAIL

Failure.

E_POINTER

NULL pointer argument.

E_INVALIDARG

Invalid argument.

E_NOTIMPL

Not implemented.

NOERROR

No error.

Remarks

The Overlay Mixer filter uses this function to determine whether the driver needs the mixer to decimate video data at its own discretion.

This function can be especially useful in a capture with preview situation in which you would not want the VP mixer filter to perform any scaling at the video port.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPConfig Interface