libdcp.git
7 years agoBetter exception when loading a KDM fails.
Carl Hetherington [Wed, 24 May 2017 11:47:36 +0000 (12:47 +0100)]
Better exception when loading a KDM fails.

7 years agoTest an Interop DCP (dcp_test7) with associated churn in the following test.
Carl Hetherington [Wed, 17 May 2017 09:45:57 +0000 (10:45 +0100)]
Test an Interop DCP (dcp_test7) with associated churn in the following test.

7 years agoUse http://www.digicine.com/PROTO-ASDCP-VL-20040311# for the VOLINDEX namespace so...
Carl Hetherington [Wed, 17 May 2017 09:23:30 +0000 (10:23 +0100)]
Use digicine.com/PROTO-ASDCP-VL-20040311# for the VOLINDEX namespace so as to get a slightly easier life.

7 years agoAdd scope to KeyType tags in KDMs.
Carl Hetherington [Wed, 17 May 2017 08:49:15 +0000 (09:49 +0100)]
Add scope to KeyType tags in KDMs.

7 years agoAdd ::time_of_day without seconds.
Carl Hetherington [Mon, 15 May 2017 11:58:05 +0000 (12:58 +0100)]
Add ::time_of_day without seconds.

7 years agoAdd dcpsignerthumb files.
Carl Hetherington [Mon, 15 May 2017 11:57:53 +0000 (12:57 +0100)]
Add dcpsignerthumb files.

7 years agoA few new bits.
Carl Hetherington [Mon, 15 May 2017 10:41:01 +0000 (11:41 +0100)]
A few new bits.

7 years agoTry to fix build on some older GCCs.
Carl Hetherington [Sun, 9 Apr 2017 22:29:30 +0000 (23:29 +0100)]
Try to fix build on some older GCCs.

7 years agoBump asdcplib version.
Carl Hetherington [Fri, 7 Apr 2017 21:58:34 +0000 (22:58 +0100)]
Bump asdcplib version.

7 years agoRemove believed-out-of-date use declaration.
Carl Hetherington [Fri, 7 Apr 2017 21:50:27 +0000 (22:50 +0100)]
Remove believed-out-of-date use declaration.

7 years agoMore error information from CertificateChain::valid.
Carl Hetherington [Tue, 4 Apr 2017 22:15:23 +0000 (23:15 +0100)]
More error information from CertificateChain::valid.

7 years agoFix crash with a missing subtitle asset.
Carl Hetherington [Tue, 4 Apr 2017 22:15:06 +0000 (23:15 +0100)]
Fix crash with a missing subtitle asset.

7 years agoAdd some more bits to the dcpinfo.
Carl Hetherington [Tue, 4 Apr 2017 22:14:44 +0000 (23:14 +0100)]
Add some more bits to the dcpinfo.

7 years agoAdd stride parameter to dcp::xyz_to_rgba.
Carl Hetherington [Thu, 30 Mar 2017 22:08:54 +0000 (23:08 +0100)]
Add stride parameter to dcp::xyz_to_rgba.

7 years agoAdd comment.
Carl Hetherington [Thu, 30 Mar 2017 22:08:06 +0000 (23:08 +0100)]
Add comment.

7 years agoMove Size operator functions to the same file as the class declaration.
Carl Hetherington [Fri, 17 Mar 2017 12:39:14 +0000 (12:39 +0000)]
Move Size operator functions to the same file as the class declaration.

7 years agoAdd simple sample-access API to SoundFrame.
Carl Hetherington [Wed, 1 Mar 2017 21:05:21 +0000 (21:05 +0000)]
Add simple sample-access API to SoundFrame.

7 years agoFormat XML sub output nicely with indents and such.
Carl Hetherington [Fri, 24 Feb 2017 14:57:28 +0000 (14:57 +0000)]
Format XML sub output nicely with indents and such.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 14 Feb 2017 17:02:57 +0000 (17:02 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoFix test churn.
Carl Hetherington [Tue, 14 Feb 2017 17:02:38 +0000 (17:02 +0000)]
Fix test churn.

7 years agoRemove erroneously committed signer thumbprint stuff.
Carl Hetherington [Tue, 14 Feb 2017 16:47:41 +0000 (16:47 +0000)]
Remove erroneously committed signer thumbprint stuff.

7 years agoExtract KDM standard.
Carl Hetherington [Tue, 14 Feb 2017 16:43:59 +0000 (16:43 +0000)]
Extract KDM standard.

7 years agoCheck SMPTE structure ID when reading KDMs.
Carl Hetherington [Tue, 14 Feb 2017 16:30:19 +0000 (16:30 +0000)]
Check SMPTE structure ID when reading KDMs.

7 years agoTidy up storage of key type in DecryptedKDMKey.
Carl Hetherington [Tue, 14 Feb 2017 16:26:15 +0000 (16:26 +0000)]
Tidy up storage of key type in DecryptedKDMKey.

7 years agoNew dcpkdm tool.
Carl Hetherington [Tue, 14 Feb 2017 16:15:37 +0000 (16:15 +0000)]
New dcpkdm tool.

7 years agoFix copy-and-paste error.
Carl Hetherington [Tue, 14 Feb 2017 16:15:26 +0000 (16:15 +0000)]
Fix copy-and-paste error.

7 years agoAdd accessor for recipient X509 subject name.
Carl Hetherington [Tue, 14 Feb 2017 16:15:13 +0000 (16:15 +0000)]
Add accessor for recipient X509 subject name.

7 years agoAnother better error.
Carl Hetherington [Mon, 13 Feb 2017 20:33:14 +0000 (20:33 +0000)]
Another better error.

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.