summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-02-01C++11-ification.Carl Hetherington
2021-02-01Add noise to very small J2K frames (#1902).Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-30Rename debug type THREED to THREED_D.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-26Fix label alignment.Carl Hetherington
2021-01-22c++11 tidying.Carl Hetherington
2021-01-22Test fixes.Carl Hetherington
2021-01-22Check FFOC correctly.Carl Hetherington
2021-01-22C++ tidying.Carl Hetherington
2021-01-22Test updates for libdcp fix to the duration of Marker assets.Carl Hetherington
2021-01-22c++11 tidying.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington
2021-01-20Bump libdcp for better verification, and make API adjustments.Carl Hetherington
2021-01-08New libcxml API.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-22Pass fonts from content around as FontData.Carl Hetherington
i.e. as a block of memory rather than a file. Also, get the fonts from the decoder rather than the content. Together, these changes allow us to use fonts from SMPTE DCPs added as content. Before, fonts would be messed up in those cases (#1885).
2020-12-11Fix lots of macOS warnings by using a different boost/bind include.Carl Hetherington
2020-12-10Fix macOS build.Carl Hetherington
2020-12-08In a DCP with any subs/ccaps, make sure every reel has them (#1340).Carl Hetherington
2020-12-08Fix test build on macOS.Carl Hetherington
2020-12-08Write subtitles and closed captions to a test DCP in the hints thread,Carl Hetherington
then check the result for Bv2.1 violations (part of #1800).
2020-12-06Remove a pointless parameter that the callee can calculate.Carl Hetherington
2020-12-06Add some hints for violations of SMPTE Bv2.1 with subtitles and closedCarl Hetherington
captions.
2020-12-03Add basic unit test for the disk writer code.Carl Hetherington
2020-12-03Enable TYPE_DISK logging by default.Carl Hetherington
2020-12-03Obey audio timestamps if they don't deviate by more than some threshold.Carl Hetherington
Previously we would ignore audio timestamps because they are not contiguous in a sample-accurate way. However with bugs like #1833 we do need to obey large discontinuities in audio timestamps, otherwise we get large sync errors. Here we change timestamp handling to ignore small discontinuities in timestamps but not larger ones.
2020-12-01Give Butler a weak_ptr<Film>Carl Hetherington
2020-11-30Fix test build.Carl Hetherington
2020-11-29Move some test references into test-private.Carl Hetherington
2020-11-28Fix over-read behaviour of FileGroup to be the same on all platforms.Carl Hetherington
Instead of relying on the operating system's behaviour when seeking off the end of a file, keep our own _position. This normalises the behaviour between POSIX and Windows.
2020-11-26More macOS build fixes.Carl Hetherington
2020-11-26macOS build fix.Carl Hetherington
2020-11-26Calculate hashes for any referenced assets that do not already have one.Carl Hetherington
This is necessary so that we always include <Hash> in CPLs even when referencing DCPs that do not have it.
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).