summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-02 22:33:27 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-02 22:33:27 +0000
commit989f182558193a51e0a26603fb2ca59f827216a0 (patch)
tree7d2b2511967e5417838a4343341e5aa9d26cf2b8 /src/mono_picture_frame.h
parent0d7fe66361a40702cb97357955cf35256f1d2c26 (diff)
Remove Image and ARGBImage and just dump RGB data into
uint8_t* buffers. This is hopefully simpler than trying to come up with some Image hierarchy that suits everything.
Diffstat (limited to 'src/mono_picture_frame.h')
-rw-r--r--src/mono_picture_frame.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h
index c9183a12..91089262 100644
--- a/src/mono_picture_frame.h
+++ b/src/mono_picture_frame.h
@@ -38,8 +38,7 @@ namespace ASDCP {
namespace dcp {
-class ARGBImage;
-class Image;
+class XYZImage;
/** @class MonoPictureFrame
* @brief A single frame of a 2D (monoscopic) picture asset.
@@ -52,8 +51,8 @@ public:
MonoPictureFrame ();
~MonoPictureFrame ();
- boost::shared_ptr<ARGBImage> argb_image (int reduce = 0) const;
- void rgb_frame (boost::shared_ptr<Image> rgb, boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()) const;
+ boost::shared_ptr<XYZImage> xyz_image (int reduce = 0) const;
+
uint8_t const * j2k_data () const;
uint8_t* j2k_data ();
int j2k_size () const;