Supporters update.
[dcpomatic.git] / test / j2k_bandwidth_test.cc
index d7db8999244d54d2dfd5ab01305e386364fd7626..f9e47c4b97d1f0b97de2248a5cc48cfedfd68ac0 100644 (file)
@@ -36,7 +36,6 @@
 
 using std::make_shared;
 using std::string;
-using std::shared_ptr;
 
 
 static void
@@ -59,8 +58,12 @@ check (int target_bits_per_second)
                        dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE,
                        dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE,
                        dcp::VerificationNote::Code::NEARLY_INVALID_PICTURE_FRAME_SIZE_IN_BYTES,
-                       dcp::VerificationNote::Code::INVALID_PICTURE_FRAME_SIZE_IN_BYTES
-               });
+                       dcp::VerificationNote::Code::INVALID_PICTURE_FRAME_SIZE_IN_BYTES,
+                       dcp::VerificationNote::Code::INVALID_JPEG2000_TILE_PART_SIZE,
+               },
+               target_bits_per_second <= 250000000,
+               target_bits_per_second <= 250000000
+               );
 
        boost::filesystem::directory_iterator i (boost::filesystem::path("build") / "test" / name / "video");
        boost::filesystem::path test = *i++;
@@ -81,4 +84,9 @@ BOOST_AUTO_TEST_CASE (bandwidth_test)
        check (150000000);
        check (200000000);
        check (250000000);
+       check (300000000);
+       check (350000000);
+       check (400000000);
+       check (450000000);
+       check (500000000);
 }