summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-02 18:42:54 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-02 18:42:54 +0000
commit923d5a17cdbe4c4ae947bbb45493be0792cfd54e (patch)
treec30cc659bb94aaf8231bb5f8c790e3d60a3362b1 /src/mono_picture_frame.h
parentb47a54b85aee24795008463681cb31f4307ffe84 (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.h3
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;