diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-01 23:53:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-01 23:53:06 +0100 |
| commit | a68b877d96a9e9f366f27752e071bc0e895e9dc7 (patch) | |
| tree | 11a32d1efd6abf182b03ce22f1f1fe84258bb7de /src/mono_picture_frame.h | |
| parent | f9cba324c8160a70b108d9e5b60a4ccad6ee9be2 (diff) | |
Add Reader classes to permit much more efficient DCP reading.
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index 9e7a9926..6c004969 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -32,6 +32,7 @@ namespace ASDCP { namespace JP2K { class FrameBuffer; + class MXFReader; } class AESDecContext; } @@ -46,7 +47,6 @@ class OpenJPEGImage; class MonoPictureFrame : public boost::noncopyable { public: - MonoPictureFrame (boost::filesystem::path path, int n, ASDCP::AESDecContext *); MonoPictureFrame (boost::filesystem::path path); MonoPictureFrame (uint8_t const * data, int size); ~MonoPictureFrame (); @@ -58,6 +58,10 @@ public: int j2k_size () const; private: + friend class MonoPictureAssetReader; + + MonoPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, ASDCP::AESDecContext *); + ASDCP::JP2K::FrameBuffer* _buffer; }; |
