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/stereo_picture_frame.h | |
| parent | b47a54b85aee24795008463681cb31f4307ffe84 (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.h | 3 |
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; |
