Add some more bandwidths to a test.
authorCarl Hetherington <cth@carlh.net>
Sat, 22 Apr 2023 19:20:12 +0000 (21:20 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 22 Apr 2023 19:20:12 +0000 (21:20 +0200)
test/j2k_bandwidth_test.cc

index 70182f409631489a3386169fa7102583586afeec..04e30d651511c8473b6303199c9b73190b164c9c 100644 (file)
@@ -58,7 +58,8 @@ 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::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,
                });
 
        boost::filesystem::directory_iterator i (boost::filesystem::path("build") / "test" / name / "video");
                });
 
        boost::filesystem::directory_iterator i (boost::filesystem::path("build") / "test" / name / "video");
@@ -80,4 +81,9 @@ BOOST_AUTO_TEST_CASE (bandwidth_test)
        check (150000000);
        check (200000000);
        check (250000000);
        check (150000000);
        check (200000000);
        check (250000000);
+       check (300000000);
+       check (350000000);
+       check (400000000);
+       check (450000000);
+       check (500000000);
 }
 }