Condividi tramite


IVMRImagePresenterConfig9 interface (vmr9.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 IVMRImagePresenterConfig interface provides methods for setting the rendering preferences on the allocator-presenter used by the Video Mixing Renderer Filter 9 (VMR-9).

Applications should not use this interface directly. The VMR-9 filter's IVMRFilterConfig9 interface calls methods on this interface. The default allocator-presenter implements this interface. Custom allocator-presenters can also expose this interface.

Inheritance

The IVMRImagePresenterConfig9 interface inherits from the IUnknown interface. IVMRImagePresenterConfig9 also has these types of members:

Methods

The IVMRImagePresenterConfig9 interface has these methods.

 
IVMRImagePresenterConfig9::GetRenderingPrefs

The GetRenderingPrefs method gets the current rendering preferences from the VMR-9 filter's allocator-presenter.
IVMRImagePresenterConfig9::SetRenderingPrefs

The SetRenderingPrefs method sets the rendering preferences on the VMR-9 filter's allocator-presenter.

Remarks

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Target Platform Windows
Header vmr9.h

See also

Using the Video Mixing Renderer