summaryrefslogtreecommitdiff
path: root/test/test.h
AgeCommit message (Collapse)Author
2025-10-15Relax and tidy some test references for Arch.Carl Hetherington
2025-09-23Return quite close to original approach for "no colour conversion".Carl Hetherington
There's a few things going on here: 1. Improve the regression test for 3042. Previously we made a DCP from the reporter's _original_ prores file (before they converted it to XYZ) and compared the result to a reference J2K file of uncertain origin. This seems wrong because: a) We never got confirmation from the reporter that the fix worked for them, so any arbitrary reference is dubious. b) It doesn't seem to reflect their actual complaint, which was that they got a different result when making a DCP from XYZ TIFFs compared to their "XYZ" Prores. The new test makes a DCP from their TIFFs and "XYZ" Prores and compares the result. 2. Revert to the old approach to "no conversion" handling. In the good old days we did everything -> RGB48LE except XYZ12LE -> XYZ12LE, and that's what we do again here. 3. Change the YUV->RGB conversion from Rec.601 to Rec.709 for the "no conversion" case. This fixes the 3042 regression test. The supposed "XYZ" Prores is yuv444p12le according to ffprobe. So I think what we have here is actually a file that was converted to XYZ and then back to YUV by Resolve. I experimented with using the raw YUV values and considering them as XYZ but this was clearly wrong. I think 3 is probably what I should have done in the first place.
2025-09-22Rename check_one_frame -> check_one_frame_against_j2cCarl Hetherington
2025-05-26Fix incorrect colours with "no colourspace conversion" sources that are not ↵Carl Hetherington
AV_PIX_FMT_XYZ12LE. Prepare the image for where it is going to next. I don't understand the difference in this situation between XYZ12LE and RGB48LE (it seems they are both 16-bit-per-channel) but there you go.
2025-01-18Add parameter names.Carl Hetherington
2024-05-29Use ConfigRestorer to reset override_path after use.Carl Hetherington
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-05-21Replace all new_test_film with new_test_film2.Carl Hetherington
2024-03-20Allow building with C++17 and updated libxml++/pangomm/cairomm.Carl Hetherington
2024-01-15Inspect most DCPs made during tests with ClairMeta (#76).Carl Hetherington
2024-01-15Inspect most DCPs made during tests with dcp_inspect (#76).Carl Hetherington
2023-07-29Don't check sound assets in some tests.Carl Hetherington
When fiddling with MXF channel counts it makes a lot of tests fail that probably don't need to.
2023-05-13Add verify_dcp().Carl Hetherington
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-09-26Move Editor class to test.{cc,h}Carl Hetherington
2022-05-02Add find_file from libdcp.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2021-11-04Add ConfigRestorer and use it instead of setup_test_config() directly.Carl Hetherington
2021-04-23Add some new check methods.Carl Hetherington
2021-02-28Try again to fix windows tests.Carl Hetherington
2021-02-27Try to fix text-file-checking test on Windows.Carl Hetherington
2021-02-23Verify a whole bunch of DCPs made by unit tests.Carl Hetherington
2021-02-02Reduce the disk space needed when running tests.v2.15.124Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-10-13Fix use of DCPOMATIC_TEST_PRIVATE variable to specify whereCarl Hetherington
test private data is.
2020-10-12Remove Image/GraphicsMagick dependency.Carl Hetherington
2020-07-26Disable warnings from magick.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-05-20More logging and make it go to the right place.Carl Hetherington
2020-05-18Add new version of check_dcp().Carl Hetherington
2020-03-11Move private_data into TestPathsCarl Hetherington
2020-03-11Add failing test for one short-reel possibility.Carl Hetherington
2019-11-04Fix incorrect images when cropping without stretch.Carl Hetherington
Always overallocate images so that Image::crop_scale_window is always safe from over-reading buffers. Relates to #1654 and probably #1653.
2019-10-21Copy with progress updates when we might copy long files (#1574).Carl Hetherington
2018-07-09Don't write multiple <LoadFont> tags to Interop subtitles (#1273).Carl Hetherington
2018-02-28Tweak error threshold for an image comparison involving subtitles.Carl Hetherington
2018-02-13Add some tolerance when checking audio references.Carl Hetherington
2018-02-13Recover test config after config_test.cc runs.Carl Hetherington
2017-10-17Remove unused variable.Carl Hetherington
2017-09-02More end-to-end sound tests.Carl Hetherington
2017-09-01Fix up remake_with_subtitle_test.Carl Hetherington
2017-08-26Add new_test_film2; disable auto audio analysis during tests.Carl Hetherington
2017-07-28Fix failing test due to header differences.Carl Hetherington
2017-05-30Check content_test1 output.Carl Hetherington
2017-05-30Rename test method.Carl Hetherington
2017-05-24Implement alpha_blend for YUV420P and YUV420P10. Improve unit test.Carl Hetherington
2016-07-08Fix failure to analyse audio in some cases.Carl Hetherington
This fixes audio-only content when the first-emitted audio is not at time zero. This used to cause a seek which is not possible with audio-only. This commit removes the unnecessary seek which was due to missing silent-padding of the first-emitted audio.
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington