summaryrefslogtreecommitdiff
path: root/src/lib/util.h
AgeCommit message (Collapse)Author
2022-10-19Change how video timing is done.Carl Hetherington
This commit changes the approach with video timing. Previously, we would (more-or-less) try to use every video frame from the content in the output, hoping that they come at a constant frame rate. This is not always the case, however. Here we preserve the PTS of video frames, and then when one arrives we output whatever DCP video frames we can (at the regular DCP frame rate). Hopefully this will solve a range of sync problems, but it could also introduce new ones.
2022-10-19Normalise XML attribute names to be camelCase (#2241).Carl Hetherington
2022-10-05Add contains_assetmap()Carl Hetherington
2022-07-14More error message improvements.Carl Hetherington
2022-06-14Log errors from asdcplib in our logs.Carl Hetherington
2022-06-07Fix incorrect extension on interop subtitle files (#2270).Carl Hetherington
2022-06-03Make subtitle asset filename obey custom settings (#2260).Carl Hetherington
2022-05-05Use dcp::File in DCP-o-matic (#2231).Carl Hetherington
2022-05-02Extract simple_digest().Carl 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-02-12Go back to 10-year certificate validity periods (#2174).Carl Hetherington
2021-10-03Don't scale chroma subsampled images to sizes that don't align with the ↵v2.15.166Carl Hetherington
subsampling (#1872). There's a slightly odd effect when scaling e.g. YVU420 images to odd and then even widths - there's a small but visible luminance shift. I don't know why this happens, but keeping the scaling sizes locked to the subsampling seems to help.
2021-05-25Clamp results correctly when shifting video levels, and account for that in ↵Carl Hetherington
tests.
2021-05-01C++11 tidying.Carl Hetherington
2021-04-21Add some possibly-useful markers for debugging threads from coredumps.Carl Hetherington
2021-04-04Add to_upper() method to util.{cc,h}Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-08Write subtitles and closed captions to a test DCP in the hints thread,Carl Hetherington
then check the result for Bv2.1 violations (part of #1800).
2020-12-06Add some hints for violations of SMPTE Bv2.1 with subtitles and closedCarl Hetherington
captions.
2020-12-04Bump CLOSED_CAPTION_LENGTH to 32 as per SMPTE Bv2.1.Carl Hetherington
2020-11-23Remove swaroop variant.Carl Hetherington
2020-08-25Move the code to find Liberation into util.cc.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-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-21Add list_to_vector().Carl Hetherington
2020-02-27Add and use dB/linear conversion functions.Carl Hetherington
2019-10-21Copy with progress updates when we might copy long files (#1574).Carl Hetherington
2019-07-15swaroop: beginnings of DCP -> ecinema support.v2.15.12Carl Hetherington
2019-06-05swaroop: switch ID tag to genre as it is supported by ffmpeg in both mp4 and ↵Carl Hetherington
mov.
2019-05-13swaroop: basics of encrypted MP4 playback.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-05-10Basics of metadata dialog - ratings.Carl Hetherington
2019-03-08Support PNG subs in DCPSubtitleDecoder (#1479).Carl Hetherington
2019-01-30Fix non-translated days of the week (#1455).Carl Hetherington
2019-01-17Read UTF8 string lengths correctly when checking closed captions (part of ↵Carl Hetherington
#1446).
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-07-27Check for long CCAP lines and too many CCAP lines.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.
2017-12-08Add M_PI which isn't defined by gcc with std=c++11.Carl Hetherington
2017-08-14Add DCP size and length to player.Carl Hetherington
2017-06-01Re-add missing audio mapping in butler for preview.Carl Hetherington
2017-05-09Simple cover sheet support (#1039).Carl Hetherington
2017-02-20Be more careful about allowing possibly-trouble-causing characters in DCP ↵Carl Hetherington
filenames.