Поделиться через


IVPConfig Interface (Windows Embedded CE 6.0)

1/6/2010

This interface enables a video port (VP) or overlay mixer filter to communicate with a VP driver (decoder), to set and retrieve configuration information.

This interface assumes that the mixer filter creates the video port.

This interface derives from IVPBaseConfig. See also IVPBaseNotify and IVPNotify.

When to Implement

The Windows Driver Model (WDM) Ksproxy filter implements this interface so you will not need to implement it in most cases.

Implement this interface when you need this functionality on a platform that does not support WDM, or when you need to alter the default behavior.

When to Use

The Overlay Mixer filter uses this interface so you will not need to use it in most cases.

Use this interface when you implement your own overlay mixer filter.

Methods in Vtable Order

The following tables show the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.

IVPBaseConfig method Description

GetConnectInfo

Retrieves connection information structures.

SetConnectInfo

Sets the index for the current video port connection information.

GetVPDataInfo

Retrieves the current video port data information.

GetMaxPixelRate

Retrieves the maximum pixels per second rate for a given width and height.

InformVPInputFormats

Informs the device what video formats the video port supports.

GetVideoFormats

Retrieves the video formats the decoder supports.

SetVideoFormat

Sets the format that the video will use.

SetInvertPolarity

Reverses the current polarity the decoder uses.

GetOverlaySurface

Determines whether the overlay mixer should use the driver's overlay surface and if so retrieves a pointer to the surface.

SetDirectDrawKernelHandle

Sets the DirectDraw kernel handle for the decoder's minidriver to use.

SetVideoPortID

Sets the port ID that the video will use.

SetDDSurfaceKernelHandles

Sets the kernel handles that the DirectDraw surface will use.

SetSurfaceParameters

Tells the capture driver about the surface created on its behalf by the Overlay Mixer or VBI surface filter.

IVPConfig method Description

IsVPDecimationAllowed

Determines if scaling at the video port is possible.

SetScalingFactors

Sets the factors by which the decoder should scale the video stream.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Interfaces