summaryrefslogtreecommitdiff
path: root/src/picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-17 11:52:33 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-17 11:52:33 +0100
commit4bcd365d3dba8d640d79685209b7a306b508c3e3 (patch)
treeaed1586c2b891f5adcc4e9ed133d7eeebdef99d6 /src/picture_frame.h
parent5af212137eab93ed4503eeb8e712f01838e50c92 (diff)
Tidy up diffing of frames a bit.
Diffstat (limited to 'src/picture_frame.h')
-rw-r--r--src/picture_frame.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/picture_frame.h b/src/picture_frame.h
index 07519455..ad51abed 100644
--- a/src/picture_frame.h
+++ b/src/picture_frame.h
@@ -41,6 +41,9 @@ public:
~MonoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0) const;
+ ASDCP::JP2K::FrameBuffer* j2k_frame () const {
+ return _buffer;
+ }
private:
ASDCP::JP2K::FrameBuffer* _buffer;
@@ -54,6 +57,9 @@ public:
~StereoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0) const;
+ ASDCP::JP2K::SFrameBuffer* j2k_frame () const {
+ return _buffer;
+ }
private:
ASDCP::JP2K::SFrameBuffer* _buffer;