libdcp.git
8 years agoStart of work. 1.0-smpte-subs
Carl Hetherington [Thu, 4 Jun 2015 11:25:48 +0000 (12:25 +0100)]
Start of work.

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.

9 years agoReduce precision for vposition attribute.
Carl Hetherington [Thu, 15 Jan 2015 11:21:04 +0000 (11:21 +0000)]
Reduce precision for vposition attribute.

9 years agoFix code and tests so that SubtitleString::v_position is between 0 and 1 (not a perce...
Carl Hetherington [Thu, 15 Jan 2015 09:30:31 +0000 (09:30 +0000)]
Fix code and tests so that SubtitleString::v_position is between 0 and 1 (not a percentage) as the comment says it should be.

9 years agoFix uninitialised variable.
Carl Hetherington [Sun, 11 Jan 2015 16:41:15 +0000 (16:41 +0000)]
Fix uninitialised variable.

9 years agoAdd Time::to_seconds.
Carl Hetherington [Sun, 11 Jan 2015 14:14:47 +0000 (14:14 +0000)]
Add Time::to_seconds.

9 years agoFix handling of timing in SMPTE subtitles.
Carl Hetherington [Sat, 10 Jan 2015 00:07:47 +0000 (00:07 +0000)]
Fix handling of timing in SMPTE subtitles.

9 years agoRename mxf filename ignoring stuff slightly.
Carl Hetherington [Wed, 7 Jan 2015 16:33:22 +0000 (16:33 +0000)]
Rename mxf filename ignoring stuff slightly.

9 years agoRename --names to --mxf-names.
Carl Hetherington [Wed, 7 Jan 2015 16:28:48 +0000 (16:28 +0000)]
Rename --names to --mxf-names.

9 years agoDon't build tests on OS X.
Carl Hetherington [Wed, 7 Jan 2015 15:23:33 +0000 (15:23 +0000)]
Don't build tests on OS X.

9 years agoRemove unused variable.
Carl Hetherington [Wed, 7 Jan 2015 15:17:17 +0000 (15:17 +0000)]
Remove unused variable.

9 years agoFix build on OS X.
Carl Hetherington [Wed, 7 Jan 2015 15:08:58 +0000 (15:08 +0000)]
Fix build on OS X.

9 years agoPass notes through MonoPictureFrame::rgb_frame().
Carl Hetherington [Wed, 7 Jan 2015 10:57:27 +0000 (10:57 +0000)]
Pass notes through MonoPictureFrame::rgb_frame().

9 years agoClamp out-of-range XYZ values in xyz_to_rgb() and pass notes about their existance.
Carl Hetherington [Wed, 7 Jan 2015 10:55:47 +0000 (10:55 +0000)]
Clamp out-of-range XYZ values in xyz_to_rgb() and pass notes about their existance.

9 years agoFix LD_LIBRARY_PATH.
Carl Hetherington [Wed, 7 Jan 2015 10:44:30 +0000 (10:44 +0000)]
Fix LD_LIBRARY_PATH.

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

9 years agoUse a typedef for a note-taking functor.
Carl Hetherington [Wed, 7 Jan 2015 10:23:39 +0000 (10:23 +0000)]
Use a typedef for a note-taking functor.

9 years agoThought-necessary protection of TransferFunction::lut() for access from multiple...
Carl Hetherington [Mon, 5 Jan 2015 23:05:29 +0000 (23:05 +0000)]
Thought-necessary protection of TransferFunction::lut() for access from multiple threads.

9 years agoTry to fix static initialisation order problems.
Carl Hetherington [Sun, 4 Jan 2015 13:54:15 +0000 (13:54 +0000)]
Try to fix static initialisation order problems.

9 years agoMissing files.
Carl Hetherington [Sun, 4 Jan 2015 01:13:55 +0000 (01:13 +0000)]
Missing files.

9 years agoMake a parent for SMPTELoadFont and InteropLoadFont.
Carl Hetherington [Sun, 4 Jan 2015 01:13:33 +0000 (01:13 +0000)]
Make a parent for SMPTELoadFont and InteropLoadFont.

9 years agoTests are now not Windows-compatible.
Carl Hetherington [Sat, 3 Jan 2015 23:38:38 +0000 (23:38 +0000)]
Tests are now not Windows-compatible.

9 years agoAdd support for reading non-MXF-wrapped SMPTE subtitle files.
Carl Hetherington [Sat, 3 Jan 2015 23:31:26 +0000 (23:31 +0000)]
Add support for reading non-MXF-wrapped SMPTE subtitle files.

9 years agoFix +x on run/coverage.
Carl Hetherington [Sat, 3 Jan 2015 22:52:51 +0000 (22:52 +0000)]
Fix +x on run/coverage.

9 years agoReinstate Image::swap.
Carl Hetherington [Sat, 3 Jan 2015 22:46:53 +0000 (22:46 +0000)]
Reinstate Image::swap.

9 years agoTweaks to test setup; don't always compute coverage.
Carl Hetherington [Sat, 3 Jan 2015 22:31:56 +0000 (22:31 +0000)]
Tweaks to test setup; don't always compute coverage.

9 years agoVarious fixes to XYZ/RGB transforms.
Carl Hetherington [Sat, 3 Jan 2015 21:33:30 +0000 (21:33 +0000)]
Various fixes to XYZ/RGB transforms.

9 years agoRename subtitle_tests -> subtitle_test.
Carl Hetherington [Sun, 28 Dec 2014 18:07:48 +0000 (18:07 +0000)]
Rename subtitle_tests -> subtitle_test.

9 years agoAdd a basic stereo test.
Carl Hetherington [Sun, 28 Dec 2014 17:47:55 +0000 (17:47 +0000)]
Add a basic stereo test.

9 years agoRename test DCP from foo to dcp_test1.
Carl Hetherington [Sun, 28 Dec 2014 17:31:07 +0000 (17:31 +0000)]
Rename test DCP from foo to dcp_test1.

9 years agoRemove Image:swap(); add some more tests.
Carl Hetherington [Sun, 28 Dec 2014 15:05:42 +0000 (15:05 +0000)]
Remove Image:swap(); add some more tests.

9 years agoAdd another test.
Carl Hetherington [Sun, 28 Dec 2014 14:54:04 +0000 (14:54 +0000)]
Add another test.