- Encoder (boost::shared_ptr<const Film> f, boost::shared_ptr<Job>);
- virtual ~Encoder ();
-
- /** Called to indicate that a processing run is about to begin */
- void process_begin ();
-
- /** Call with a frame of video.
- * @param i Video frame image.
- * @param same true if i is the same as the last time we were called.
- */
- void process_video (boost::shared_ptr<const Image> i, bool same);
-
- /** Call with some audio data */
- void process_audio (boost::shared_ptr<const AudioBuffers>);
-
- /** Called when a processing run has finished */
- void process_end ();
-
- float current_encoding_rate () const;
- int video_frames_out () const;
-
-private:
-
- void frame_done ();
-
- void encoder_thread (ServerDescription *);
- void terminate_threads ();