for (int y = 0; y < size.height; ++y) {
uint8_t* p = grey->data()[0] + y * grey->stride()[0];
for (int x = 0; x < size.width; ++x) {
for (int y = 0; y < size.height; ++y) {
uint8_t* p = grey->data()[0] + y * grey->stride()[0];
for (int x = 0; x < size.width; ++x) {
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 15);
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 15);
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 0);
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 0);
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 11);
pair<int, int> range = pixel_range (film, content);
BOOST_CHECK_EQUAL (range.first, 11);
- new FFmpegEncoder (film, job, film->file("export.mov"), EXPORT_FORMAT_PRORES, true, false, false, 23)
+ new FFmpegEncoder (film, job, film->file("export.mov"), ExportFormat::PRORES, true, false, false, 23)
)
);
JobManager::instance()->add (job);
BOOST_REQUIRE (!wait_for_jobs());
/* This is a bit of a hack; add the exported file into the project so we can decode it */
)
);
JobManager::instance()->add (job);
BOOST_REQUIRE (!wait_for_jobs());
/* This is a bit of a hack; add the exported file into the project so we can decode it */
pair<int, int> range = dcp_range (movie_V("movie_V_to_dcp"));
/* Video range has been correctly expanded to full for the DCP */
BOOST_CHECK_EQUAL (range.first, 0);
pair<int, int> range = dcp_range (movie_V("movie_V_to_dcp"));
/* Video range has been correctly expanded to full for the DCP */
BOOST_CHECK_EQUAL (range.first, 0);
pair<int, int> range = dcp_range (movie_F("movie_F_to_dcp"));
/* The nearly-full-range of the input has been preserved */
BOOST_CHECK_EQUAL (range.first, 0);
pair<int, int> range = dcp_range (movie_F("movie_F_to_dcp"));
/* The nearly-full-range of the input has been preserved */
BOOST_CHECK_EQUAL (range.first, 0);
{
pair<int, int> range = dcp_range (image_F("image_F_to_dcp"));
BOOST_CHECK_EQUAL (range.first, 0);
{
pair<int, int> range = dcp_range (image_F("image_F_to_dcp"));
BOOST_CHECK_EQUAL (range.first, 0);
}
BOOST_AUTO_TEST_CASE (image_FoV_to_dcp)
{
pair<int, int> range = dcp_range (image_FoV("image_FoV_to_dcp"));
}
BOOST_AUTO_TEST_CASE (image_FoV_to_dcp)
{
pair<int, int> range = dcp_range (image_FoV("image_FoV_to_dcp"));