|
IMVVMRFilterConfig
IMVVMRFilterConfig Interface wraps the IVMRFilterConfig and
IVMRFilterConfig9 interface from the VMR-7 and VMR-9 direct show
filter.
Look at the DirectShow SDK documentation for more details about
the VMRs and these interfaces and methods.
| GetNumberOfStreams
|
The
GetNumberOfStreams method retrieves the number of input streams
being mixed.
|
| GetRenderingMode
|
The
GetRenderingMode method retrieves the rendering mode currently
being used by the VMR.
|
| GetRenderingPrefs
|
The
GetRenderingPrefs method retrieves the current set of rendering
preferences being used by the VMR.
|
| SetImageCompositor
|
The
SetImageCompositor method installs an application-provided image
compositor.
|
| SetNumberOfStreams
|
The
SetNumberOfStreams method sets the number of streams to be mixed
and instructs the VMR to go into mixer mode.
|
| SetRenderingMode
|
The
SetRenderingMode method sets the rendering mode used by the
VMR.
|
| SetRenderingPrefs
|
The SetRenderingPrefs method sets various application
preferences related to video rendering. |
Method
IMVVMRFilterConfig::GetNumberOfStreams
Declaration:
Function GetNumberOfStreams As Long
The GetNumberOfStreams method retrieves the number of input
streams being mixed.
Prototype:
HRESULT GetNumberOfStreams(LONG*
value);
Method
IMVVMRFilterConfig::GetRenderingMode
Declaration:
Function GetRenderingMode As Long
The GetRenderingMode method retrieves the rendering mode currently
being used by the VMR.
Prototype:
HRESULT GetRenderingMode(LONG*
value);
Method
IMVVMRFilterConfig::GetRenderingPrefs
Declaration:
Function GetRenderingPrefs As Long
The GetRenderingPrefs method retrieves the current set of
rendering preferences being used by the VMR.
Prototype:
HRESULT GetRenderingPrefs(LONG*
value);
Method
IMVVMRFilterConfig::SetImageCompositor
Declaration: Sub
SetImageCompositor(VMRImgCompositor As Unknown)
The SetImageCompositor method installs an application-provided
image compositor.
Parameter:
|
|
VMRImgCompositor |
Interface to the image compositor. |
Prototype:
HRESULT SetImageCompositor(IUnknown*
VMRImgCompositor);
Method
IMVVMRFilterConfig::SetNumberOfStreams
Declaration: Sub
SetNumberOfStreams(MaxStreams As Long)
The SetNumberOfStreams method sets the number of streams to be
mixed and instructs the VMR to go into mixer mode.
Parameter:
|
|
MaxStreams |
Maximum number os streams. |
Prototype:
HRESULT SetNumberOfStreams(LONG
MaxStreams);
Method
IMVVMRFilterConfig::SetRenderingMode
Declaration: Sub
SetRenderingMode(Mode As Long)
The SetRenderingMode method sets the rendering mode used by the
VMR.
Parameter:
Prototype:
HRESULT SetRenderingMode(LONG
Mode);
Method
IMVVMRFilterConfig::SetRenderingPrefs
Declaration: Sub
SetRenderingPrefs(RenderFlags As Long)
The SetRenderingPrefs method sets various application preferences
related to video rendering.
Parameter:
|
|
RenderFlags |
Render flags. |
Prototype:
HRESULT SetRenderingPrefs(LONG
RenderFlags);
|