|
IMVVideoFileOverlay
The IMVVideoFileOverlay interface contains methods and
properties to configure the MV Video File Overlay
filter.
Methods:
Header file: IMVVideoFileOverlay.h
Interface definition language file: IMVVideoFileOverlay.idl
Typelib: MVVideoFileOverlay
Interface ID: IID_IMVVideoFileOverlay
Property
IMVVideoFileOverlay::AlphaChannelAvailable
Declaration:
Property Get AlphaChannelAvailable As Boolean
Test if an alpha channel is available.
C Prototype:
HRESULT
put_AlphaChannelAvailable(VARIANT_BOOL newVal);
HRESULT get_AlphaChannelAvailable(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::AspectRatio
Declaration:
Property Get/Put AspectRatio As Boolean
USe the aspect ratio for resizing.
C Prototype:
HRESULT put_AspectRatio(VARIANT_BOOL
newVal);
HRESULT get_AspectRatio(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::BlendingTime
Declaration:
Property Get/Put BlendingTime As Long
In/out blending time period in milliseconds.
C Prototype:
HRESULT put_BlendingTime(LONG
newVal);
HRESULT get_BlendingTime(LONG *pVal);
Property
IMVVideoFileOverlay::DeinterlacingMode
Declaration:
Property Get/Put DeinterlacingMode As Long
Mode for deinterlacing (video file).
| Mode
|
Value
|
Description
|
| DEINTERLACING_MODE_NONE |
0
|
Deinterlacing disabled |
| DEINTERLACING_MODE_BLEND |
1
|
Blend mode. |
| DEINTERLACING_MODE_DUPLICATE |
2
|
Dublicate mode. |
| DEINTERLACING_MODE_SPATIAL |
3
|
Spatial mode. |
| DEINTERLACING_MODE_ADAPTIVE |
4
|
Adaptive mode. |
| DEINTERLACING_MODE_SMOOTH |
5
|
Smooth mode. |
C Prototype:
HRESULT put_DeinterlacingMode(LONG
newVal);
HRESULT get_DeinterlacingMode(LONG *pVal);
Property IMVVideoFileOverlay::Enabled
Declaration:
Property Get/Put Enabled As Boolean
Enable video file overlay.
C Prototype:
HRESULT put_Enabled(VARIANT_BOOL
newVal);
HRESULT get_Enabled(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::EnabledBlending
Declaration:
Property Get/Put EnabledBlending As Boolean
Enable video file overlay in/out blending.
C Prototype:
HRESULT
put_EnabledBlending(VARIANT_BOOL newVal);
HRESULT get_EnabledBlending(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::FileDuration
Declaration:
Property Get FileDuration As Double
Overlay video file duration in seconds.
C Prototype:
HRESULT put_FileDuration(DOUBLE
newVal);
HRESULT get_FileDuration(DOUBLE *pVal);
Property
IMVVideoFileOverlay::FilePosition
Declaration:
Property Get FilePosition As Double
Current overlay video file position in seconds.
C Prototype:
HRESULT put_FilePosition(DOUBLE
newVal);
HRESULT get_FilePosition(DOUBLE *pVal);
Property
IMVVideoFileOverlay::IgnoreVMR
Declaration:
Property Get/Put IgnoreVMR As Boolean
Disable the preferred usage of a Video Mixing Renderer.
C Prototype:
HRESULT put_IgnoreVMR(VARIANT_BOOL
newVal);
HRESULT get_IgnoreVMR(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::InputAlpha
Declaration:
Property Get/Put InputAlpha As Long
Alpha value for video.
C Prototype:
HRESULT put_InputAlpha(LONG
newVal);
HRESULT get_InputAlpha(LONG *pVal);
Property IMVVideoFileOverlay::Loop
Declaration:
Property Get/Put Loop As Boolean
Play video file in an infinite loop.
C Prototype:
HRESULT put_Loop(VARIANT_BOOL
newVal);
HRESULT get_Loop(VARIANT_BOOL *pVal);
Property IMVVideoFileOverlay::Mode
Declaration:
Property Get/Put Mode As Long
Overlay mode.
| Mode
|
Value
|
Description
|
| MV_GDI_OVERLAY_TRANSPARENT |
0
|
Not supported |
| MV_GDI_OVERLAY_CONSTANTALPHA |
1
|
Contant alpha value |
| MV_GDI_OVERLAY_TRANSPARENT_AND_CONSTANTALPHA |
2
|
Not supported |
| MV_GDI_OVERLAY_USE_ALPHA_CHANNEL |
3
|
Not supported |
C Prototype:
HRESULT put_Mode(LONG newVal);
HRESULT get_Mode(LONG *pVal);
Property
IMVVideoFileOverlay::OriginalHeight
Declaration:
Property Get OriginalHeight As Long
Overlay video original height.
C Prototype:
HRESULT put_OriginalHeight(LONG
newVal);
HRESULT get_OriginalHeight(LONG *pVal);
Property
IMVVideoFileOverlay::OriginalWidth
Declaration:
Property Get OriginalWidth As Long
Overlay video original width.
C Prototype:
HRESULT put_OriginalWidth(LONG
newVal);
HRESULT get_OriginalWidth(LONG *pVal);
Property
IMVVideoFileOverlay::PositionMode
Declaration:
Property Get/Put PositionMode As Long
Position mode, absolute or relative.
| Mode
|
Value
|
Description
|
| MV_POSITION_RELATIVE |
0
|
Relative overlay position. |
| MV_POSITION_ABSOLUTE |
0
|
Absolute overlay positon. |
C Prototype:
HRESULT put_PositionMode(LONG
newVal);
HRESULT get_PositionMode(LONG *pVal);
Property
IMVVideoFileOverlay::RelativePosition
Declaration:
Property Get/Put RelativePosition As Long
Relative position.
| Mode
|
Value
|
Description
|
| MV_POSITION_UPPER_LEFT |
0
|
upper left |
| MV_POSITION_UPPER_RIGHT |
1
|
upper right |
| MV_POSITION_LOWER_RIGHT |
2
|
lower right |
| MV_POSITION_LOWER_LEFT |
3
|
lower left |
C Prototype:
HRESULT put_RelativePosition(LONG
newVal);
HRESULT get_RelativePosition(LONG *pVal);
Property
IMVVideoFileOverlay::ResizeEnabled
Declaration:
Property Get/Put ResizeEnabled As Boolean
Enable resizing.
C Prototype:
HRESULT put_ResizeEnabled(VARIANT_BOOL
newVal);
HRESULT get_ResizeEnabled(VARIANT_BOOL *pVal);
Property
IMVVideoFileOverlay::ResizeHeight
Declaration:
Property Get/Put ResizeHeight As Long
Overlay video resized height.
C Prototype:
HRESULT put_ResizeHeight(LONG
newVal);
HRESULT get_ResizeHeight(LONG *pVal);
Property
IMVVideoFileOverlay::ResizeWidth
Declaration:
Property Get/Put ResizeWidth As Long
Overlay video resized width.
C Prototype:
HRESULT put_ResizeWidth(LONG
newVal);
HRESULT get_ResizeWidth(LONG *pVal);
Property
IMVVideoFileOverlay::TransparentColour
Declaration:
Property Get/Put TransparentColour As Long
Transparent colour.
C Prototype:
HRESULT put_TransparentColour(LONG
newVal);
HRESULT get_TransparentColour(LONG *pVal);
Property
IMVVideoFileOverlay::VideoFilePath
Declaration:
Property Get/Put VideoFilePath As String
Overlay video path.
C Prototype:
HRESULT put_VideoFilePath(BSTR
newVal);
HRESULT get_VideoFilePath(BSTR *pVal);
Property
IMVVideoFileOverlay::XPosition
Declaration:
Property Get/Put XPosition As Long
Horizontal position.
C Prototype:
HRESULT put_XPosition(LONG
newVal);
HRESULT get_XPosition(LONG *pVal);
Property
IMVVideoFileOverlay::YPosition
Declaration:
Property Get/Put YPosition As Long
Vertical position.
C Prototype:
HRESULT put_YPosition(LONG
newVal);
HRESULT get_YPosition(LONG *pVal);
|