i
i
i
i
i
i
i
i
16.7. Making a Stereo Movie from Image Sequences 473
declaration of a member variable of type CPushPinOnBSF
*
which is used
to store a pointer to the filter’s output pin. Most of the work of the filter
takes place in the output pin object. This has to provide functions to tell
the downstream filters what type of media they can expect (in our case it is
24-bit RGB bitmaps) and how big the connecting buffer (between filters) has
to be. Most importantly, it must have a method to fill the output buffer with the
bitmap pixels from the image sequence and provide correct timing information.
Listing 16.20 shows the structure of the two classes that encapsulate the
filter’s behavior. Listing 16.21 provides an overview of the class methods.
Listing 16.22 details ...