Accessing the image data of a video stream from within a
DirectShow windows application
You can use the MontiVision Buffer Access
filter to get direct buffer access to the image data from
within an application. Your application has to implement the
IMVBufferAccessCallbackC
or IMVBufferAccessCallbackVB
interface which will be called by the MV Buffer Access filter
for every processed frame. The following configuration makes use of
the MV Buffer Access filter. Of course you can add additional image processing
filters before and after the MV Buffer Access filter if
you need pre or post processing functionality.

A filter configuration that gives direct buffer access to an
application
The following steps have to
be followed to create an application which utilises direct
buffer access.
- Create an
imaging configuration including the MV Buffer Access
filter
- Include the MontiVision Smart
Control into your application
- Implement the IMVBufferAccessCallbackC or
IMVBufferAccessCallbackVB
callback into your application
- Load and start the configuration file using the control
- Get the COM interface of the MV Buffer Access interface
- Deliver a IUnknown pointer of your application to the MV Buffer
Access filter
|