summaryrefslogtreecommitdiff
path: root/src/stereo_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/stereo_picture_frame.h
parentb47a54b85aee24795008463681cb31f4307ffe84 (diff)
Unpack XYZ to RGB into an Image class rather than a raw buffer.
Diffstat (limited to 'src/stereo_picture_frame.h')
-rw-r--r--src/stereo_picture_frame.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stereo_picture_frame.h b/src/stereo_picture_frame.h
index 7c4d6767..d1aa6137 100644
--- a/src/stereo_picture_frame.h
+++ b/src/stereo_picture_frame.h
@@ -34,6 +34,7 @@ namespace ASDCP {
namespace dcp {
class ARGBFrame;
+class Image;
/** A single frame of a 3D (stereoscopic) picture asset */
class StereoPictureFrame : public boost::noncopyable
@@ -44,7 +45,7 @@ public:
~StereoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0) const;
- void rgb_frame (Eye eye, uint16_t* buffer) const;
+ void rgb_frame (Eye eye, boost::shared_ptr<Image>) const;
uint8_t const * left_j2k_data () const;
uint8_t* left_j2k_data ();
int left_j2k_size () const;