summaryrefslogtreecommitdiff
path: root/src/lib/image.h
AgeCommit message (Collapse)Author
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
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-12-10Extract crop.hCarl Hetherington
2022-04-29Move Image::as_png() out to image_as_png().Carl Hetherington
2022-04-29Remove unnecessary method.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-25const-correctness tweak.Carl Hetherington
2021-05-03Add pixel format 66 (AV_PIX_FMT_YUV422P10LE) to make_part_black().Carl Hetherington
Part of fix for #1984.
2021-01-07std::shared_ptrCarl Hetherington
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-02Replace dcp::Data with dcp::ArrayDataCarl Hetherington
2020-10-28Add some comments.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-05-24Basic ability to set video range (JPEG/MPEG) at least for YUV content. May ↵Carl Hetherington
not work for RGB. See #1509.
2018-10-12Restore Image::as_png using libpng.Carl Hetherington
2018-10-12Change MagickImageProxy to FFmpegImageProxy and make it use FFmpegCarl Hetherington
to decode images. Hence remove {Image,Graphics}Magick.
2018-09-02Play PNG subtitles from DCPs; possibly not in the right scale.Carl Hetherington
2018-07-08Write image subs to DCPs.Carl Hetherington
2018-02-27Add a load of explicit keywords.Carl Hetherington
2018-01-02Add convert_pixel_format convenience function.Carl Hetherington
2017-12-29Add basic memory-used stuff for butler and reduce minimum audioCarl Hetherington
readahead quite a bit. This in turn reduces the maximum butler memory usage as it will keep getting audio (and hence video) until the minimum audio readahead is hit.
2017-06-07Fix crash when alpha-blending subtitles onto YUV420 images.Carl Hetherington
2017-05-25More tests; fix blend for YUV420P10LE.Carl Hetherington
2017-05-24Implement alpha_blend for YUV420P and YUV420P10. Improve unit test.Carl Hetherington
2017-05-09Basic video transcoding working.Carl Hetherington
2017-04-19Various Doxygen fixes.Carl Hetherington
2016-07-16Remove unused method.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-12Optimise image scaling for the preview.Carl Hetherington
2015-11-17Fix crash due to writing off the end of an Image's buffer; see comments.Carl Hetherington
2015-08-26Rest of src/lib/*.h tidying.Carl Hetherington
2015-08-26Include tidying src/lib/a-j*.hCarl Hetherington
2015-08-25Add video waveform viewer.Carl Hetherington
2015-08-17Remove unused Image::crop.Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-11Remove unused method.Carl Hetherington
2015-04-22Actually use YUV->RGB setting when converting.Carl Hetherington
2015-03-25Remove Scaler config and use SWS_BICUBIC everywhere.Carl Hetherington
2015-02-02Changes to libdcp API.Carl Hetherington
2015-01-29Move Socket to dcpomatic_socket.{cc,h}.Carl Hetherington
2015-01-03Various libdcp API changes.Carl Hetherington
2014-12-05Some include tidying.Carl Hetherington
2014-09-30Basic video fade support.Carl Hetherington
2014-09-11Spot repeated frames from single-image sources and optimise encoding.Carl Hetherington