libdcp.git
7 years agoMore informative errors when opj_start_compress fails.
Carl Hetherington [Mon, 13 Feb 2017 19:45:03 +0000 (19:45 +0000)]
More informative errors when opj_start_compress fails.

7 years agoUpdate test data.
Carl Hetherington [Mon, 13 Feb 2017 00:54:17 +0000 (00:54 +0000)]
Update test data.

7 years agoGet assetmap and PKL AnnotationText from XMLMetadata.
Carl Hetherington [Sun, 12 Feb 2017 23:22:28 +0000 (23:22 +0000)]
Get assetmap and PKL AnnotationText from XMLMetadata.

7 years agoAdd new constructor. Remove believed unnecessary check for KDM assets being ReelAsse...
Carl Hetherington [Sun, 12 Feb 2017 20:57:10 +0000 (20:57 +0000)]
Add new constructor.  Remove believed unnecessary check for KDM assets being ReelAssets.  Use add_key() more.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Mon, 6 Feb 2017 12:07:59 +0000 (12:07 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoMissing virtual destructor.
Carl Hetherington [Mon, 6 Feb 2017 12:07:54 +0000 (12:07 +0000)]
Missing virtual destructor.

7 years agoAdd missing include.
Carl Hetherington [Wed, 11 Jan 2017 14:24:42 +0000 (14:24 +0000)]
Add missing include.

7 years agoFix valgrind warning.
Carl Hetherington [Tue, 10 Jan 2017 16:48:48 +0000 (16:48 +0000)]
Fix valgrind warning.

7 years agoRemove unused code.
Carl Hetherington [Tue, 10 Jan 2017 16:32:16 +0000 (16:32 +0000)]
Remove unused code.

7 years agoPut our version of compose.hpp inside the dcp namespace,
Carl Hetherington [Tue, 10 Jan 2017 16:12:38 +0000 (16:12 +0000)]
Put our version of compose.hpp inside the dcp namespace,
otherwise libdcp will end up calling DCP-o-matic's version
on OS X, with bad results.

7 years agoconst-correctness fix.
Carl Hetherington [Fri, 6 Jan 2017 11:19:05 +0000 (11:19 +0000)]
const-correctness fix.

7 years agoFor testing: add a KDM formulation which omits AuthorizedDeviceInfo.
Carl Hetherington [Fri, 16 Dec 2016 10:51:35 +0000 (10:51 +0000)]
For testing: add a KDM formulation which omits AuthorizedDeviceInfo.

7 years agoRemove some unnecessary code.
Carl Hetherington [Fri, 16 Dec 2016 10:19:27 +0000 (10:19 +0000)]
Remove some unnecessary code.

7 years agoAdd tentative S-Gamut3/S-Log3 colourspace support.
Carl Hetherington [Wed, 14 Dec 2016 16:14:02 +0000 (16:14 +0000)]
Add tentative S-Gamut3/S-Log3 colourspace support.

7 years agoAdd function for D65 white point.
Carl Hetherington [Wed, 14 Dec 2016 14:48:06 +0000 (14:48 +0000)]
Add function for D65 white point.

7 years agoFix build.
Carl Hetherington [Tue, 29 Nov 2016 00:58:55 +0000 (00:58 +0000)]
Fix build.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Sat, 26 Nov 2016 15:10:29 +0000 (15:10 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoAdd factor() method to OpenJPEGImage.
Carl Hetherington [Sat, 26 Nov 2016 15:10:24 +0000 (15:10 +0000)]
Add factor() method to OpenJPEGImage.

7 years agoBump version
Carl Hetherington [Fri, 11 Nov 2016 13:00:40 +0000 (13:00 +0000)]
Bump version

7 years agoBump version v1.4.4
Carl Hetherington [Fri, 11 Nov 2016 13:00:40 +0000 (13:00 +0000)]
Bump version

7 years agoBump asdcplib-cth version.
Carl Hetherington [Fri, 11 Nov 2016 12:58:42 +0000 (12:58 +0000)]
Bump asdcplib-cth version.

7 years agoFix build with OpenSSL 1.1 and later.
Carl Hetherington [Thu, 10 Nov 2016 09:53:52 +0000 (09:53 +0000)]
Fix build with OpenSSL 1.1 and later.

7 years agoFix tests for changes to subtitle whitespace.
Carl Hetherington [Wed, 9 Nov 2016 16:53:19 +0000 (16:53 +0000)]
Fix tests for changes to subtitle whitespace.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Wed, 9 Nov 2016 16:02:01 +0000 (16:02 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoDon't use write_to_string_formatted with subs as it introduces lots of extra spaces...
Carl Hetherington [Wed, 9 Nov 2016 16:01:47 +0000 (16:01 +0000)]
Don't use write_to_string_formatted with subs as it introduces lots of extra spaces into the actual subs.

7 years agoBump asdcplib for Debian unstable build fix.
Carl Hetherington [Wed, 9 Nov 2016 15:29:32 +0000 (15:29 +0000)]
Bump asdcplib for Debian unstable build fix.

7 years agoTry to fix build with OpenJPEG 1.x.
Carl Hetherington [Wed, 9 Nov 2016 11:25:24 +0000 (11:25 +0000)]
Try to fix build with OpenJPEG 1.x.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 8 Nov 2016 13:23:03 +0000 (13:23 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoAdd Colour::to_rgb_string.
Carl Hetherington [Tue, 8 Nov 2016 13:22:45 +0000 (13:22 +0000)]
Add Colour::to_rgb_string.

7 years agoAdd copy constructor for OpenJPEGImage.
Carl Hetherington [Mon, 7 Nov 2016 15:57:12 +0000 (15:57 +0000)]
Add copy constructor for OpenJPEGImage.

7 years agoComment tweak.
Carl Hetherington [Sun, 6 Nov 2016 13:42:39 +0000 (13:42 +0000)]
Comment tweak.

7 years agoBump version
Carl Hetherington [Mon, 31 Oct 2016 16:39:24 +0000 (16:39 +0000)]
Bump version

7 years agoBump version v1.4.3
Carl Hetherington [Mon, 31 Oct 2016 16:39:24 +0000 (16:39 +0000)]
Bump version

7 years agoVersion churn.
Carl Hetherington [Mon, 31 Oct 2016 16:32:41 +0000 (16:32 +0000)]
Version churn.

7 years agoBump version
Carl Hetherington [Mon, 31 Oct 2016 16:05:46 +0000 (16:05 +0000)]
Bump version

7 years agoBump version v1.4.2
Carl Hetherington [Mon, 31 Oct 2016 16:05:46 +0000 (16:05 +0000)]
Bump version

7 years agoBump libcxml.
Carl Hetherington [Mon, 31 Oct 2016 16:05:04 +0000 (16:05 +0000)]
Bump libcxml.

7 years agoBump version
Carl Hetherington [Mon, 31 Oct 2016 15:55:48 +0000 (15:55 +0000)]
Bump version

7 years agoBump version v1.4.1
Carl Hetherington [Mon, 31 Oct 2016 15:55:48 +0000 (15:55 +0000)]
Bump version

7 years agoUse release version of libcxml.
Carl Hetherington [Mon, 31 Oct 2016 15:54:35 +0000 (15:54 +0000)]
Use release version of libcxml.

7 years agoUUID churn in tests.
Carl Hetherington [Mon, 31 Oct 2016 14:46:26 +0000 (14:46 +0000)]
UUID churn in tests.

7 years agoBump version
Carl Hetherington [Mon, 31 Oct 2016 12:54:13 +0000 (12:54 +0000)]
Bump version

7 years agoBump version v1.4.0
Carl Hetherington [Mon, 31 Oct 2016 12:54:13 +0000 (12:54 +0000)]
Bump version

7 years agoAllow configuration of context ID used when encrypting MXFs.
Carl Hetherington [Mon, 31 Oct 2016 11:32:04 +0000 (11:32 +0000)]
Allow configuration of context ID used when encrypting MXFs.

7 years agoAllow LocalTime without a timezone offset.
Carl Hetherington [Mon, 24 Oct 2016 19:44:22 +0000 (20:44 +0100)]
Allow LocalTime without a timezone offset.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Sun, 23 Oct 2016 23:53:33 +0000 (00:53 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoBump asdcplib-cth for 3D very-high-frame-rate fix.
Carl Hetherington [Sun, 23 Oct 2016 23:53:29 +0000 (00:53 +0100)]
Bump asdcplib-cth for 3D very-high-frame-rate fix.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Mon, 17 Oct 2016 13:37:12 +0000 (14:37 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoFix make_raw() failure when thousands_sep is a period (.)
Carl Hetherington [Mon, 17 Oct 2016 13:37:01 +0000 (14:37 +0100)]
Fix make_raw() failure when thousands_sep is a period (.)

7 years agoFix PKL <Type> for Interop subtitles; spec says this is right.
Carl Hetherington [Thu, 13 Oct 2016 22:18:49 +0000 (23:18 +0100)]
Fix PKL <Type> for Interop subtitles; spec says this is right.

7 years agoRework subtitle writing to fix incorrect output with
Carl Hetherington [Tue, 20 Sep 2016 22:55:47 +0000 (23:55 +0100)]
Rework subtitle writing to fix incorrect output with
in-line font changes (#952).

7 years agoAnother similar speculative Win32 fix.
Carl Hetherington [Thu, 29 Sep 2016 10:07:46 +0000 (11:07 +0100)]
Another similar speculative Win32 fix.

7 years agoProbable Win32 fix.
Carl Hetherington [Thu, 29 Sep 2016 10:04:28 +0000 (11:04 +0100)]
Probable Win32 fix.

7 years agoMore build fix attempt.
Carl Hetherington [Thu, 29 Sep 2016 09:44:24 +0000 (10:44 +0100)]
More build fix attempt.

7 years agoStill more build fixes.
Carl Hetherington [Wed, 28 Sep 2016 22:42:28 +0000 (23:42 +0100)]
Still more build fixes.

7 years agoBuild fixes for some GCC versions.
Carl Hetherington [Wed, 28 Sep 2016 21:11:59 +0000 (22:11 +0100)]
Build fixes for some GCC versions.

7 years agoYet another missing header.
Carl Hetherington [Wed, 28 Sep 2016 20:52:43 +0000 (21:52 +0100)]
Yet another missing header.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Wed, 28 Sep 2016 18:15:03 +0000 (19:15 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoMissing dep in .pc file.
Carl Hetherington [Wed, 28 Sep 2016 18:14:53 +0000 (19:14 +0100)]
Missing dep in .pc file.

7 years agoAnother missing header install.
Carl Hetherington [Wed, 28 Sep 2016 10:58:15 +0000 (11:58 +0100)]
Another missing header install.

7 years agoMissing header install.
Carl Hetherington [Wed, 28 Sep 2016 10:35:58 +0000 (11:35 +0100)]
Missing header install.

7 years agoAdd Atmos read/write and untested MXF decryption tool. 1.0-templates
Carl Hetherington [Tue, 27 Sep 2016 11:30:04 +0000 (12:30 +0100)]
Add Atmos read/write and untested MXF decryption tool.

7 years agoSome small cleanups.
Carl Hetherington [Tue, 27 Sep 2016 11:29:28 +0000 (12:29 +0100)]
Some small cleanups.

7 years agoFix decryption of assets.
Carl Hetherington [Tue, 27 Sep 2016 11:29:06 +0000 (12:29 +0100)]
Fix decryption of assets.

7 years agoUse a template for AssetReader.
Carl Hetherington [Tue, 27 Sep 2016 10:35:53 +0000 (11:35 +0100)]
Use a template for AssetReader.

7 years agoUse a template as a basis for Frames.
Carl Hetherington [Tue, 27 Sep 2016 10:22:03 +0000 (11:22 +0100)]
Use a template as a basis for Frames.

7 years agoSmall cleanups.
Carl Hetherington [Tue, 27 Sep 2016 10:12:27 +0000 (11:12 +0100)]
Small cleanups.

7 years agoFix GPL boilerplate in tools/
Carl Hetherington [Tue, 27 Sep 2016 09:20:23 +0000 (10:20 +0100)]
Fix GPL boilerplate in tools/

7 years agoDon't throw an exception on trying to create a KDM for
Carl Hetherington [Wed, 21 Sep 2016 21:23:06 +0000 (22:23 +0100)]
Don't throw an exception on trying to create a KDM for
a CPL with non-encrypted parts.

7 years agoAdd some setters.
Carl Hetherington [Tue, 20 Sep 2016 22:55:21 +0000 (23:55 +0100)]
Add some setters.

7 years agoTest ID churn.
Carl Hetherington [Tue, 13 Sep 2016 09:36:04 +0000 (10:36 +0100)]
Test ID churn.

7 years agoVarious fixes to incorrect Atmos read/write wrt XML namespaces.
Carl Hetherington [Tue, 13 Sep 2016 09:33:27 +0000 (10:33 +0100)]
Various fixes to incorrect Atmos read/write wrt XML namespaces.

7 years agoMore raw_convert long/long stuff.
Carl Hetherington [Mon, 12 Sep 2016 19:57:26 +0000 (20:57 +0100)]
More raw_convert long/long stuff.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Mon, 12 Sep 2016 10:13:58 +0000 (11:13 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoTry to normalise use of int64/long int across raw/locale convert.
Carl Hetherington [Mon, 12 Sep 2016 10:13:40 +0000 (11:13 +0100)]
Try to normalise use of int64/long int across raw/locale convert.

7 years agoRemove mysterious use of locked_stringstream.
Carl Hetherington [Mon, 12 Sep 2016 09:40:10 +0000 (10:40 +0100)]
Remove mysterious use of locked_stringstream.

7 years agoFix error.
Carl Hetherington [Mon, 12 Sep 2016 09:40:01 +0000 (10:40 +0100)]
Fix error.

7 years agoUpdate test references for change to SMPTE audio channel assignment in MXF.
Carl Hetherington [Fri, 9 Sep 2016 08:47:55 +0000 (09:47 +0100)]
Update test references for change to SMPTE audio channel assignment in MXF.

7 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Thu, 8 Sep 2016 23:32:17 +0000 (00:32 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

7 years agoSimplify previous commit and remove some debugging.
Carl Hetherington [Thu, 8 Sep 2016 23:32:08 +0000 (00:32 +0100)]
Simplify previous commit and remove some debugging.

7 years agoAdd channel assignment support for SMPTE DCPs.
Carl Hetherington [Thu, 8 Sep 2016 22:55:37 +0000 (23:55 +0100)]
Add channel assignment support for SMPTE DCPs.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Thu, 8 Sep 2016 13:16:32 +0000 (14:16 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoBetter error.
Carl Hetherington [Thu, 8 Sep 2016 13:16:17 +0000 (14:16 +0100)]
Better error.

7 years agoNeater and more correct XML subtitle parser.
Carl Hetherington [Tue, 30 Aug 2016 14:06:31 +0000 (15:06 +0100)]
Neater and more correct XML subtitle parser.

7 years agoTweak assert.
Carl Hetherington [Thu, 25 Aug 2016 13:41:52 +0000 (14:41 +0100)]
Tweak assert.

7 years agoAllow reading of certificate chains from strings.
Carl Hetherington [Thu, 25 Aug 2016 13:00:33 +0000 (14:00 +0100)]
Allow reading of certificate chains from strings.

This also makes the Certificate constructor throw if it finds
extra stuff after a certificate it is loading.

7 years agoAdd new method.
Carl Hetherington [Wed, 24 Aug 2016 10:16:08 +0000 (11:16 +0100)]
Add new method.

7 years agoFix ridiculous thinko in Time::operator{<,>}
Carl Hetherington [Mon, 22 Aug 2016 15:06:29 +0000 (16:06 +0100)]
Fix ridiculous thinko in Time::operator{<,>}

Before this x < x and x > x were true.

7 years agoFactor out RGB->XYZ matrix calculation to a separate method.
Carl Hetherington [Mon, 22 Aug 2016 13:29:43 +0000 (14:29 +0100)]
Factor out RGB->XYZ matrix calculation to a separate method.

7 years agoAdd set_text() to SubtitleString.
Carl Hetherington [Sat, 20 Aug 2016 00:25:16 +0000 (01:25 +0100)]
Add set_text() to SubtitleString.

7 years agoUse an optional<> where there should be one.
Carl Hetherington [Wed, 17 Aug 2016 13:30:21 +0000 (14:30 +0100)]
Use an optional<> where there should be one.

7 years agoAlways use ID in custom filenames.
Carl Hetherington [Tue, 16 Aug 2016 15:24:07 +0000 (16:24 +0100)]
Always use ID in custom filenames.

7 years agoCoding style.
Carl Hetherington [Tue, 16 Aug 2016 15:17:35 +0000 (16:17 +0100)]
Coding style.

7 years agoFix PKL path when using customised filenames.
Carl Hetherington [Tue, 16 Aug 2016 14:05:33 +0000 (15:05 +0100)]
Fix PKL path when using customised filenames.

7 years agoAdd locale_convert from wchar_t.
Carl Hetherington [Mon, 15 Aug 2016 15:03:33 +0000 (16:03 +0100)]
Add locale_convert from wchar_t.

7 years agoAdd wchar_t raw_convert.
Carl Hetherington [Mon, 15 Aug 2016 14:38:21 +0000 (15:38 +0100)]
Add wchar_t raw_convert.

7 years agoAdd conversions from char.
Carl Hetherington [Mon, 15 Aug 2016 13:39:41 +0000 (14:39 +0100)]
Add conversions from char.

7 years agoTry to fix int/long confusion.
Carl Hetherington [Mon, 15 Aug 2016 13:19:13 +0000 (14:19 +0100)]
Try to fix int/long confusion.

7 years agoRationalise raw/locale_convert stuff and fix build on OS X.
Carl Hetherington [Mon, 15 Aug 2016 09:09:45 +0000 (10:09 +0100)]
Rationalise raw/locale_convert stuff and fix build on OS X.

7 years agoMissing files from previous.
Carl Hetherington [Sun, 14 Aug 2016 22:59:26 +0000 (23:59 +0100)]
Missing files from previous.