libdcp.git
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 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.

8 years agoAdd set_h_position.
Carl Hetherington [Wed, 3 Jun 2015 22:54:36 +0000 (23:54 +0100)]
Add set_h_position.

8 years agoBasic HAlign / HPosition support.
Carl Hetherington [Wed, 3 Jun 2015 22:32:48 +0000 (23:32 +0100)]
Basic HAlign / HPosition support.

8 years agoAdd accessor.
Carl Hetherington [Wed, 3 Jun 2015 15:11:17 +0000 (16:11 +0100)]
Add accessor.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Wed, 3 Jun 2015 15:09:44 +0000 (16:09 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoAdd AspectAdjust to subtitles.
Carl Hetherington [Wed, 3 Jun 2015 15:09:24 +0000 (16:09 +0100)]
Add AspectAdjust to subtitles.

8 years agoNo-op; comments.
Carl Hetherington [Tue, 2 Jun 2015 00:01:00 +0000 (01:01 +0100)]
No-op; comments.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 29 May 2015 18:17:24 +0000 (19:17 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoUse markdown for README.
Carl Hetherington [Fri, 29 May 2015 18:16:12 +0000 (19:16 +0100)]
Use markdown for README.

8 years agoSome comments.
Carl Hetherington [Fri, 29 May 2015 09:36:56 +0000 (10:36 +0100)]
Some comments.

8 years agoFix comment in example code.
Carl Hetherington [Fri, 29 May 2015 09:21:50 +0000 (10:21 +0100)]
Fix comment in example code.

8 years agoImproved error messages; better equals() with corrupted MXFs.
Carl Hetherington [Wed, 27 May 2015 09:24:22 +0000 (10:24 +0100)]
Improved error messages; better equals() with corrupted MXFs.

8 years agoAdd equality option to allow reel annotation texts to differ.
Carl Hetherington [Mon, 25 May 2015 21:25:05 +0000 (22:25 +0100)]
Add equality option to allow reel annotation texts to differ.

8 years agoRename CPL/PKL files to be {cpl,pkl}_uuid.xml rather than
Carl Hetherington [Sun, 24 May 2015 23:09:58 +0000 (00:09 +0100)]
Rename CPL/PKL files to be {cpl,pkl}_uuid.xml rather than
uuid_{cpl,pkl}.xml as this seems to be more conventional.

8 years agoUpdate TO_PORT.
Carl Hetherington [Sat, 23 May 2015 16:36:39 +0000 (17:36 +0100)]
Update TO_PORT.

8 years agoPut our version of compose.hpp inside the libdcp namespace,
Carl Hetherington [Sat, 23 May 2015 16:25:01 +0000 (17:25 +0100)]
Put our version of compose.hpp inside the libdcp namespace,
otherwise libdcp will end up calling DCP-o-matic's version
on OS X, with bad results.

8 years agoSomewhat speculative reordering of Certificate::name_for_xml.
Carl Hetherington [Sat, 23 May 2015 16:21:25 +0000 (17:21 +0100)]
Somewhat speculative reordering of Certificate::name_for_xml.

8 years agoBetter Magick++ library checking.
Carl Hetherington [Sat, 23 May 2015 16:20:51 +0000 (17:20 +0100)]
Better Magick++ library checking.

9 years agoSmall thinko fix.
Carl Hetherington [Wed, 13 May 2015 21:51:02 +0000 (22:51 +0100)]
Small thinko fix.

9 years agoAdd more channels to the enum.
Carl Hetherington [Sat, 9 May 2015 23:28:51 +0000 (00:28 +0100)]
Add more channels to the enum.

9 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Wed, 6 May 2015 23:09:05 +0000 (00:09 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

9 years agoPad times with zeros; add Time::rebase().
Carl Hetherington [Wed, 6 May 2015 22:58:16 +0000 (23:58 +0100)]
Pad times with zeros; add Time::rebase().

9 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 5 May 2015 09:46:43 +0000 (10:46 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

9 years agoSpecify libcxml revision.
Carl Hetherington [Tue, 5 May 2015 08:28:44 +0000 (09:28 +0100)]
Specify libcxml revision.

9 years agoAdd test() to cscript.
Carl Hetherington [Mon, 4 May 2015 23:26:57 +0000 (00:26 +0100)]
Add test() to cscript.

9 years agoMoved test-private location.
Carl Hetherington [Mon, 4 May 2015 22:22:30 +0000 (23:22 +0100)]
Moved test-private location.

9 years agoSome BOOST_FOREACH.
Carl Hetherington [Thu, 30 Apr 2015 22:19:51 +0000 (23:19 +0100)]
Some BOOST_FOREACH.

9 years agoAdd basic Font asset class.
Carl Hetherington [Thu, 30 Apr 2015 20:22:06 +0000 (21:22 +0100)]
Add basic Font asset class.

9 years agoFix header install list.
Carl Hetherington [Thu, 30 Apr 2015 20:13:02 +0000 (21:13 +0100)]
Fix header install list.

9 years agoRename some things to ...Node.
Carl Hetherington [Thu, 30 Apr 2015 18:22:31 +0000 (19:22 +0100)]
Rename some things to ...Node.

9 years agoRemove some unused code.
Carl Hetherington [Thu, 30 Apr 2015 17:58:31 +0000 (18:58 +0100)]
Remove some unused code.

9 years agoTweak comment.
Carl Hetherington [Thu, 30 Apr 2015 17:15:50 +0000 (18:15 +0100)]
Tweak comment.

9 years agoSlightly better write subtitle tests.
Carl Hetherington [Thu, 30 Apr 2015 17:10:19 +0000 (18:10 +0100)]
Slightly better write subtitle tests.

9 years agoCheck for required executables before starting tests.
Carl Hetherington [Thu, 30 Apr 2015 16:52:32 +0000 (17:52 +0100)]
Check for required executables before starting tests.

9 years agoAdd a very simple test for writing subtitles.
Carl Hetherington [Thu, 30 Apr 2015 14:36:05 +0000 (15:36 +0100)]
Add a very simple test for writing subtitles.

9 years agoFix incorrect VPosition in subtitles.
Carl Hetherington [Thu, 30 Apr 2015 14:35:49 +0000 (15:35 +0100)]
Fix incorrect VPosition in subtitles.

9 years agoRename subtitle_test -> read_subtitle_test.
Carl Hetherington [Thu, 30 Apr 2015 13:19:06 +0000 (14:19 +0100)]
Rename subtitle_test -> read_subtitle_test.

9 years agoFix incorrect day-of-month in LocalTime.
Carl Hetherington [Thu, 30 Apr 2015 13:18:46 +0000 (14:18 +0100)]
Fix incorrect day-of-month in LocalTime.

9 years agoAdd comments.
Carl Hetherington [Thu, 30 Apr 2015 13:18:29 +0000 (14:18 +0100)]
Add comments.

9 years agoAdd p3_to_xyz colour conversion preset.
Carl Hetherington [Wed, 22 Apr 2015 14:56:56 +0000 (15:56 +0100)]
Add p3_to_xyz colour conversion preset.

9 years agoHeader guard.
Carl Hetherington [Wed, 22 Apr 2015 14:24:09 +0000 (15:24 +0100)]
Header guard.

9 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Wed, 22 Apr 2015 13:01:43 +0000 (14:01 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

9 years agoFix crash in previous.
Carl Hetherington [Wed, 22 Apr 2015 13:01:19 +0000 (14:01 +0100)]
Fix crash in previous.

9 years agoExpress colour conversions as chromaticities and adjust so that
Carl Hetherington [Wed, 22 Apr 2015 12:58:16 +0000 (13:58 +0100)]
Express colour conversions as chromaticities and adjust so that
everything is specified as something_to_xyz and then you can get
an inverse LUT if you want one.

9 years agoTO_PORT.
Carl Hetherington [Wed, 22 Apr 2015 10:58:35 +0000 (11:58 +0100)]
TO_PORT.

9 years agoRemove FrameInfo serialization and give it a default constructor.
Carl Hetherington [Tue, 21 Apr 2015 09:33:10 +0000 (10:33 +0100)]
Remove FrameInfo serialization and give it a default constructor.

9 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Fri, 6 Mar 2015 16:15:41 +0000 (16:15 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

9 years agoAdd TO_PORT.
Carl Hetherington [Fri, 6 Mar 2015 16:15:36 +0000 (16:15 +0000)]
Add TO_PORT.

9 years agoUse 2.222222 for the power in the modified Rec. 709 input gamma
Carl Hetherington [Tue, 17 Feb 2015 20:03:30 +0000 (20:03 +0000)]
Use 2.222222 for the power in the modified Rec. 709 input gamma
correction, as per fnordware DCIconverter.

9 years agoRec 709 -> XYZ and sRGB -> XYZ matrices are, it seems, the same;
Carl Hetherington [Tue, 17 Feb 2015 19:57:28 +0000 (19:57 +0000)]
Rec 709 -> XYZ and sRGB -> XYZ matrices are, it seems, the same;
I'm getting this from fnordware DCIconverter.
https://github.com/fnordware/DCIconverter/blob/master/src/DCIconverter.cpp

9 years agoTypo causing wrong matrix to be used for Rec. 709.
Carl Hetherington [Tue, 17 Feb 2015 19:42:22 +0000 (19:42 +0000)]
Typo causing wrong matrix to be used for Rec. 709.

9 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 6 Feb 2015 23:08:28 +0000 (23:08 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

9 years agoFix cscript.
Carl Hetherington [Fri, 6 Feb 2015 23:05:21 +0000 (23:05 +0000)]
Fix cscript.

9 years agoFix build.
Carl Hetherington [Tue, 3 Feb 2015 11:02:07 +0000 (11:02 +0000)]
Fix build.

9 years agoFix previous.
Carl Hetherington [Tue, 3 Feb 2015 09:58:51 +0000 (09:58 +0000)]
Fix previous.

9 years agoTry to add basic decryption support to dcpdiff.
Carl Hetherington [Tue, 3 Feb 2015 09:55:51 +0000 (09:55 +0000)]
Try to add basic decryption support to dcpdiff.

9 years agoFix library path in run/tools/dcpdiff.
Carl Hetherington [Tue, 3 Feb 2015 09:34:38 +0000 (09:34 +0000)]
Fix library path in run/tools/dcpdiff.

9 years agoRemove Image and ARGBImage and just dump RGB data into
Carl Hetherington [Mon, 2 Feb 2015 22:33:27 +0000 (22:33 +0000)]
Remove Image and ARGBImage and just dump RGB data into
uint8_t* buffers.  This is hopefully simpler than trying
to come up with some Image hierarchy that suits everything.

9 years agoRename XYZFrame -> XYZImage and ARGBFrame -> ARGBImage.
Carl Hetherington [Mon, 2 Feb 2015 19:25:43 +0000 (19:25 +0000)]
Rename XYZFrame -> XYZImage and ARGBFrame -> ARGBImage.

9 years agoMake ::swap virtual.
Carl Hetherington [Mon, 2 Feb 2015 19:04:22 +0000 (19:04 +0000)]
Make ::swap virtual.

9 years agoUnpack XYZ to RGB into an Image class rather than a raw buffer.
Carl Hetherington [Mon, 2 Feb 2015 18:42:54 +0000 (18:42 +0000)]
Unpack XYZ to RGB into an Image class rather than a raw buffer.

9 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Wed, 28 Jan 2015 10:35:43 +0000 (10:35 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

9 years agoSome OS X build fixes.
Carl Hetherington [Wed, 28 Jan 2015 10:35:33 +0000 (10:35 +0000)]
Some OS X build fixes.

9 years agoAuto-detect OS X build.
Carl Hetherington [Wed, 28 Jan 2015 10:35:23 +0000 (10:35 +0000)]
Auto-detect OS X build.

9 years agoAdd SMPTESubtitleContent::valid_mxf.
Carl Hetherington [Wed, 21 Jan 2015 19:36:31 +0000 (19:36 +0000)]
Add SMPTESubtitleContent::valid_mxf.

9 years agoMovements in libdcp-test-private.
Carl Hetherington [Fri, 16 Jan 2015 15:11:03 +0000 (15:11 +0000)]
Movements in libdcp-test-private.