summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
AgeCommit message (Collapse)Author
2020-11-23Remove swaroop variant.Carl Hetherington
2020-11-16Fix unnecessary condition.Carl Hetherington
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-03Revert "Re-allow audio channel 15 to be mapped so that users can add"Carl Hetherington
This reverts commit 4cf45229bf55344e708fead769f694f13bacf39c. It's wrong - the sign language channel is 15 (1-indexed) not 15 (0-indexed) as in this commit.
2020-11-02Re-allow audio channel 15 to be mapped so that users can addCarl Hetherington
their own sign language tracks until DoM supports them properly.
2020-09-27Adapt for new libdcp (fixing large compiler resource requirements).Carl Hetherington
Also adjust Linux resource-finding code to juse look for stuff relative to the executable's location.
2020-09-25Add NamedChannel and use it to hide the never-used channelsCarl Hetherington
when mapping into a DCP.
2020-09-23Support CPL metadata.Carl Hetherington
2020-09-23Adapt for changes to libdcp API.Carl Hetherington
2020-09-14Rename shared_path -> resources_path.Carl Hetherington
2020-08-25Move the code to find Liberation into util.cc.Carl Hetherington
2020-07-27Hide some windows warnings.Carl Hetherington
2020-07-26Various OSX warnings fixes.Carl Hetherington
2020-07-26Ignore FFmpeg warnings in a nicer way.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-06-05Fix crash when previewing projects with fewer than 6 audio channels;Carl Hetherington
the old code tried to copy audio just because its channel had a non-0 value in the map without checking whether the destination channel actually existed.
2020-06-04Clean up handling of paths relative to the executable.Carl Hetherington
2020-05-21Give 'wrong target' KDM errors in a dialogue box rather than in the job ↵Carl Hetherington
manager (part of #1161).
2020-05-11Change video content scaling so that it either:Carl Hetherington
1. scales the content up to fit the DCP container, preserving aspect ratio, or 2. stretches the content to a custom aspect ratio, or 3. scales the content to some custom size.
2020-04-14Use a struct rather than a std::pair as the return type from ImageProxy::image.Carl Hetherington
2020-02-27Add and use dB/linear conversion functions.Carl Hetherington
2019-10-21Merge branch 'v2.15.x' of ssh://localhost:2222/home/carl/git/dcpomatic into ↵Carl Hetherington
v2.15.x
2019-10-21Copy with progress updates when we might copy long files (#1574).Carl Hetherington
2019-10-21Rename dcpomatic_sleep -> dcpomatic_sleep_seconds.Carl Hetherington
2019-10-18ISDCF name fixes with > 6 channels and HI/VI (#1633).Carl Hetherington
2019-09-29Improve OpenFileError so that it doesn't say "opening for read"v2.15.20Carl Hetherington
in one case where it should say "opening for read/write". Also add some unit tests for ReelWriter.
2019-07-23Tidy up handling of content-modified checks when using the dcpomatic_cli.Carl Hetherington
2019-07-15swaroop: beginnings of DCP -> ecinema support.v2.15.12Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-04-03Add fonts.conf to OS X build to try to fix failure to synthesizev2.13.142Carl Hetherington
bold/italic on 10.12 (Sierra) and earlier (#1524).
2019-03-22Make careful_string_filter a little better and use it for KDM filenames.v2.13.133Carl Hetherington
2019-03-08Support PNG subs in DCPSubtitleDecoder (#1479).Carl Hetherington
2019-02-12Try to fix some warnings.Carl Hetherington
2019-02-09Use freetype for OS X font rendering.v2.13.115Carl Hetherington
2019-02-01Try doing it after Pango::init().Carl Hetherington
2019-02-01Try to move fontconfig cache delay to program startup on Windows.Carl Hetherington
2019-01-30Fix non-translated days of the week (#1455).Carl Hetherington
2019-01-23Try to improve font rendering on Windows by using freetype for pango/cairo.v2.13.105Carl Hetherington
2019-01-17Read UTF8 string lengths correctly when checking closed captions (part of ↵Carl Hetherington
#1446).
2019-01-09Remove debugging code.Carl Hetherington
2019-01-09swaroop: store whole signer/decryption chains and private keys encrypted by ↵Carl Hetherington
machine UUID.
2018-12-23Be a bit more careful with fwrite.Carl Hetherington
2018-12-19Be more careful with fread in various places.v2.13.88Carl Hetherington
2018-10-12Change MagickImageProxy to FFmpegImageProxy and make it use FFmpegCarl Hetherington
to decode images. Hence remove {Image,Graphics}Magick.
2018-07-14Assume .jpf is an image (JPEG2000).Carl Hetherington
2018-05-28Fix seconds_to_approximate_hms sometimes saying things like 1h60m (#1314).Carl Hetherington
2018-04-22Allow + in DCP names for ISDCF RU rating strings.Carl Hetherington
2018-03-16Another OS X signing-related fix.Carl Hetherington
2018-02-04Listen for server replies on different ports on main and batch, and get ↵Carl Hetherington
servers to send replies to both (#1190).
2018-01-16In general the player assumes that it won't receive out of order video.Carl Hetherington
This clearly can happen with separate L/R sources. A pass in L might emit two frames which means the arrivals can't possibly be in order. This commit fixes this by introducing a Shuffler which all alternate-3D sources send their video to. The Shuffler re-orders things before they arrive at the player. It also fixes the code which inserts video frames before one that arrives after a gap. This didn't cope with 3D right before. The audio code solves a similar (perhaps the same?) problem with the AudioMerger; perhaps we should have a similar thing for video and make the player emit complete 3D frames. Should help with #976.