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/round_trip_test.cc | |
| parent | da2cb0bddaaca815440a06884cf3364050e03a0e (diff) | |
Rename XYZImage -> OpenJPEGImage.
Diffstat (limited to 'test/round_trip_test.cc')
| -rw-r--r-- | test/round_trip_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc index 39db697b..2d10764a 100644 --- a/test/round_trip_test.cc +++ b/test/round_trip_test.cc @@ -32,7 +32,7 @@ #include "reel_picture_asset.h" #include "reel_mono_picture_asset.h" #include "file.h" -#include "xyz_image.h" +#include "openjpeg_image.h" #include "rgb_xyz.h" #include "colour_conversion.h" #include <boost/test/unit_test.hpp> @@ -106,8 +106,8 @@ BOOST_AUTO_TEST_CASE (round_trip_test) BOOST_CHECK (!kdm_B.keys().empty ()); asset_B->set_key (kdm_B.keys().front().key()); - shared_ptr<dcp::XYZImage> xyz_A = asset_A->get_frame(0)->xyz_image (); - shared_ptr<dcp::XYZImage> xyz_B = asset_B->get_frame(0)->xyz_image (); + shared_ptr<dcp::OpenJPEGImage> xyz_A = asset_A->get_frame(0)->xyz_image (); + shared_ptr<dcp::OpenJPEGImage> xyz_B = asset_B->get_frame(0)->xyz_image (); scoped_array<uint8_t> frame_A (new uint8_t[xyz_A->size().width * xyz_A->size().height * 4]); dcp::xyz_to_rgba (xyz_A, dcp::ColourConversion::srgb_to_xyz(), frame_A.get()); |
