summaryrefslogtreecommitdiff
path: root/src/stl_binary_writer.cc
AgeCommit message (Collapse)Author
2020-04-01Fix incorrect calculation of extension block number (EBN); previouslyCarl Hetherington
an incorrect 0 would be used if the line length was exactly 112.
2020-03-26Another solution to binary STL subs that are too big for a single TTI block.v1.4.21Carl Hetherington
2020-03-26Revert "Write one TTI block per subtitle line for binary STL."Carl Hetherington
It's wrong as where multiple TTI blocks are used only the first block of the subtitle carries relevant information for time in/out, position, justification and comment. This reverts commit c18e3a2e54f992245feeac384a41792b82f698aa.
2020-03-25Write one TTI block per subtitle line for binary STL.Carl Hetherington
This has a number of apparent advantages. Mainly, it increases the amount of text we can cope with in a single subtitle; before any subtitle with a total length of 111 characters would be truncated (and truncated wrongly, incidentally). Also it simplifies the code for putting different lines in their correct positions and allows individual lines to have different horizontal position references.
2020-03-25Use BOOST_FOREACH.Carl Hetherington
2020-03-25Add FIXME.Carl Hetherington
2020-03-25We only use 128 bytes of the buffer for TTI blocks.Carl Hetherington
2017-07-28Make HorizontalPosition a class containing a reference enum.Carl Hetherington
2017-07-28CENTRE_OF_SCREEN -> VERTICAL_CENTRE_OF_SCREEN.Carl Hetherington
2017-07-18Fix Time::add which was broken when adding times with different rates.Carl Hetherington
2017-01-11Forward-port STL binary writer from master, pulling in horizontal position ↵Carl Hetherington
stuff.
2016-10-31Put newline after closing italic / bold when writing binary STL.Carl Hetherington
2016-09-13Fix STL italic / underline (from master).Carl Hetherington
2016-07-22Use locked_sstream.Carl Hetherington
2015-12-16Replace use of cassert with exceptions.Carl Hetherington
2015-12-16No-op; remove trailing whitespace.Carl Hetherington
2015-01-20Simplify time representation; better in-tree DCP subtitle parser.Carl Hetherington
2015-01-14Forward-port some stuff from 0.x.Carl Hetherington
2014-12-01Some doc improvements.Carl Hetherington
2014-12-01Tweak comment.Carl Hetherington
2014-12-01Tweaks to vertical positioning in STL export.Carl Hetherington
2014-10-06Template-ize collect so that any container can be used.Carl Hetherington
Add new vertical reference of TOP_OF_SUBTITLE, and use references with line numbers as well as proportional specifiers. Add a couple of methods to MetricTime.
2014-08-02Use FAB subtitler's rather odd DFC -> frame rate mapping.Carl Hetherington
2014-06-24Mark the first, only and hence last TTI block in a subtitle set as the last ↵Carl Hetherington
one, as per spec.
2014-06-23memset() buffers to keep tests repeatable.Carl Hetherington
2014-06-21Put all subtitles in group 1.Carl Hetherington
2014-06-21Fix incorrect assertion.Carl Hetherington
2014-06-04Various small bug fixes.Carl Hetherington
2014-06-04Fix country of origin length when writing.Carl Hetherington
2014-05-30Encode to ISO6937 on the way into STL binary.Carl Hetherington
2014-05-30Various fixes to STL read/write.Carl Hetherington
2014-05-30Split up into RawSubtitle and Subtitle, with collect(). Hopefully cleaner.Carl Hetherington
2014-05-29Various tinkering with STL write.Carl Hetherington
2014-05-29Separate out STL binary tables so that writer can use them; start of writer.Carl Hetherington
2014-05-29Re-work Subtitle class; remove STL text writer.Carl Hetherington