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 /test/decryption_test.cc | |
| parent | da2cb0bddaaca815440a06884cf3364050e03a0e (diff) | |
Rename XYZImage -> OpenJPEGImage.
Diffstat (limited to 'test/decryption_test.cc')
| -rw-r--r-- | test/decryption_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc index 0974b85d..16b2c469 100644 --- a/test/decryption_test.cc +++ b/test/decryption_test.cc @@ -26,7 +26,7 @@ #include "reel_picture_asset.h" #include "reel.h" #include "test.h" -#include "xyz_image.h" +#include "openjpeg_image.h" #include "rgb_xyz.h" #include "colour_conversion.h" #include <boost/test/unit_test.hpp> @@ -47,7 +47,7 @@ get_frame (dcp::DCP const & dcp) shared_ptr<const dcp::MonoPictureAsset> mono_picture = dynamic_pointer_cast<const dcp::MonoPictureAsset> (picture); shared_ptr<const dcp::MonoPictureFrame> j2k_frame = mono_picture->get_frame (0); - shared_ptr<dcp::XYZImage> xyz = j2k_frame->xyz_image(); + shared_ptr<dcp::OpenJPEGImage> xyz = j2k_frame->xyz_image(); uint8_t* argb = new uint8_t[xyz->size().width * xyz->size().height * 4]; dcp::xyz_to_rgba (j2k_frame->xyz_image(), dcp::ColourConversion::srgb_to_xyz(), argb); |
