MV Alignment DirectShow Filter
The MontiVision Alignment filter rotates and displaces the input
video stream.
| File: |
Alignment.ax |
| CLSID: |
CLSID_MVAlignment |
Interface
IMVAlignment
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVFilterData
IMVAbout
IMVFilterInfo
Supported COM Events
The filter supports following events through the IMVFilterEvents interface.
Look at the filter events page
for more information.
| Event
|
Value
|
Description
|
| MV_ALGORITHM_START_EVENT |
0
|
A filter starts processing a video frame or sample. |
| MV_ALGORITHM_END_EVENT |
1
|
A filter finishes processing a video frame or sample. |
Supported I/O Pins
| I/O Pin
|
Corresponding method
|
Discription
|
|
Angle In
[Double]
[INT16]
|
IMVAlignment::put_Angle |
Sets the rotation angle. |
xPosition
[UINT16] |
IMVAlignment::put_xPosition |
Sets the output position for
the videos horizontal centre.
E.G. if the video stream width is 640 pixels and the
xPosition is set to 320, the video stream will not be horizontally
displaced. If xPosition is 300, the video stream will
be shifted 20 pixels to the left.
|
yPosition
[UINT16] |
IMVAlignment::put_yPosition |
Sets the output
position for the video's vertical centre. |
Attention:
I/O Pins are dominant, that means that they have a
higher priority than the corresponding method of the filters
interface!
MV Alignment Property Page
Uses the IMVAlignment
configuration interface.
| Angle |
Rotation angle |
| Horizontal
offset |
Output position for the
video's horizontal centre. |
| Vertical
offset |
Output position for the
video's vertical centre. |
|
Interpolation |
Nearest neighbour, linear or cubic
interpolation. |
| Background
colour |
Colour for filling the background
regions. |
|