summaryrefslogtreecommitdiff
path: root/src/lib/image.cc
AgeCommit message (Collapse)Author
2026-03-18Fix build problems with warnings generated by newer macOS build environments.Carl Hetherington
2026-01-05Fix valgrind support.Carl Hetherington
2026-01-05White space: image.{cc,h}Carl Hetherington
2025-12-15Fix artefacts on the edge of YUV images with odd widths (#3119).v2.18.34Carl Hetherington
This also modifies an existing test to expose the bug.
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-04-12Add Image::has_alpha().Carl Hetherington
2024-12-26Add Image::crop().Carl Hetherington
2024-12-26Extract crop_source_pointers().Carl Hetherington
2024-08-09Cleanup: better document parameter.Carl Hetherington
2024-02-03Add an assert to check that sws_getContext() succeeded.Carl Hetherington
2024-02-03Add some asserts; sws_getContext() will fail if the image width or height are 0.Carl Hetherington
2024-02-03Support alpha blend onto YUV444P9LE and YUV444P10LE (68 and 70).Carl Hetherington
2024-02-03Fix incorrect alpha channel scaling with RGBA64.Carl Hetherington
2024-02-03Fix incorrect alpha step used for RGBA64 sources.Carl Hetherington
2024-02-03Put alpha_{data,stride} into OtherYUVParams.Carl Hetherington
2024-02-03Separate out OtherParams into Other{RGB,YUV}Params.Carl Hetherington
2023-12-09Support YUV422P9LE in alpha_blend() (#2671).notar1Carl Hetherington
2023-10-28Use updated libdcp, including an optimisation for rgb-onto-xyz12.Carl Hetherington
2023-09-29Support alpha blending 64-bit RGB onto things.Carl Hetherington
2023-09-29Cleanup: extract some parts of alpha_blend().Carl Hetherington
2023-05-13Fix some typos in comments.Carl Hetherington
2022-10-18Support Rec2020 YUV/RGB conversion.Carl Hetherington
2022-09-27Use EnumIndexedVector in Image.Carl Hetherington
2022-09-10Support YUV444P10LE in make_part_black().Carl Hetherington
2022-08-11Fix d881836379172f4072ed81ea074f46b3a363a681 which removed clearingCarl Hetherington
of the left-hand-side of images.
2022-08-09Fix lines down the right-hand-side of exports in some cases.Carl Hetherington
2022-06-10Fix incorrect burnt-in subtitle colours when burning into a DCP source (#2261).Carl Hetherington
dcp::combined_rgb_to_xyz was changed in libdcp (the values are no longer scaled by 65535) but DoM wasn't changed, and there was no test to catch it.
2022-05-05Update for change to libdcp API.Carl Hetherington
2022-04-29Move Image::as_png() out to image_as_png().Carl Hetherington
2022-04-29Remove unnecessary method.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-04Cleanup: move some methods from util to memory_util.Carl Hetherington
2022-04-04Cleanup: move some methods from util to maths_util.Carl Hetherington
2022-04-03Cleanup: move stride_round_up into the only place it is used.Carl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl Hetherington
2021-09-27Make merge return the right alignment even if it's not doing anything.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-09-27Support subs and tidy up a few things.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-25Add video_to_full_range implementation for RGB48LE.Carl Hetherington
2021-05-25Clamp results correctly when shifting video levels, and account for that in ↵Carl Hetherington
tests.
2021-05-25const-correctness tweak.Carl Hetherington
2021-05-07Missing #include.Carl Hetherington
2021-05-07Hide some warnings from ffmpeg on Centos 7.Carl Hetherington
2021-05-03Add pixel format 0 (AV_PIX_FMT_YUV420P) to make_part_black().Carl Hetherington
Remainder of fix for #1984.
2021-05-03Add pixel format 66 (AV_PIX_FMT_YUV422P10LE) to make_part_black().Carl Hetherington
Part of fix for #1984.
2021-05-03C++11 tidying.Carl Hetherington
2021-05-01Switch decoding to ffmpeg send/receive API.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington