X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscoder.h;h=007065b658cd7240f15001f1361f549aa1378493;hb=9b240c6d5d4e2189401498a99f98f41d1b15ed31;hp=2d032fcf640538ca06f99780f2be9a97b4fb7004;hpb=6809fdcbf8c65afe3c986b0e2b430d55ce7b124c;p=dcpomatic.git diff --git a/src/lib/transcoder.h b/src/lib/transcoder.h index 2d032fcf6..007065b65 100644 --- a/src/lib/transcoder.h +++ b/src/lib/transcoder.h @@ -17,6 +17,8 @@ */ +#include "types.h" + /** @file src/transcoder.h * * A decoder is selected according to the content type, and the encoder can be specified @@ -26,10 +28,7 @@ class Film; class Job; class Encoder; -class Matcher; class VideoFilter; -class Gain; -class DelayLine; class Player; /** @class Transcoder @@ -37,22 +36,22 @@ class Player; * A decoder is selected according to the content type, and the encoder can be specified * as a parameter to the constructor. */ -class Transcoder +class Transcoder : public boost::noncopyable { public: Transcoder ( - boost::shared_ptr f, + boost::shared_ptr f, boost::shared_ptr j ); void go (); -protected: + float current_encoding_rate () const; + int video_frames_out () const; + +private: /** A Job that is running this Transcoder, or 0 */ boost::shared_ptr _job; boost::shared_ptr _player; boost::shared_ptr _encoder; - boost::shared_ptr _matcher; - boost::shared_ptr _delay_line; - boost::shared_ptr _gain; };