X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fimage_test.cc;h=21363b5efd24b73885c32e23730bcf23074c7c0e;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=5561f021c5a57afb3c489910a6de6213a9778ce3;hpb=f07d5125a7b609320682689abe40781f096ca25e;p=dcpomatic.git diff --git a/test/image_test.cc b/test/image_test.cc index 5561f021c..21363b5ef 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -186,7 +186,7 @@ crop_scale_window_single (AVPixelFormat in_format, dcp::Size in_size, Crop crop, } } } - + /* Convert using separate methods */ boost::shared_ptr sep = test->crop (crop, true); sep = sep->scale (inter_size, dcp::YUV_TO_RGB_REC601, PIX_FMT_RGB24, true); @@ -235,7 +235,7 @@ BOOST_AUTO_TEST_CASE (crop_scale_window_test) BOOST_AUTO_TEST_CASE (alpha_blend_test) { int const stride = 48 * 4; - + shared_ptr A (new Image (AV_PIX_FMT_RGBA, dcp::Size (48, 48), false)); A->make_black (); uint8_t* a = A->data()[0]; @@ -289,7 +289,7 @@ BOOST_AUTO_TEST_CASE (alpha_blend_test) BOOST_AUTO_TEST_CASE (merge_test1) { int const stride = 48 * 4; - + shared_ptr A (new Image (AV_PIX_FMT_RGBA, dcp::Size (48, 48), false)); A->make_transparent (); uint8_t* a = A->data()[0];