summaryrefslogtreecommitdiff
path: root/src/picture_frame.h
diff options
context:
space:
mode:
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;