libdcp.git
8 years agoFix erroneous extra character.
Carl Hetherington [Mon, 29 Feb 2016 00:36:51 +0000 (00:36 +0000)]
Fix erroneous extra character.

8 years agoUse a HMAC context to write HMAC stuff to encrypted MXFs.
Carl Hetherington [Sun, 28 Feb 2016 23:27:23 +0000 (23:27 +0000)]
Use a HMAC context to write HMAC stuff to encrypted MXFs.

8 years agoAdd SoundAsset::valid_mxf().
Carl Hetherington [Sun, 28 Feb 2016 19:39:14 +0000 (19:39 +0000)]
Add SoundAsset::valid_mxf().

8 years agoLimit values that we use for <ScreenAspectRatio> tags in Interop
Carl Hetherington [Sun, 14 Feb 2016 23:11:50 +0000 (23:11 +0000)]
Limit values that we use for <ScreenAspectRatio> tags in Interop
CPLs to the list allowed by the standard.

8 years agoAdd openssl dep to tests for Fedora.
Carl Hetherington [Fri, 5 Feb 2016 15:54:28 +0000 (15:54 +0000)]
Add openssl dep to tests for Fedora.

8 years agoBump openjpeg2-cdist.
Carl Hetherington [Wed, 3 Feb 2016 21:57:18 +0000 (21:57 +0000)]
Bump openjpeg2-cdist.

8 years agoVarious build system / dependency fixes.
Carl Hetherington [Wed, 3 Feb 2016 11:43:14 +0000 (11:43 +0000)]
Various build system / dependency fixes.

8 years agoA little #include tidying.
Carl Hetherington [Wed, 3 Feb 2016 13:28:12 +0000 (13:28 +0000)]
A little #include tidying.

8 years agoUpdate test data again; don't know why unfortunately.
Carl Hetherington [Fri, 29 Jan 2016 14:14:57 +0000 (14:14 +0000)]
Update test data again; don't know why unfortunately.

8 years agoTry to fix cscript build.
Carl Hetherington [Thu, 28 Jan 2016 21:30:43 +0000 (21:30 +0000)]
Try to fix cscript build.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Thu, 28 Jan 2016 21:16:13 +0000 (21:16 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoTry to fix cscript build.
Carl Hetherington [Thu, 28 Jan 2016 21:16:02 +0000 (21:16 +0000)]
Try to fix cscript build.

8 years agoFix asdcplib-cth branch name.
Carl Hetherington [Thu, 28 Jan 2016 09:02:10 +0000 (09:02 +0000)]
Fix asdcplib-cth branch name.

8 years agoCheck for trailing data when loading certificates.
Carl Hetherington [Wed, 27 Jan 2016 21:06:26 +0000 (21:06 +0000)]
Check for trailing data when loading certificates.

8 years agoMXF changes with newer version of asdcplib.
Carl Hetherington [Wed, 27 Jan 2016 16:17:52 +0000 (16:17 +0000)]
MXF changes with newer version of asdcplib.

8 years agoChange default MonoPictureFrame constructor to something more useful.
Carl Hetherington [Sat, 16 Jan 2016 18:02:20 +0000 (18:02 +0000)]
Change default MonoPictureFrame constructor to something more useful.

8 years agoFix asdcplib dep.
Carl Hetherington [Sat, 16 Jan 2016 17:59:01 +0000 (17:59 +0000)]
Fix asdcplib dep.

8 years agoRemove asdcplib from .pc file.
Carl Hetherington [Fri, 15 Jan 2016 18:19:35 +0000 (18:19 +0000)]
Remove asdcplib from .pc file.

8 years agoUse out-of-tree asdcplib-cth
Carl Hetherington [Thu, 14 Jan 2016 23:54:53 +0000 (23:54 +0000)]
Use out-of-tree asdcplib-cth

8 years agoAllow fractional frames per second when computing Time from frames.
Carl Hetherington [Wed, 13 Jan 2016 21:43:02 +0000 (21:43 +0000)]
Allow fractional frames per second when computing Time from frames.

8 years agoSmall cleanup.
Carl Hetherington [Tue, 12 Jan 2016 14:16:27 +0000 (14:16 +0000)]
Small cleanup.

8 years agoFix colour range in XYZ -> RGBA.
Carl Hetherington [Tue, 12 Jan 2016 14:16:21 +0000 (14:16 +0000)]
Fix colour range in XYZ -> RGBA.

8 years agoRemove unnecessary defines.
Carl Hetherington [Mon, 11 Jan 2016 00:31:07 +0000 (00:31 +0000)]
Remove unnecessary defines.

8 years agoA couple of hacks to KDMs for testing by Dolby.
Carl Hetherington [Thu, 7 Jan 2016 14:29:13 +0000 (14:29 +0000)]
A couple of hacks to KDMs for testing by Dolby.

8 years agoTry to rationalise handling of urn:uuid: prefixes.
Carl Hetherington [Tue, 5 Jan 2016 14:01:00 +0000 (14:01 +0000)]
Try to rationalise handling of urn:uuid: prefixes.

8 years agoAdd some GPL boilerplate.
Carl Hetherington [Mon, 4 Jan 2016 11:30:16 +0000 (11:30 +0000)]
Add some GPL boilerplate.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Wed, 23 Dec 2015 00:21:27 +0000 (00:21 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoRemove some unused code; add EncryptedKDM::cpl_id().
Carl Hetherington [Wed, 23 Dec 2015 00:21:19 +0000 (00:21 +0000)]
Remove some unused code; add EncryptedKDM::cpl_id().

8 years agoAsk asset to make hash so that we get an already-calculated one if it exists.
Carl Hetherington [Fri, 18 Dec 2015 15:16:23 +0000 (15:16 +0000)]
Ask asset to make hash so that we get an already-calculated one if it exists.

8 years agoAdd duration() methods to CPL and Reel.
Carl Hetherington [Wed, 16 Dec 2015 21:39:01 +0000 (21:39 +0000)]
Add duration() methods to CPL and Reel.

8 years agoMissing file.
Carl Hetherington [Wed, 16 Dec 2015 20:44:02 +0000 (20:44 +0000)]
Missing file.

8 years agoRef does not need to be a template since it's always used for Asset.
Carl Hetherington [Wed, 16 Dec 2015 20:20:47 +0000 (20:20 +0000)]
Ref does not need to be a template since it's always used for Asset.

8 years agoTidy API; subtitle_asset() -> asset()>
Carl Hetherington [Wed, 16 Dec 2015 17:02:45 +0000 (17:02 +0000)]
Tidy API; subtitle_asset() -> asset()>

8 years agoAdd edit_rate accessor.
Carl Hetherington [Wed, 16 Dec 2015 17:02:02 +0000 (17:02 +0000)]
Add edit_rate accessor.

8 years agoFix repeatability of bench tests.
Carl Hetherington [Tue, 15 Dec 2015 21:21:33 +0000 (21:21 +0000)]
Fix repeatability of bench tests.

8 years agoFix clang warning.
Carl Hetherington [Fri, 11 Dec 2015 15:28:20 +0000 (15:28 +0000)]
Fix clang warning.

8 years agoAllow certificates with preamble before BEGIN CERTIFICATE (dcpomatic #774).
Carl Hetherington [Fri, 11 Dec 2015 14:48:37 +0000 (14:48 +0000)]
Allow certificates with preamble before BEGIN CERTIFICATE (dcpomatic #774).

8 years agoMissing specification of tcp_mct=1.
Carl Hetherington [Fri, 11 Dec 2015 13:56:14 +0000 (13:56 +0000)]
Missing specification of tcp_mct=1.

8 years agoSmall fixes.
Carl Hetherington [Fri, 11 Dec 2015 13:56:04 +0000 (13:56 +0000)]
Small fixes.

8 years agoCope with being called from anywhere.
Carl Hetherington [Fri, 11 Dec 2015 13:55:57 +0000 (13:55 +0000)]
Cope with being called from anywhere.

8 years agoFix logging when using OpenMP.
Carl Hetherington [Fri, 11 Dec 2015 13:55:44 +0000 (13:55 +0000)]
Fix logging when using OpenMP.

8 years agoMake output easier to parse.
Carl Hetherington [Fri, 11 Dec 2015 13:55:32 +0000 (13:55 +0000)]
Make output easier to parse.

8 years agoMerge.
Carl Hetherington [Tue, 8 Dec 2015 12:14:16 +0000 (12:14 +0000)]
Merge.

8 years agoFix class/struct confusion.
Carl Hetherington [Tue, 8 Dec 2015 10:04:45 +0000 (10:04 +0000)]
Fix class/struct confusion.

8 years agoHide some warnings on OS X.
Carl Hetherington [Tue, 8 Dec 2015 10:02:53 +0000 (10:02 +0000)]
Hide some warnings on OS X.

8 years agoTry to fix build on OS X.
Carl Hetherington [Tue, 8 Dec 2015 09:59:03 +0000 (09:59 +0000)]
Try to fix build on OS X.

8 years agoTry to fix build on OS X.
Carl Hetherington [Tue, 8 Dec 2015 09:12:03 +0000 (09:12 +0000)]
Try to fix build on OS X.

8 years agoBump openjpeg2-cdist.
Carl Hetherington [Tue, 8 Dec 2015 00:50:16 +0000 (00:50 +0000)]
Bump openjpeg2-cdist.

8 years agoFix extra data returned from compress_j2k. Take advantage of openjp2's cinema parame...
Carl Hetherington [Sun, 6 Dec 2015 18:40:47 +0000 (18:40 +0000)]
Fix extra data returned from compress_j2k.  Take advantage of openjp2's cinema parameter setup code.

8 years agoClip audio nicely rather than allowing out-of-range samples to cause discontinuities.
Carl Hetherington [Sun, 6 Dec 2015 00:21:02 +0000 (00:21 +0000)]
Clip audio nicely rather than allowing out-of-range samples to cause discontinuities.

8 years agoBump openjpeg2.
Carl Hetherington [Sat, 5 Dec 2015 20:22:26 +0000 (20:22 +0000)]
Bump openjpeg2.

8 years agoFix openjpeg2 revision.
Carl Hetherington [Fri, 4 Dec 2015 21:10:48 +0000 (21:10 +0000)]
Fix openjpeg2 revision.

8 years agoAdd missing seek code; fix memory leak.
Carl Hetherington [Fri, 4 Dec 2015 11:51:01 +0000 (11:51 +0000)]
Add missing seek code; fix memory leak.

8 years agoAdd a couple of accessors for OpenJPEGImage.
Carl Hetherington [Fri, 4 Dec 2015 11:20:04 +0000 (11:20 +0000)]
Add a couple of accessors for OpenJPEGImage.

8 years agoTake DCP-o-matic's version of Data class.
Carl Hetherington [Sun, 29 Nov 2015 23:45:59 +0000 (23:45 +0000)]
Take DCP-o-matic's version of Data class.

8 years agoMissing install target.
Carl Hetherington [Sun, 29 Nov 2015 23:32:16 +0000 (23:32 +0000)]
Missing install target.

8 years agoMove J2K comp/decomp out into j2k.{cc,h}
Carl Hetherington [Sun, 29 Nov 2015 23:29:48 +0000 (23:29 +0000)]
Move J2K comp/decomp out into j2k.{cc,h}

8 years agoBump openjpeg2 for build fix.
Carl Hetherington [Sun, 29 Nov 2015 23:16:35 +0000 (23:16 +0000)]
Bump openjpeg2 for build fix.

8 years agoFix openjpeg library name for static link.
Carl Hetherington [Sun, 29 Nov 2015 23:04:27 +0000 (23:04 +0000)]
Fix openjpeg library name for static link.

8 years agoFix cscript.
Carl Hetherington [Sun, 29 Nov 2015 22:53:38 +0000 (22:53 +0000)]
Fix cscript.

8 years agoDump the round-tripped JPEG2000 file for checking.
Carl Hetherington [Sun, 29 Nov 2015 22:53:05 +0000 (22:53 +0000)]
Dump the round-tripped JPEG2000 file for checking.

8 years agoAdd more options to bench script.
Carl Hetherington [Sat, 28 Nov 2015 22:04:49 +0000 (22:04 +0000)]
Add more options to bench script.

8 years agoPort to openjpeg version 2.1.
Carl Hetherington [Sat, 28 Nov 2015 12:26:31 +0000 (12:26 +0000)]
Port to openjpeg version 2.1.

8 years agoFix incorrect reading of ScreenAspectRatio.
Carl Hetherington [Fri, 4 Dec 2015 20:11:29 +0000 (20:11 +0000)]
Fix incorrect reading of ScreenAspectRatio.

8 years agoAdd accessor.
Carl Hetherington [Fri, 4 Dec 2015 19:20:21 +0000 (19:20 +0000)]
Add accessor.

8 years agoFix build.
Carl Hetherington [Thu, 3 Dec 2015 13:17:57 +0000 (13:17 +0000)]
Fix build.

8 years agoAdd script to plot output of dcpdiff.
Carl Hetherington [Thu, 3 Dec 2015 10:36:51 +0000 (10:36 +0000)]
Add script to plot output of dcpdiff.

8 years agoTry to tidy up notes when using OpenMP.
Carl Hetherington [Thu, 3 Dec 2015 09:46:16 +0000 (09:46 +0000)]
Try to tidy up notes when using OpenMP.

8 years agoFlush buffer after each output line when diffing.
Carl Hetherington [Thu, 3 Dec 2015 09:32:50 +0000 (09:32 +0000)]
Flush buffer after each output line when diffing.

8 years agoUse OpenMP when comparing picture assets.
Carl Hetherington [Wed, 2 Dec 2015 12:49:00 +0000 (12:49 +0000)]
Use OpenMP when comparing picture assets.

8 years agoCheck every picture frame when -k is passed to dcpdiff.
Carl Hetherington [Tue, 1 Dec 2015 14:55:54 +0000 (14:55 +0000)]
Check every picture frame when -k is passed to dcpdiff.

8 years agoBump version
Carl Hetherington [Mon, 30 Nov 2015 13:37:19 +0000 (13:37 +0000)]
Bump version

8 years agoBump version v1.2.10
Carl Hetherington [Mon, 30 Nov 2015 13:37:19 +0000 (13:37 +0000)]
Bump version

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Mon, 30 Nov 2015 13:36:50 +0000 (13:36 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoBump version
Carl Hetherington [Mon, 30 Nov 2015 13:36:25 +0000 (13:36 +0000)]
Bump version

8 years agoBump version v1.2.9
Carl Hetherington [Mon, 30 Nov 2015 13:36:25 +0000 (13:36 +0000)]
Bump version

8 years agoBump libcxml to a release version.
Carl Hetherington [Mon, 30 Nov 2015 13:34:53 +0000 (13:34 +0000)]
Bump libcxml to a release version.

8 years agoTweaks to benchmark runner.
Carl Hetherington [Sat, 28 Nov 2015 22:45:20 +0000 (22:45 +0000)]
Tweaks to benchmark runner.

8 years agoMore bench tweaks.
Carl Hetherington [Sat, 28 Nov 2015 13:26:38 +0000 (13:26 +0000)]
More bench tweaks.

8 years agoAdd nice decompress_j2k wrapper; small fixes to bench.
Carl Hetherington [Sat, 28 Nov 2015 13:22:04 +0000 (13:22 +0000)]
Add nice decompress_j2k wrapper; small fixes to bench.

8 years agoAdd compress_j2k method and simple benchmark.
Carl Hetherington [Sat, 28 Nov 2015 13:15:37 +0000 (13:15 +0000)]
Add compress_j2k method and simple benchmark.

8 years agoSmall method name cleanup.
Carl Hetherington [Thu, 26 Nov 2015 11:24:30 +0000 (11:24 +0000)]
Small method name cleanup.

8 years agoTidy up; more/better use of BOOST_FOREACH.
Carl Hetherington [Thu, 26 Nov 2015 11:21:58 +0000 (11:21 +0000)]
Tidy up; more/better use of BOOST_FOREACH.

8 years agoAdd a new test.
Carl Hetherington [Thu, 26 Nov 2015 11:17:16 +0000 (11:17 +0000)]
Add a new test.

8 years agoAllow <Subtitle> nodes as the root of subtitles, not just <Font>
Carl Hetherington [Thu, 26 Nov 2015 11:15:02 +0000 (11:15 +0000)]
Allow <Subtitle> nodes as the root of subtitles, not just <Font>

8 years agoExtract examine_subtitle_nodes into its own method.
Carl Hetherington [Thu, 26 Nov 2015 11:09:09 +0000 (11:09 +0000)]
Extract examine_subtitle_nodes into its own method.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Mon, 23 Nov 2015 16:41:21 +0000 (16:41 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoTry removing the 'primary' receipient's certificate thumbprint from the CertificateTh...
Carl Hetherington [Mon, 23 Nov 2015 16:40:57 +0000 (16:40 +0000)]
Try removing the 'primary' receipient's certificate thumbprint from the CertificateThumbprint list.

8 years agoFix rounding error exposed by different test random set.
Carl Hetherington [Tue, 17 Nov 2015 21:21:30 +0000 (21:21 +0000)]
Fix rounding error exposed by different test random set.

8 years agoFix uninitialised variable; Win32 build fixes.
Carl Hetherington [Tue, 17 Nov 2015 19:42:14 +0000 (19:42 +0000)]
Fix uninitialised variable; Win32 build fixes.

8 years agoStray character.
Carl Hetherington [Tue, 17 Nov 2015 19:41:56 +0000 (19:41 +0000)]
Stray character.

8 years agoUse rand instead of rand_r as rand_r is not necessary and rand is available on Win32.
Carl Hetherington [Tue, 17 Nov 2015 19:06:03 +0000 (19:06 +0000)]
Use rand instead of rand_r as rand_r is not necessary and rand is available on Win32.

8 years agoRe-enable tests on Win32.
Carl Hetherington [Tue, 17 Nov 2015 18:59:43 +0000 (18:59 +0000)]
Re-enable tests on Win32.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Sun, 15 Nov 2015 20:53:42 +0000 (20:53 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoSupport trusted device lists in KDMs.
Carl Hetherington [Sun, 15 Nov 2015 20:53:25 +0000 (20:53 +0000)]
Support trusted device lists in KDMs.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Fri, 13 Nov 2015 15:30:35 +0000 (15:30 +0000)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoCope with certificate files that have no line breaks.
Carl Hetherington [Fri, 13 Nov 2015 15:30:22 +0000 (15:30 +0000)]
Cope with certificate files that have no line breaks.

8 years agoBump libcxml.
Carl Hetherington [Sun, 8 Nov 2015 19:53:24 +0000 (19:53 +0000)]
Bump libcxml.

8 years agoTry to fix build on Fedora 23.
Carl Hetherington [Fri, 6 Nov 2015 21:03:05 +0000 (21:03 +0000)]
Try to fix build on Fedora 23.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 6 Nov 2015 20:24:04 +0000 (20:24 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0