diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-09 17:05:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-09 17:05:52 +0100 |
| commit | f853cbd6d1ca683a3403202357b02041626abd84 (patch) | |
| tree | 60229da5257491ef7509da1913628e691740b3d7 /src/mono_picture_frame.h | |
| parent | 205fd96fc2592d5b50c91871fe0f2bd9d79783c5 (diff) | |
Allow construction of empty PictureFrames; some accessors.
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index 57e890a8..707c54cd 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -46,11 +46,13 @@ class MonoPictureFrame : public boost::noncopyable { public: MonoPictureFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext *); + MonoPictureFrame (); ~MonoPictureFrame (); boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const; void rgb_frame (uint8_t* buffer) const; uint8_t const * j2k_data () const; + uint8_t* j2k_data (); int j2k_size () const; private: |
