diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-02-02 18:42:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-02-02 18:42:54 +0000 |
| commit | 923d5a17cdbe4c4ae947bbb45493be0792cfd54e (patch) | |
| tree | c30cc659bb94aaf8231bb5f8c790e3d60a3362b1 /src/mono_picture_frame.h | |
| parent | b47a54b85aee24795008463681cb31f4307ffe84 (diff) | |
Unpack XYZ to RGB into an Image class rather than a raw buffer.
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index aaafe398..fde918fb 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -39,6 +39,7 @@ namespace ASDCP { namespace dcp { class ARGBFrame; +class Image; /** @class MonoPictureFrame * @brief A single frame of a 2D (monoscopic) picture asset. @@ -52,7 +53,7 @@ public: ~MonoPictureFrame (); boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0) const; - void rgb_frame (uint16_t* buffer, boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()) const; + void rgb_frame (boost::shared_ptr<Image> rgb, boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()) const; uint8_t const * j2k_data () const; uint8_t* j2k_data (); int j2k_size () const; |
