summaryrefslogtreecommitdiff
path: root/src/picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-25 01:21:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-25 01:21:51 +0000
commit103c20d48c22f0c604e402de41bce7336ef9b386 (patch)
tree67d9483b0a1133cc115765a84d2265290ade9447 /src/picture_frame.h
parentdcdd532760f8970505b7fa5c83f86fbe39a73148 (diff)
Allow changing of MXF directory / filename; un-expose ASDCP frame buffer classes in the API.
Diffstat (limited to 'src/picture_frame.h')
-rw-r--r--src/picture_frame.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/picture_frame.h b/src/picture_frame.h
index ad51abed..20ce069e 100644
--- a/src/picture_frame.h
+++ b/src/picture_frame.h
@@ -41,9 +41,8 @@ public:
~MonoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0) const;
- ASDCP::JP2K::FrameBuffer* j2k_frame () const {
- return _buffer;
- }
+ uint8_t const * j2k_data () const;
+ int j2k_size () const;
private:
ASDCP::JP2K::FrameBuffer* _buffer;
@@ -57,9 +56,10 @@ public:
~StereoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0) const;
- ASDCP::JP2K::SFrameBuffer* j2k_frame () const {
- return _buffer;
- }
+ uint8_t const * left_j2k_data () const;
+ int left_j2k_size () const;
+ uint8_t const * right_j2k_data () const;
+ int right_j2k_size () const;
private:
ASDCP::JP2K::SFrameBuffer* _buffer;