In real world applications, you may need to implement custom algorithms. The MontiVision Development Kit was designed with this requirement in mind. To implement custom algorithms compatible with the MontiVision Development Kit, they must be implemented as DirectShow® filters. In most cases this would be a DirectShow video transform filter.If you prefer, you may build a new filter using the DirectShow® SDK. That would be the hard way. The easier way to implement your own algorithms for use with DirectShow and the MontiVision Development Kit is to use the MontiVision DirectShow Filter SDK.
The MontiVision Filter SDK greatly simplifies the creation
of DirectShow® video transform filters. The created
filters do have one input pin and one output video pin.
Additionally the filter can have one I/O input pin and one I/O
output pin. To create a new filter, you have to create a standard
C-style DLL with a couple of pre-defined exports. You don't
need DirectShow specific knowledge and the DirectShow®
SDK is not needed to use the Filter SDK. The filter provides a
property page for convienient filter configuration
through the filters COM interface.
You can use the provided project wizards to create a DLL
project containing the required exports within seconds.
The MontiVision Development Kit includes Project Wizards for
Visual C++ 6.0, 7.0 and 7.1. These wizards create a skeleton
MontiVision Filter SDK DLL project, containing the basic
structure of a filter. You can then add your own
functionality to the filter. For more information on these wizards,
see the wizard help page.
The basic order you need to follow in order to create and use your new DirectShow Filter is as follows: