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

7 years agoSupport reading of encrypted subtitles.
Carl Hetherington [Sun, 14 Aug 2016 22:59:16 +0000 (23:59 +0100)]
Support reading of encrypted subtitles.

7 years agoEnable encryption of SMPTE subtitles.
Carl Hetherington [Sat, 13 Aug 2016 22:35:39 +0000 (23:35 +0100)]
Enable encryption of SMPTE subtitles.

Separate out EncryptionContext class to use in SMPTESubtitleAsset::write().

7 years agoTry non-linearised gamma of 2.4 for Rec 2020.
Carl Hetherington [Fri, 12 Aug 2016 12:26:46 +0000 (13:26 +0100)]
Try non-linearised gamma of 2.4 for Rec 2020.

Some discussion of this on #892.  Also influenced by discussions
with Dennis (email Tue, 30 Jun 2015) on how the oft-quoted
(e.g. by Wikipedia) gamma functions are camera transforms and not
intended for uses like ours.

Also see ITU-r BT1886 which talks about a gamma of 2.4.

7 years agoAdd more {raw,locale}_convert methods.
Carl Hetherington [Fri, 12 Aug 2016 11:53:29 +0000 (12:53 +0100)]
Add more {raw,locale}_convert methods.

7 years agoAttempts to fix Windows build.
Carl Hetherington [Fri, 12 Aug 2016 09:50:22 +0000 (10:50 +0100)]
Attempts to fix Windows build.

7 years agoMore missing includes.
Carl Hetherington [Fri, 12 Aug 2016 08:48:24 +0000 (09:48 +0100)]
More missing includes.

7 years agoMissing include.
Carl Hetherington [Fri, 12 Aug 2016 08:05:24 +0000 (09:05 +0100)]
Missing include.

7 years agoCopy in stream-less compose.hpp
Carl Hetherington [Thu, 11 Aug 2016 16:19:21 +0000 (17:19 +0100)]
Copy in stream-less compose.hpp

7 years agoMore stringstream removal.
Carl Hetherington [Thu, 11 Aug 2016 16:17:02 +0000 (17:17 +0100)]
More stringstream removal.

7 years agoRemove unnecessary include.
Carl Hetherington [Thu, 11 Aug 2016 15:28:32 +0000 (16:28 +0100)]
Remove unnecessary include.

7 years agoMore stringstream removal.
Carl Hetherington [Thu, 11 Aug 2016 15:22:28 +0000 (16:22 +0100)]
More stringstream removal.

7 years agoRemove another stringstream from DecryptedKDM.
Carl Hetherington [Thu, 11 Aug 2016 15:03:21 +0000 (16:03 +0100)]
Remove another stringstream from DecryptedKDM.

7 years agoDon't use stringstream in DecryptedKDM.
Carl Hetherington [Thu, 11 Aug 2016 14:59:49 +0000 (15:59 +0100)]
Don't use stringstream in DecryptedKDM.

7 years agoMissing include.
Carl Hetherington [Thu, 11 Aug 2016 14:42:04 +0000 (15:42 +0100)]
Missing include.

7 years agoRemove stringstream from Time.
Carl Hetherington [Thu, 11 Aug 2016 14:26:30 +0000 (15:26 +0100)]
Remove stringstream from Time.

7 years agoAdd test for SMPTE DCP time to string.
Carl Hetherington [Thu, 11 Aug 2016 14:24:33 +0000 (15:24 +0100)]
Add test for SMPTE DCP time to string.

7 years agoRemove thought-uncritical test that requires stringstream.
Carl Hetherington [Thu, 11 Aug 2016 14:02:06 +0000 (15:02 +0100)]
Remove thought-uncritical test that requires stringstream.

7 years agoRemove unnecessary include.
Carl Hetherington [Thu, 11 Aug 2016 14:01:49 +0000 (15:01 +0100)]
Remove unnecessary include.

7 years agoAdd locale_convert. Reimplement raw_convert without stringstream.
Carl Hetherington [Thu, 11 Aug 2016 13:12:51 +0000 (14:12 +0100)]
Add locale_convert.  Reimplement raw_convert without stringstream.

7 years agoAdd method to return a base-64 version of a whole CertificateChain.
Carl Hetherington [Thu, 4 Aug 2016 21:33:03 +0000 (22:33 +0100)]
Add method to return a base-64 version of a whole CertificateChain.

7 years agoAdd comment.
Carl Hetherington [Tue, 2 Aug 2016 15:41:43 +0000 (16:41 +0100)]
Add comment.

7 years agoSimplify NameFormat stuff.
Carl Hetherington [Sun, 31 Jul 2016 23:47:53 +0000 (00:47 +0100)]
Simplify NameFormat stuff.

7 years agoAdd content name to FilenameFormat.
Carl Hetherington [Sun, 31 Jul 2016 22:53:33 +0000 (23:53 +0100)]
Add content name to FilenameFormat.

7 years agoComments.
Carl Hetherington [Fri, 29 Jul 2016 23:14:01 +0000 (00:14 +0100)]
Comments.

7 years agoAdd reel index/count to FilenameFormat.
Carl Hetherington [Fri, 29 Jul 2016 22:14:58 +0000 (23:14 +0100)]
Add reel index/count to FilenameFormat.

7 years agoSimplify NameFormat classes a bit.
Carl Hetherington [Fri, 29 Jul 2016 15:21:13 +0000 (16:21 +0100)]
Simplify NameFormat classes a bit.

7 years agoBasics of allowing custom filenames for DCP components.
Carl Hetherington [Fri, 29 Jul 2016 14:53:26 +0000 (15:53 +0100)]
Basics of allowing custom filenames for DCP components.

7 years agoImprove an error message slightly.
Carl Hetherington [Fri, 29 Jul 2016 08:23:12 +0000 (09:23 +0100)]
Improve an error message slightly.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Thu, 28 Jul 2016 15:43:28 +0000 (16:43 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoAdd some accessors.
Carl Hetherington [Thu, 28 Jul 2016 15:43:20 +0000 (16:43 +0100)]
Add some accessors.

7 years agoDon't build test on Windows; rand_r() not available.
Carl Hetherington [Fri, 22 Jul 2016 12:27:44 +0000 (13:27 +0100)]
Don't build test on Windows; rand_r() not available.

7 years agoBump asdcplib for stringstream fix.
Carl Hetherington [Fri, 22 Jul 2016 09:05:34 +0000 (10:05 +0100)]
Bump asdcplib for stringstream fix.

7 years agoAdd some tests for the hashing put into the FrameInfo.
Carl Hetherington [Fri, 22 Jul 2016 08:57:49 +0000 (09:57 +0100)]
Add some tests for the hashing put into the FrameInfo.

7 years agoBump libcxml for build fix.
Carl Hetherington [Fri, 22 Jul 2016 08:48:37 +0000 (09:48 +0100)]
Bump libcxml for build fix.

7 years agoUse locked_sstream. Replace once parse_stream with parse_memory.
Carl Hetherington [Fri, 22 Jul 2016 08:20:58 +0000 (09:20 +0100)]
Use locked_sstream.  Replace once parse_stream with parse_memory.

7 years agoTrim some unused stream includes / usings.
Carl Hetherington [Thu, 21 Jul 2016 10:57:33 +0000 (11:57 +0100)]
Trim some unused stream includes / usings.

7 years agoBump version
Carl Hetherington [Sun, 3 Jul 2016 21:04:48 +0000 (22:04 +0100)]
Bump version

7 years agoBump version v1.3.4
Carl Hetherington [Sun, 3 Jul 2016 21:04:48 +0000 (22:04 +0100)]
Bump version

7 years agoUse release version of asdcplib-cth.
Carl Hetherington [Sun, 3 Jul 2016 21:01:24 +0000 (22:01 +0100)]
Use release version of asdcplib-cth.

7 years agoasdcp headers moved into subdirectory.
Carl Hetherington [Fri, 1 Jul 2016 11:32:42 +0000 (12:32 +0100)]
asdcp headers moved into subdirectory.

7 years agoMore detailed notes when audio descriptor comparisons fail.
Carl Hetherington [Thu, 30 Jun 2016 09:29:27 +0000 (10:29 +0100)]
More detailed notes when audio descriptor comparisons fail.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Fri, 24 Jun 2016 11:24:24 +0000 (12:24 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoSupport underlining of subtitles.
Carl Hetherington [Fri, 24 Jun 2016 11:24:16 +0000 (12:24 +0100)]
Support underlining of subtitles.

7 years agoMissing exit
Carl Hetherington [Fri, 24 Jun 2016 11:24:05 +0000 (12:24 +0100)]
Missing exit

7 years agoExpress standard differences in FontNode more neatly.
Carl Hetherington [Fri, 24 Jun 2016 11:12:23 +0000 (12:12 +0100)]
Express standard differences in FontNode more neatly.

7 years agoSmall callgrind-informed optimisation.
Carl Hetherington [Wed, 22 Jun 2016 01:04:03 +0000 (02:04 +0100)]
Small callgrind-informed optimisation.

7 years agoFix thinko in dependencies specification.
Carl Hetherington [Wed, 15 Jun 2016 21:41:02 +0000 (22:41 +0100)]
Fix thinko in dependencies specification.

7 years agoRe-add support for OpenJPEG version 1.5.x.
Carl Hetherington [Tue, 14 Jun 2016 20:47:00 +0000 (21:47 +0100)]
Re-add support for OpenJPEG version 1.5.x.

7 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 14 Jun 2016 13:09:52 +0000 (14:09 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

7 years agoFix tab/whitespace error.
Carl Hetherington [Tue, 14 Jun 2016 13:09:44 +0000 (14:09 +0100)]
Fix tab/whitespace error.

7 years agoTighten up time parsing, and also allow the previously
Carl Hetherington [Mon, 13 Jun 2016 23:20:06 +0000 (00:20 +0100)]
Tighten up time parsing, and also allow the previously
unsupported Interop HH:MM:SS.sss format for times.

7 years agoMore consistent error message in a subtitle exception.
Carl Hetherington [Mon, 13 Jun 2016 22:11:20 +0000 (23:11 +0100)]
More consistent error message in a subtitle exception.

7 years agoFix up for new cdist.
Carl Hetherington [Mon, 13 Jun 2016 12:46:18 +0000 (13:46 +0100)]
Fix up for new cdist.

7 years agoAdd OpenSSL licence exception.
Carl Hetherington [Mon, 13 Jun 2016 11:40:54 +0000 (12:40 +0100)]
Add OpenSSL licence exception.

7 years agoMore ToolkitVersion churn; hopefully that's it for now.
Carl Hetherington [Fri, 10 Jun 2016 08:02:01 +0000 (09:02 +0100)]
More ToolkitVersion churn; hopefully that's it for now.

7 years agoBump asdcplib-cth for MXF version number tweak.
Carl Hetherington [Thu, 9 Jun 2016 19:25:11 +0000 (20:25 +0100)]
Bump asdcplib-cth for MXF version number tweak.

7 years agoBump asdcplib-cth for Centos 5 build fix.
Carl Hetherington [Thu, 9 Jun 2016 15:18:11 +0000 (16:18 +0100)]
Bump asdcplib-cth for Centos 5 build fix.

8 years agoAdd some explicit declarations to constructors.
Carl Hetherington [Thu, 2 Jun 2016 09:28:16 +0000 (10:28 +0100)]
Add some explicit declarations to constructors.

8 years agoFix uninitialised variable.
Carl Hetherington [Thu, 2 Jun 2016 08:57:18 +0000 (09:57 +0100)]
Fix uninitialised variable.

8 years agoRemove unused variable.
Carl Hetherington [Thu, 2 Jun 2016 08:57:05 +0000 (09:57 +0100)]
Remove unused variable.

8 years agoMissing noncopyable.
Carl Hetherington [Thu, 2 Jun 2016 08:56:56 +0000 (09:56 +0100)]
Missing noncopyable.

8 years agoAdd Asset::set_hash().
Carl Hetherington [Thu, 2 Jun 2016 08:26:39 +0000 (09:26 +0100)]
Add Asset::set_hash().

8 years agoVarious tweaks to ReelAsset hashes.
Carl Hetherington [Thu, 2 Jun 2016 08:20:19 +0000 (09:20 +0100)]
Various tweaks to ReelAsset hashes.

Make ReelAsset::_hash optional.  When writing the ReelAsset to the
CPL, use _hash rather than re-fetching it from the asset.  Provide
accessor for _hash.

8 years agoUse optional<> for _hash and make it private.
Carl Hetherington [Thu, 2 Jun 2016 08:14:15 +0000 (09:14 +0100)]
Use optional<> for _hash and make it private.

8 years agoIgnore deprecated declarations for now.
Carl Hetherington [Thu, 2 Jun 2016 00:11:20 +0000 (01:11 +0100)]
Ignore deprecated declarations for now.

8 years agoStill more licence fixups.
Carl Hetherington [Wed, 1 Jun 2016 22:54:58 +0000 (23:54 +0100)]
Still more licence fixups.

8 years agoMore licence fixups.
Carl Hetherington [Wed, 1 Jun 2016 22:53:43 +0000 (23:53 +0100)]
More licence fixups.

8 years agoAdd Reader classes to permit much more efficient DCP reading.
Carl Hetherington [Wed, 1 Jun 2016 22:53:06 +0000 (23:53 +0100)]
Add Reader classes to permit much more efficient DCP reading.

8 years agoNo-op; Fix GPL address and mention libdcp by name.
Carl Hetherington [Wed, 25 May 2016 19:46:53 +0000 (20:46 +0100)]
No-op; Fix GPL address and mention libdcp by name.

8 years agoID churn.
Carl Hetherington [Wed, 25 May 2016 14:12:53 +0000 (15:12 +0100)]
ID churn.

8 years agoFix crash with no atmos.
Carl Hetherington [Wed, 25 May 2016 14:09:45 +0000 (15:09 +0100)]
Fix crash with no atmos.

8 years agoBasic writing of DCPs containing Atmos MXFs; untested.
Carl Hetherington [Wed, 25 May 2016 14:08:21 +0000 (15:08 +0100)]
Basic writing of DCPs containing Atmos MXFs; untested.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Wed, 25 May 2016 13:21:47 +0000 (14:21 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoAdd very minimal Atmos asset.
Carl Hetherington [Wed, 25 May 2016 13:21:37 +0000 (14:21 +0100)]
Add very minimal Atmos asset.

8 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Tue, 24 May 2016 22:02:38 +0000 (23:02 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

8 years agoBump asdcplib version.
Carl Hetherington [Tue, 24 May 2016 22:01:57 +0000 (23:01 +0100)]
Bump asdcplib version.

8 years agoAdd somewhat speculative Rec 1886 and Rec 2020 colour conversions.
Carl Hetherington [Tue, 24 May 2016 11:25:22 +0000 (12:25 +0100)]
Add somewhat speculative Rec 1886 and Rec 2020 colour conversions.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Tue, 24 May 2016 10:28:06 +0000 (11:28 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoAdd reporting of DCP type.
Carl Hetherington [Tue, 24 May 2016 10:26:50 +0000 (11:26 +0100)]
Add reporting of DCP type.

8 years agoUpdate tests for asdcplib library version bump; this gets into the MXFs.
Carl Hetherington [Tue, 24 May 2016 10:26:13 +0000 (11:26 +0100)]
Update tests for asdcplib library version bump; this gets into the MXFs.

8 years agoMove namespaces into variables.
Carl Hetherington [Tue, 24 May 2016 08:55:53 +0000 (09:55 +0100)]
Move namespaces into variables.

8 years agoAdd missing virtual destructor.
Carl Hetherington [Mon, 23 May 2016 20:00:11 +0000 (21:00 +0100)]
Add missing virtual destructor.

8 years agoFix to previous gcc version hack.
Carl Hetherington [Mon, 23 May 2016 13:51:20 +0000 (14:51 +0100)]
Fix to previous gcc version hack.

8 years agoMerge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Carl Hetherington [Mon, 23 May 2016 13:38:50 +0000 (14:38 +0100)]
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0

8 years agoTry to allow build with gcc 4.1.
Carl Hetherington [Mon, 23 May 2016 13:38:41 +0000 (14:38 +0100)]
Try to allow build with gcc 4.1.

8 years agoPass annotation text from decrypted to encrypted KDMs.
Carl Hetherington [Sun, 15 May 2016 23:10:16 +0000 (00:10 +0100)]
Pass annotation text from decrypted to encrypted KDMs.

8 years agoTry to fix comparison of encrypted sound assets.
Carl Hetherington [Sun, 15 May 2016 21:55:56 +0000 (22:55 +0100)]
Try to fix comparison of encrypted sound assets.