libdcp.git
8 years agoRename certificates.{cc,h} -> certificate.{cc,h}.
Carl Hetherington [Wed, 29 Jul 2015 23:48:43 +0000 (00:48 +0100)]
Rename certificates.{cc,h} -> certificate.{cc,h}.

8 years agoRound up in Time::as_editable_units.
Carl Hetherington [Mon, 20 Jul 2015 20:48:40 +0000 (21:48 +0100)]
Round up in Time::as_editable_units.

8 years agoFix font id confusion.
Carl Hetherington [Mon, 20 Jul 2015 20:48:27 +0000 (21:48 +0100)]
Fix font id confusion.

8 years agoAdd urn:uuid: to LoadFont nodes in SMPTE subs.
Carl Hetherington [Mon, 20 Jul 2015 20:30:36 +0000 (21:30 +0100)]
Add urn:uuid: to LoadFont nodes in SMPTE subs.

8 years agoMove CertificateChain into the right header.
Carl Hetherington [Sun, 12 Jul 2015 19:54:06 +0000 (20:54 +0100)]
Move CertificateChain into the right header.

8 years agoRename a couple of Certificate methods and add accessors for organization and organiz...
Carl Hetherington [Sun, 12 Jul 2015 19:40:32 +0000 (20:40 +0100)]
Rename a couple of Certificate methods and add accessors for organization and organizational unit name.

8 years agoAdd another test.
Carl Hetherington [Mon, 6 Jul 2015 23:35:02 +0000 (00:35 +0100)]
Add another test.

8 years agoTweak reference data path.
Carl Hetherington [Mon, 6 Jul 2015 21:59:16 +0000 (22:59 +0100)]
Tweak reference data path.

8 years agoMore tests.
Carl Hetherington [Mon, 6 Jul 2015 20:55:28 +0000 (21:55 +0100)]
More tests.

8 years agoAdd very simple test of dcp::SoundFrame.
Carl Hetherington [Mon, 6 Jul 2015 20:21:35 +0000 (21:21 +0100)]
Add very simple test of dcp::SoundFrame.

8 years agoTry to fix compile failure on Arch.
Carl Hetherington [Mon, 6 Jul 2015 13:14:41 +0000 (14:14 +0100)]
Try to fix compile failure on Arch.

8 years agoExtend SubtitleAsset::subtitles_during to allow asking for subtitles either starting...
Carl Hetherington [Sun, 5 Jul 2015 23:28:09 +0000 (00:28 +0100)]
Extend SubtitleAsset::subtitles_during to allow asking for subtitles either starting during a particular timescale or overllapping it.

8 years agoAdd coverage fix that I think is right but it's odd it wasn't needed before.
Carl Hetherington [Sun, 5 Jul 2015 22:03:51 +0000 (23:03 +0100)]
Add coverage fix that I think is right but it's odd it wasn't needed before.

8 years agoRestore ability to read SMPTE subs from XML files.
Carl Hetherington [Sun, 5 Jul 2015 19:38:32 +0000 (20:38 +0100)]
Restore ability to read SMPTE subs from XML files.

8 years agoAdd a new test.
Carl Hetherington [Sun, 5 Jul 2015 18:25:41 +0000 (19:25 +0100)]
Add a new test.

8 years agoRun all tests before establishing coverage.
Carl Hetherington [Sun, 5 Jul 2015 18:11:28 +0000 (19:11 +0100)]
Run all tests before establishing coverage.

8 years agoAdd test for Bradford matrix calculation.
Carl Hetherington [Sun, 5 Jul 2015 18:04:37 +0000 (19:04 +0100)]
Add test for Bradford matrix calculation.

8 years agoWrite very small VPosition values as 0.
Carl Hetherington [Fri, 3 Jul 2015 16:56:24 +0000 (17:56 +0100)]
Write very small VPosition values as 0.

8 years agoWhitespace.
Carl Hetherington [Fri, 3 Jul 2015 16:25:43 +0000 (17:25 +0100)]
Whitespace.

8 years agoA few bits of documentation.
Carl Hetherington [Fri, 3 Jul 2015 16:12:12 +0000 (17:12 +0100)]
A few bits of documentation.

8 years agoFix tests to match reality.
Carl Hetherington [Tue, 30 Jun 2015 08:25:28 +0000 (09:25 +0100)]
Fix tests to match reality.

8 years agoReturn to DCP-o-matic v1's gamma correction for Rec 601/709.
Carl Hetherington [Mon, 29 Jun 2015 22:40:29 +0000 (23:40 +0100)]
Return to DCP-o-matic v1's gamma correction for Rec 601/709.

Dennis points out that `there definitely *is* no right answer for
BT.709 gamma' and `your formula [the DCP-o-matic v2 gamma function
before this commmit] is what I'm calling the inverse of the BT.709
camera transfer function.  The EBU would not have bothered to write:
"Therefore the monitor gamma is not, and never has been, the inverse
of the camera gamma." if no-one ever thought of using it'.

At least the 2.2 gamma of v1 should not surprise anybody.

8 years agoMerge.
Carl Hetherington [Wed, 24 Jun 2015 21:23:41 +0000 (22:23 +0100)]
Merge.

8 years agoThinko in previous.
Carl Hetherington [Wed, 24 Jun 2015 15:56:22 +0000 (16:56 +0100)]
Thinko in previous.

8 years agoFix various SNAFUs with Font ID handling.
Carl Hetherington [Wed, 24 Jun 2015 14:05:19 +0000 (15:05 +0100)]
Fix various SNAFUs with Font ID handling.

8 years agoGive Data a loading constructor.
Carl Hetherington [Wed, 24 Jun 2015 13:14:02 +0000 (14:14 +0100)]
Give Data a loading constructor.

8 years agoNo-op: whitespace.
Carl Hetherington [Wed, 24 Jun 2015 13:13:37 +0000 (14:13 +0100)]
No-op: whitespace.

8 years agoNo-op: whitespace.
Carl Hetherington [Wed, 24 Jun 2015 00:06:04 +0000 (01:06 +0100)]
No-op: whitespace.

8 years agoNo-op; whitespace and a comment typo.
Carl Hetherington [Wed, 24 Jun 2015 00:04:32 +0000 (01:04 +0100)]
No-op; whitespace and a comment typo.

8 years agoFix several missing binary specifiers to fopen.
Carl Hetherington [Thu, 18 Jun 2015 18:50:19 +0000 (19:50 +0100)]
Fix several missing binary specifiers to fopen.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Tue, 16 Jun 2015 18:12:13 +0000 (19:12 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoFix a warning.
Carl Hetherington [Tue, 16 Jun 2015 18:12:06 +0000 (19:12 +0100)]
Fix a warning.

8 years agoSpeculative build fix.
Carl Hetherington [Tue, 16 Jun 2015 18:12:01 +0000 (19:12 +0100)]
Speculative build fix.

8 years agoMerge branch '.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 16 Jun 2015 15:45:39 +0000 (16:45 +0100)]
Merge branch '.0' of git.carlh.net:git/libdcp into 1.0

8 years agoFix build on some platforms.
Carl Hetherington [Tue, 16 Jun 2015 15:45:32 +0000 (16:45 +0100)]
Fix build on some platforms.

8 years agoTry to remove encryption test's dependency on LIBDCP_VERSION; update test refs accord...
Carl Hetherington [Sat, 13 Jun 2015 15:16:08 +0000 (16:16 +0100)]
Try to remove encryption test's dependency on LIBDCP_VERSION; update test refs accordingly.

8 years agoBump version
Carl Hetherington [Sat, 13 Jun 2015 14:18:35 +0000 (15:18 +0100)]
Bump version

8 years agoBump version v1.1.0
Carl Hetherington [Sat, 13 Jun 2015 14:18:35 +0000 (15:18 +0100)]
Bump version

8 years agoFix erroneous suffix.
Carl Hetherington [Fri, 12 Jun 2015 07:53:50 +0000 (08:53 +0100)]
Fix erroneous suffix.

8 years agoFix thinko which broke xyz->rgb conversion.
Carl Hetherington [Thu, 11 Jun 2015 15:18:42 +0000 (16:18 +0100)]
Fix thinko which broke xyz->rgb conversion.

8 years agoFix possible assert failure.
Carl Hetherington [Thu, 11 Jun 2015 12:52:39 +0000 (13:52 +0100)]
Fix possible assert failure.

8 years agoPass a note rather than failing an assert on clamping XYZ values after conversion.
Carl Hetherington [Thu, 11 Jun 2015 12:45:58 +0000 (13:45 +0100)]
Pass a note rather than failing an assert on clamping XYZ values after conversion.

8 years agoRename XYZImage -> OpenJPEGImage.
Carl Hetherington [Wed, 10 Jun 2015 14:05:48 +0000 (15:05 +0100)]
Rename XYZImage -> OpenJPEGImage.

8 years agoSome non-DCP JPEG2000 images are not 12-bit.
Carl Hetherington [Wed, 10 Jun 2015 13:44:48 +0000 (14:44 +0100)]
Some non-DCP JPEG2000 images are not 12-bit.

8 years agoSupport decompression of JP2 as well as JPEG2000 codestreams.
Carl Hetherington [Wed, 10 Jun 2015 12:20:55 +0000 (13:20 +0100)]
Support decompression of JP2 as well as JPEG2000 codestreams.

8 years agoFix comment.
Carl Hetherington [Wed, 10 Jun 2015 12:20:43 +0000 (13:20 +0100)]
Fix comment.

8 years agoRename Font -> FontAsset; add dcpdumpsub tool.
Carl Hetherington [Wed, 10 Jun 2015 09:55:22 +0000 (10:55 +0100)]
Rename Font -> FontAsset; add dcpdumpsub tool.

8 years agoOptionally allow subtitle issue dates to differ.
Carl Hetherington [Wed, 10 Jun 2015 08:54:28 +0000 (09:54 +0100)]
Optionally allow subtitle issue dates to differ.

8 years agoDon't complain if SMPTE subtitle <LoadFont> URNs are different.
Carl Hetherington [Wed, 10 Jun 2015 08:28:31 +0000 (09:28 +0100)]
Don't complain if SMPTE subtitle <LoadFont> URNs are different.

8 years agoFixes to equals().
Carl Hetherington [Tue, 9 Jun 2015 15:30:15 +0000 (16:30 +0100)]
Fixes to equals().

8 years agoAdd --reel-annotation-texts to dcpdiff.
Carl Hetherington [Tue, 9 Jun 2015 14:56:44 +0000 (15:56 +0100)]
Add --reel-annotation-texts to dcpdiff.

8 years agoHandle storing/recovery of fonts in SMPTE MXF files.
Carl Hetherington [Tue, 9 Jun 2015 13:02:20 +0000 (14:02 +0100)]
Handle storing/recovery of fonts in SMPTE MXF files.

8 years agoAs I understand it all SMPTE subtitles are MXF-wrapped.
Carl Hetherington [Tue, 9 Jun 2015 10:40:59 +0000 (11:40 +0100)]
As I understand it all SMPTE subtitles are MXF-wrapped.

8 years agoBasically-working interop subtitle font handling.
Carl Hetherington [Tue, 9 Jun 2015 10:13:02 +0000 (11:13 +0100)]
Basically-working interop subtitle font handling.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Mon, 8 Jun 2015 22:28:17 +0000 (23:28 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoRequire only DCP::add() for the CPL; other assets found by looking in the CPL.
Carl Hetherington [Mon, 8 Jun 2015 14:40:19 +0000 (15:40 +0100)]
Require only DCP::add() for the CPL; other assets found by looking in the CPL.

8 years agoAdd some setters.
Carl Hetherington [Mon, 8 Jun 2015 14:06:04 +0000 (15:06 +0100)]
Add some setters.

8 years agoRemove slightly strange InteropSubtitleAsset constructor; add default one for SMPTESu...
Carl Hetherington [Mon, 8 Jun 2015 14:04:43 +0000 (15:04 +0100)]
Remove slightly strange InteropSubtitleAsset constructor; add default one for SMPTESubtitleAsset.

8 years agoBetter error checking.
Carl Hetherington [Mon, 8 Jun 2015 12:12:58 +0000 (13:12 +0100)]
Better error checking.

8 years agoDon't read crytographic key unless the asset is encrypted.
Carl Hetherington [Mon, 8 Jun 2015 12:12:45 +0000 (13:12 +0100)]
Don't read crytographic key unless the asset is encrypted.

8 years agoUse boost::filesystem::extension.
Carl Hetherington [Mon, 8 Jun 2015 12:12:12 +0000 (13:12 +0100)]
Use boost::filesystem::extension.

8 years agoFix LD_LIBRARY_PATHs.
Carl Hetherington [Mon, 8 Jun 2015 12:11:58 +0000 (13:11 +0100)]
Fix LD_LIBRARY_PATHs.

8 years agoRemove some commented-out bits.
Carl Hetherington [Mon, 8 Jun 2015 09:44:43 +0000 (10:44 +0100)]
Remove some commented-out bits.

8 years agoFix subs_in_out to support SMPTE.
Carl Hetherington [Mon, 8 Jun 2015 09:43:32 +0000 (10:43 +0100)]
Fix subs_in_out to support SMPTE.

8 years agoExpand read_smpte_subtitle_test somewhat.
Carl Hetherington [Mon, 8 Jun 2015 09:17:35 +0000 (10:17 +0100)]
Expand read_smpte_subtitle_test somewhat.

8 years agoRename some tests.
Carl Hetherington [Mon, 8 Jun 2015 08:59:21 +0000 (09:59 +0100)]
Rename some tests.

8 years agoComments.
Carl Hetherington [Mon, 8 Jun 2015 08:56:38 +0000 (09:56 +0100)]
Comments.

8 years agoSome comments and test tweaks.
Carl Hetherington [Mon, 8 Jun 2015 08:55:20 +0000 (09:55 +0100)]
Some comments and test tweaks.

8 years agoDoxygen tweaks.
Carl Hetherington [Sun, 7 Jun 2015 23:32:50 +0000 (00:32 +0100)]
Doxygen tweaks.

8 years agoTiny optimisation; Object default constructor calls make_uuid.
Carl Hetherington [Sun, 7 Jun 2015 23:32:41 +0000 (00:32 +0100)]
Tiny optimisation; Object default constructor calls make_uuid.

8 years agoBits of tidying; comments.
Carl Hetherington [Fri, 5 Jun 2015 18:14:54 +0000 (19:14 +0100)]
Bits of tidying; comments.

8 years agoUpdate Doxyfile.
Carl Hetherington [Fri, 5 Jun 2015 17:50:11 +0000 (18:50 +0100)]
Update Doxyfile.

8 years agoReelEncryptableAsset -> ReelMXF.
Carl Hetherington [Fri, 5 Jun 2015 17:49:22 +0000 (18:49 +0100)]
ReelEncryptableAsset -> ReelMXF.

8 years agoMake ReelEncryptableAsset like MXF.
Carl Hetherington [Fri, 5 Jun 2015 17:41:44 +0000 (18:41 +0100)]
Make ReelEncryptableAsset like MXF.

8 years agoComment tweak.
Carl Hetherington [Fri, 5 Jun 2015 17:25:27 +0000 (18:25 +0100)]
Comment tweak.

8 years agoSmall tidy-ups and comments.
Carl Hetherington [Fri, 5 Jun 2015 17:13:20 +0000 (18:13 +0100)]
Small tidy-ups and comments.

8 years agoInitial work on SMPTE subtitles.
Carl Hetherington [Thu, 4 Jun 2015 11:25:48 +0000 (12:25 +0100)]
Initial work on SMPTE subtitles.

8 years agoFix rebase onto 1.0.
Carl Hetherington [Fri, 5 Jun 2015 13:42:28 +0000 (14:42 +0100)]
Fix rebase onto 1.0.

8 years agoRename some mxf variables to asset.
Carl Hetherington [Thu, 4 Jun 2015 23:24:27 +0000 (00:24 +0100)]
Rename some mxf variables to asset.

8 years agoRename ReelMXFAsset -> ReelEncryptableAsset.
Carl Hetherington [Thu, 4 Jun 2015 23:18:00 +0000 (00:18 +0100)]
Rename ReelMXFAsset -> ReelEncryptableAsset.

8 years agoMXF -> Asset in lots of places.
Carl Hetherington [Thu, 4 Jun 2015 23:05:32 +0000 (00:05 +0100)]
MXF -> Asset in lots of places.

8 years agoUnpick MXF from the class hierarchy.
Carl Hetherington [Thu, 4 Jun 2015 21:55:10 +0000 (22:55 +0100)]
Unpick MXF from the class hierarchy.

8 years agoMake read_writer_info do more stuff, and return id.
Carl Hetherington [Thu, 4 Jun 2015 21:32:52 +0000 (22:32 +0100)]
Make read_writer_info do more stuff, and return id.

8 years agoKeep encryption context in MXFWriter.
Carl Hetherington [Thu, 4 Jun 2015 21:24:26 +0000 (22:24 +0100)]
Keep encryption context in MXFWriter.

8 years agoUse boost::optional for key id instead of an empty string.
Carl Hetherington [Thu, 4 Jun 2015 20:55:00 +0000 (21:55 +0100)]
Use boost::optional for key id instead of an empty string.

8 years agoMake fill_writer_info protected.
Carl Hetherington [Thu, 4 Jun 2015 20:18:54 +0000 (21:18 +0100)]
Make fill_writer_info protected.

8 years agoTake pkl_type out of MXF.
Carl Hetherington [Thu, 4 Jun 2015 17:10:12 +0000 (18:10 +0100)]
Take pkl_type out of MXF.

8 years agoMove edit rate and intrinsic duration out of MXF.
Carl Hetherington [Thu, 4 Jun 2015 16:16:22 +0000 (17:16 +0100)]
Move edit rate and intrinsic duration out of MXF.

8 years agoRename some stuff Content -> Asset.
Carl Hetherington [Thu, 4 Jun 2015 15:48:08 +0000 (16:48 +0100)]
Rename some stuff Content -> Asset.

8 years agoRemove unnecessary Content class.
Carl Hetherington [Thu, 4 Jun 2015 15:42:03 +0000 (16:42 +0100)]
Remove unnecessary Content class.

8 years agoFix test refs.
Carl Hetherington [Fri, 5 Jun 2015 13:31:31 +0000 (14:31 +0100)]
Fix test refs.

8 years agoFix apparently broken test certificate chain (root certificate had wrong dnQualifier).
Carl Hetherington [Fri, 5 Jun 2015 13:22:48 +0000 (14:22 +0100)]
Fix apparently broken test certificate chain (root certificate had wrong dnQualifier).

8 years agoencryption_test should add assets to the DCP.
Carl Hetherington [Fri, 5 Jun 2015 13:14:41 +0000 (14:14 +0100)]
encryption_test should add assets to the DCP.

8 years agoSpeculative change from master to X509IssuerName order.
Carl Hetherington [Fri, 5 Jun 2015 13:14:19 +0000 (14:14 +0100)]
Speculative change from master to X509IssuerName order.

8 years agoFix ordering of KeyId tag in SMPTE CPLs.
Carl Hetherington [Fri, 5 Jun 2015 00:51:24 +0000 (01:51 +0100)]
Fix ordering of KeyId tag in SMPTE CPLs.

8 years agoRationalise naming of test outputs; fix missing check of dcp_test2.
Carl Hetherington [Fri, 5 Jun 2015 00:26:06 +0000 (01:26 +0100)]
Rationalise naming of test outputs; fix missing check of dcp_test2.

8 years agoto_* to as_* in a few method names.
Carl Hetherington [Thu, 4 Jun 2015 11:32:37 +0000 (12:32 +0100)]
to_* to as_* in a few method names.

8 years agoHopefully finished with TO_PORT.
Carl Hetherington [Thu, 4 Jun 2015 11:15:05 +0000 (12:15 +0100)]
Hopefully finished with TO_PORT.

8 years agoSupport optional milliseconds in LocalTime.
Carl Hetherington [Thu, 4 Jun 2015 10:59:21 +0000 (11:59 +0100)]
Support optional milliseconds in LocalTime.

8 years agoAdd halign to SubtitleString's operator<< and use it for dcpinfo.
Carl Hetherington [Wed, 3 Jun 2015 23:30:58 +0000 (00:30 +0100)]
Add halign to SubtitleString's operator<< and use it for dcpinfo.