summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-11-20Move make_black_test into image_test.Carl Hetherington
2020-11-20Some tidying up of test Doxygen.Carl Hetherington
2020-11-20Always add FFOC and LFOC markers (#1805).Carl Hetherington
2020-11-20Tweak comment containing Doxygen text group name.Carl Hetherington
2020-11-17Fix cropping of subsampled images.Carl Hetherington
The calculations for how to crop subsampled components of YUV images were wrong, causing strange effects like misregistration of colour components in cropped images. Should fix #1872.
2020-11-17Use 64-byte alignment for aligned image memory.Carl Hetherington
FFmpeg uses this values if AVX512 is available, and with only 32-byte alignment I am seeing strange scaling effects whereby crop_scale_window_test7 gives black bars down the right side of cropped images (when run on an i7 7700).
2020-11-16Update test references following 26bd62d1e49b63e47fca820c5b4d36c5dacb9bfdCarl Hetherington
2020-11-16Add tests of video range.Carl Hetherington
These should hopefully cover all combinations of input and output range. Fixes #1851.
2020-11-16Make sure we use limited ("video") range data when exporting.Carl Hetherington
Our export formats all currently use limited range but we weren't making sure data fed to the encoders was limited range. Should fix #1832.
2020-11-16Obey requests to change the video range of RGB content.Carl Hetherington
Video that comes in with RGB pixels will not have its video level ranges changed by libswscale (it only does this for YUV and greyscale). Here we add code to do it ourselves for RGB content coming in via image files (e.g. PNG/DPX etc). Part of #1851.
2020-11-02Add some tests.v2.15.106Carl Hetherington
2020-11-02Replace dcp::Data with dcp::ArrayDataCarl Hetherington
2020-10-14Add test for #1857.Carl Hetherington
2020-10-14Fix test DCP index.Carl Hetherington
2020-10-13Remove some debug output.Carl Hetherington
2020-10-13Some macOS test build fixes.Carl Hetherington
2020-10-13Fix a REQUIRE that should be REQUIRE_EQUAL.Carl Hetherington
2020-10-13Hack to allow us to make a valid boost::filesystem::path from aCarl Hetherington
UTF8 constant on Windows. This might actually be a way to get around the fopen_boost hacks.
2020-10-13Modify KDM naming test to use shorter path names on Windows.Carl Hetherington
2020-10-13Remove dependency on srand() and predictable output from rand()Carl Hetherington
to work around a strange problem on Windows where this test would fail with the random values offset by 1 step.
2020-10-13Make socket tests connect explicitly to localhost to try to fixCarl Hetherington
error 1214 on Windows.
2020-10-13Use rand() instead of /dev/urandom to make test files.Carl Hetherington
2020-10-13Fix POSIX path embedded in test check string.Carl Hetherington
2020-10-13Try to make crypo_test more likely to pass.Carl Hetherington
2020-10-13Fix use of DCPOMATIC_TEST_PRIVATE variable to specify whereCarl Hetherington
test private data is.
2020-10-12Fix integer overflow in test.Carl Hetherington
2020-10-12Fix tests after changes made in 4f652387cbeeda9b7b8ace71e047c450acf5c871Carl Hetherington
2020-10-12Remove Image/GraphicsMagick dependency.Carl Hetherington
2020-10-12Fix incorrect sign on boost test constants.Carl Hetherington
2020-10-12Cope with different names for ImageMagick's .pc file (Linux and macOS).Carl Hetherington
2020-10-08Fix up config backup tests.Carl Hetherington
2020-09-29Make unit tests use their own configuration rather than whateverCarl Hetherington
happens to be in $HOME. This is especially important for signer certificates; without this it looks like the ones from $HOME will be used.
2020-09-29Remove debug code.Carl Hetherington
2020-09-27Fixes for new libdcp with multiple content versions.Carl Hetherington
2020-09-26It's not 7.1 until we have 12 channels.v2.15.103Carl Hetherington
2020-09-26Update test ref for new metadata.Carl Hetherington
2020-09-25Add NamedChannel and use it to hide the never-used channelsCarl Hetherington
when mapping into a DCP.
2020-09-23Support CPL metadata.Carl Hetherington
2020-09-21Fix --standard flag to dcpomatic2_cli (github #9).Carl Hetherington
Forward-ported-from-commit: c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 Forward-ported-from-branch: master
2020-08-05Allow export with one audio stream per channel.v2.15.95Carl Hetherington
2020-08-03Add unit test for pulldown detection.Carl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-07-28Add a test to trigger #1786 - crash when exporting 7.1 project to MP4.Carl Hetherington
2020-07-26Disable warnings from magick.Carl Hetherington
2020-07-26Fix test warningCarl Hetherington
2020-07-26Ignore libxml++ warnings in a nicer way.Carl Hetherington
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-06-14Fix error when exporting stereo projects with "mixdown to stereo"v2.15.79Carl Hetherington
set.
2020-06-11Update test/data for removed Film metadata tags Signed and UploadAfterMakeDCPv2.15.78Carl Hetherington
2020-06-08Remove encryption key options (#1760).Carl Hetherington