X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fpicture_frame.h;h=ad51abed2e233500b5cb1f5ef36a000c4c7b101d;hb=4aed3e564381267a36d8707b80f35cafba39fa98;hp=07519455f608419efd5abf7a63e53c52d5c013a8;hpb=233a81ed87d512c2af9bb8ca3d9e78be86372054;p=libdcp.git 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 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 argb_frame (Eye eye, int reduce = 0) const; + ASDCP::JP2K::SFrameBuffer* j2k_frame () const { + return _buffer; + } private: ASDCP::JP2K::SFrameBuffer* _buffer;