共用方式為


IVPConfig interface (vpconfig.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IVPConfig interface must be implemented by any filter that wraps a hardware decoder with a video port. This enables the Overlay Mixer, through its IVPNotify interface, to set and retrieve configuration information on the video port regarding the video memory on the display adapter. This interface derives from IVPBaseConfig.

Applications never use this interface.

Inheritance

The IVPConfig interface inherits from IVPBaseConfig. IVPConfig also has these types of members:

Methods

The IVPConfig interface has these methods.

 
IVPConfig::IsVPDecimationAllowed

The IsVPDecimationAllowed method, given the context, retrieves whether scaling at the video port is possible.
IVPConfig::SetScalingFactors

The SetScalingFactors method sets the factors by which the decoder should scale the video stream.

Remarks

Include Dvp.h and Vptype.h before Vpconfig.h.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vpconfig.h

See also

IVPBaseConfig

IVPBaseNotify

IVPNotify2