diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-22 16:23:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-22 16:23:23 +0100 |
| commit | 8349f0c97d98c0b7550ff4c76ad25f8f06270d6a (patch) | |
| tree | bf441e13142b2810ac4e46cf94d4204ec4e037d5 /src/lib/writer.h | |
| parent | 75712cfaf2a8ec8904d7d9552c542a2245bbbc17 (diff) | |
Basics of front-end 3D (as far as viewer, at least).
Diffstat (limited to 'src/lib/writer.h')
| -rw-r--r-- | src/lib/writer.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h index 1e5d86489..023107d97 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -22,6 +22,7 @@ #include <boost/thread.hpp> #include <boost/thread/condition.hpp> #include "exceptions.h" +#include "types.h" class Film; class EncodedData; @@ -56,6 +57,7 @@ public: int size; /** frame index */ int frame; + Eyes eyes; }; bool operator< (QueueItem const & a, QueueItem const & b); @@ -68,16 +70,18 @@ public: bool can_fake_write (int) const; - void write (boost::shared_ptr<const EncodedData>, int); - void fake_write (int); + void write (boost::shared_ptr<const EncodedData>, int, Eyes); + void fake_write (int, Eyes); void write (boost::shared_ptr<const AudioBuffers>); - void repeat (int f); + void repeat (int f, Eyes); void finish (); private: void thread (); void check_existing_picture_mxf (); + bool check_existing_picture_mxf_frame (FILE *, int, Eyes); + bool have_sequenced_image_at_queue_head () const; /** our Film */ boost::shared_ptr<const Film> _film; @@ -101,6 +105,7 @@ private: boost::shared_ptr<const EncodedData> _last_written; /** the index of the last written frame */ int _last_written_frame; + Eyes _last_written_eyes; /** maximum number of frames to hold in memory, for when we are managing ordering */ |
