- Encoder (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l);
-
- /** Called to indicate that a processing run is about to begin */
- virtual void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) = 0;
-
- /** Called with a frame of video.
- * @param i Video frame image.
- * @param f Frame number within the film.
- * @param s A subtitle that should be on this frame, or 0.
- */
- virtual void process_video (boost::shared_ptr<Image> i, int f, boost::shared_ptr<Subtitle> s) = 0;
-
- /** Called with some audio data.
- * @param d Array of pointers to floating point sample data for each channel.
- * @param s Number of frames (ie number of samples in each channel)
- */
- virtual void process_audio (boost::shared_ptr<const AudioBuffers>) = 0;