summaryrefslogtreecommitdiff
path: root/test/video_level_test.cc
AgeCommit message (Collapse)Author
2025-10-15Relax and tidy some test references for Arch.Carl Hetherington
2025-08-12Replace AVPixelFormat parameter to PlayerVideo::image with a functor.Carl Hetherington
This was removed in df9b4676aba8b941f124b174393988cad21677e1 and surrounding commits, but it turns out we need it after all.
2025-07-15Change Film::examine_and_add_content to take a vector of content.Carl Hetherington
2025-05-26Remove functors for choosing pixel format output from make_image().Carl Hetherington
2025-01-20Pass tolerant flag into Player.Carl Hetherington
This is needed because the DCPDecoder ends up needing it when it reads reel information from CPLs. Maybe all that stuff should be in our metadata.
2024-07-03Bump libdcp to get FFmpeg 7.0.1.Carl Hetherington
This involves fixing a test whose references were wrong, as far as I can see. The new comment reflects what I think should have been happening the whole time.
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-04-21Rename Encoder -> FilmEncoder, and subclasses.Carl Hetherington
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2024-03-11Use openjpeg v2.5.2 (#2783).Carl Hetherington
Tests suggest it is considerably faster: * arrietty on Linux/AMD old: 03:35 new: 03:58 * Sintel.2010.1080p.mkv on Linux/AMD old: 0:29:49 new: 0:22:39 * TRAILER VERSIE 4.mov on Apple M1 old: 6:22 new: 5:15 * TRAILER VERSIE 4.mov on Windows/Intel old: 6:10 new: 4:12
2022-08-12Add a test for video YUV -> full RGB level conversion.Carl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2022-06-12Rename PRORES -> PRORES_HQCarl Hetherington
2021-11-28Rearrange checking (and re-examining) content.Carl Hetherington
Most importantly, checking of content for changes before making a DCP is now done in the TranscodeJob (rather than being in a separate job). This makes things a little neater and also makes the batch converter less confusing when you add a job whose content has changed.
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-05-25Move video level conversion for RGB from FFmpegImageProxy to Image.Carl Hetherington
Since FFmpeg does not do video level conversion for RGB sources when we (sort of) ask it to in Image::crop_scale_window() it seems to make more sense to compensate for that by calling full_to_video_range() in the same place (rather than in FFmpegImageProxy).
2021-05-25Clamp results correctly when shifting video levels, and account for that in ↵Carl Hetherington
tests.
2021-05-25Use decoder_factory() and a lambda to clean things up a bit.Carl Hetherington
2021-04-29C++11 tidying.Carl Hetherington
2021-04-23More test fixes.Carl Hetherington
2021-04-23Fix test for random noise addition.Carl Hetherington
2021-02-23Verify a whole bunch of DCPs made by unit tests.Carl Hetherington
2021-02-15Test reference tweaks.Carl Hetherington
2021-02-01Use a predictable RNG when adding noise to low-bitrate images.Carl Hetherington
The recovery code assumes that encoding a given frame from the same data will always give the same output; it always encodes frame 0 again to set things up properly and if that frame is a different size to the previous run everything breaks.
2021-01-31More enum class additions.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-26macOS build fix.Carl Hetherington
2020-11-20Some tidying up of test Doxygen.Carl 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-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.