summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-11-25Fix corrupted image when over-cropping black filler frames.Carl Hetherington
FFmpegDecoder can emit small black frames (128x128 pixels) when it wants to fill in a gap. Image::crop_scale_window would do the wrong thing if we then applied a crop of greater than 128 in either direction; though cropped_size is correctly clamped, the crop value itself was not and is used to calculate the input data pointers. This would result in random frames, usually at the end of DCPs, often made up of blurry colour washes.
2020-11-24Fix the behaviour of FileGroup when seeking too far.Carl Hetherington
Previously, if you did a seek off the end of the file group, the seek would return an error. This is not what fseek() does; it returns no error, and preserves the file pointer (returned by ftell()) as if the seek had been successful. fread()s after a too-far seek return no data, of course. Parsing some files (the example used to find the bug was a H264 MP4) involves a seek which is to the byte after the end of the mp4 file. If this fails the whole header parsing fails and DCP-o-matic refuses to use the file.
2020-11-23Remove swaroop variant.Carl Hetherington
2020-11-21Test update for auto-addition of markers.Carl Hetherington
2020-11-21Subtitle language test updates.Carl Hetherington
2020-11-21Update test data now that empty Language tags are not written.Carl Hetherington
2020-11-20Subtitle language handling tweaks; write multiple subtitle languagesCarl Hetherington
to SMPTE extended metadata.
2020-11-20Recover subtitle language metadata from the places is was writtenCarl Hetherington
in older films.
2020-11-20Remove subtitle language from text content.Carl Hetherington
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