summaryrefslogtreecommitdiff
path: root/src/stereo_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-09 17:05:52 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-09 17:05:52 +0100
commitf853cbd6d1ca683a3403202357b02041626abd84 (patch)
tree60229da5257491ef7509da1913628e691740b3d7 /src/stereo_picture_frame.h
parent205fd96fc2592d5b50c91871fe0f2bd9d79783c5 (diff)
Allow construction of empty PictureFrames; some accessors.
Diffstat (limited to 'src/stereo_picture_frame.h')
-rw-r--r--src/stereo_picture_frame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stereo_picture_frame.h b/src/stereo_picture_frame.h
index ed407cf9..578bb3de 100644
--- a/src/stereo_picture_frame.h
+++ b/src/stereo_picture_frame.h
@@ -40,13 +40,16 @@ class StereoPictureFrame : public boost::noncopyable
{
public:
StereoPictureFrame (boost::filesystem::path mxf_path, int n);
+ StereoPictureFrame ();
~StereoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0, float srgb_gamma = 2.4) const;
void rgb_frame (Eye eye, uint8_t* buffer) const;
uint8_t const * left_j2k_data () const;
+ uint8_t* left_j2k_data ();
int left_j2k_size () const;
uint8_t const * right_j2k_data () const;
+ uint8_t* right_j2k_data ();
int right_j2k_size () const;
private: