diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-10 15:05:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-10 15:05:48 +0100 |
| commit | 41ab9a3ad26bb2fd17eca4d99780c46e315c393a (patch) | |
| tree | 67561be4fe87b1e2dd3ae56664baa8c3a033e2aa /examples | |
| parent | da2cb0bddaaca815440a06884cf3364050e03a0e (diff) | |
Rename XYZImage -> OpenJPEGImage.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/read_dcp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc index c7efd77b..4e3f4836 100644 --- a/examples/read_dcp.cc +++ b/examples/read_dcp.cc @@ -32,7 +32,7 @@ #include "stereo_picture_asset.h" #include "sound_asset.h" #include "subtitle_asset.h" -#include "xyz_image.h" +#include "openjpeg_image.h" #include "colour_conversion.h" #include "rgb_xyz.h" #include <Magick++.h> @@ -86,7 +86,7 @@ main () boost::shared_ptr<const dcp::MonoPictureFrame> picture_frame_j2k = picture_asset->get_frame(999); /* Get the frame as an XYZ image */ - boost::shared_ptr<const dcp::XYZImage> picture_image_xyz = picture_frame_j2k->xyz_image (); + boost::shared_ptr<const dcp::OpenJPEGImage> picture_image_xyz = picture_frame_j2k->xyz_image (); /* Convert to ARGB */ boost::scoped_array<uint8_t> rgba (new uint8_t[picture_image_xyz->size().width * picture_image_xyz->size().height * 4]); |
