libdcp.git
9 years agoAdd gcov test coverage (written to build/test/coverage) and a couple more tests.
Carl Hetherington [Sat, 27 Dec 2014 23:25:50 +0000 (23:25 +0000)]
Add gcov test coverage (written to build/test/coverage) and a couple more tests.

9 years agoRemove unused OpenDCP LUTs.
Carl Hetherington [Sat, 27 Dec 2014 20:36:25 +0000 (20:36 +0000)]
Remove unused OpenDCP LUTs.

9 years agoRename color -> colour.
Carl Hetherington [Sat, 27 Dec 2014 20:35:19 +0000 (20:35 +0000)]
Rename color -> colour.

9 years agoSome missed bits from 0.x.
Carl Hetherington [Tue, 23 Dec 2014 22:29:44 +0000 (22:29 +0000)]
Some missed bits from 0.x.

9 years agoPick up alternative capitalisation of VAlign parameter in subtitles.
Carl Hetherington [Sun, 21 Dec 2014 03:01:38 +0000 (03:01 +0000)]
Pick up alternative capitalisation of VAlign parameter in subtitles.

9 years agoSecond part of defaulting reel number to 1.
Carl Hetherington [Sun, 21 Dec 2014 01:45:48 +0000 (01:45 +0000)]
Second part of defaulting reel number to 1.

9 years agoDefault to reel number 1 in SubtitleContent.
Carl Hetherington [Sun, 21 Dec 2014 01:07:31 +0000 (01:07 +0000)]
Default to reel number 1 in SubtitleContent.

9 years agoBasic comparison of subtitle assets; tweaks to InteropLoadFont.
Carl Hetherington [Sat, 20 Dec 2014 22:25:55 +0000 (22:25 +0000)]
Basic comparison of subtitle assets; tweaks to InteropLoadFont.

9 years agoAdd an accessor for _load_font_nodes.
Carl Hetherington [Mon, 15 Dec 2014 15:02:25 +0000 (15:02 +0000)]
Add an accessor for _load_font_nodes.

9 years agoMissing header installs.
Carl Hetherington [Mon, 15 Dec 2014 15:02:14 +0000 (15:02 +0000)]
Missing header installs.

9 years agoMissing header installs.
Carl Hetherington [Mon, 15 Dec 2014 01:15:36 +0000 (01:15 +0000)]
Missing header installs.

9 years agoSupport multiple fonts in subtitles.
Carl Hetherington [Sun, 14 Dec 2014 23:01:42 +0000 (23:01 +0000)]
Support multiple fonts in subtitles.

9 years agoSwitch subtitle string font specs to be the font ID; split SubtitleContent into Inter...
Carl Hetherington [Sun, 14 Dec 2014 22:44:23 +0000 (22:44 +0000)]
Switch subtitle string font specs to be the font ID; split SubtitleContent into Interop and SMPTE.

9 years agoComment.
Carl Hetherington [Sun, 14 Dec 2014 17:44:45 +0000 (17:44 +0000)]
Comment.

9 years agoRemove over-zealous assert().
Carl Hetherington [Thu, 11 Dec 2014 15:56:37 +0000 (15:56 +0000)]
Remove over-zealous assert().

9 years agoAdd constructor of MonoPictureFrame from a JPEG2000 codestream file.
Carl Hetherington [Mon, 24 Nov 2014 09:37:22 +0000 (09:37 +0000)]
Add constructor of MonoPictureFrame from a JPEG2000 codestream file.

9 years agoForward-port time rounding fix from 0.x.
Carl Hetherington [Sun, 2 Nov 2014 00:32:33 +0000 (00:32 +0000)]
Forward-port time rounding fix from 0.x.

9 years agoDon't build examples from cscript, to avoid Debian unstable confusion with ImageMagic...
Carl Hetherington [Sun, 26 Oct 2014 09:49:33 +0000 (09:49 +0000)]
Don't build examples from cscript, to avoid Debian unstable confusion with ImageMagick/GraphicsMagick.

9 years agoAdd xyz_to_xyz, forward ported from 0.x.
Carl Hetherington [Sat, 25 Oct 2014 13:07:10 +0000 (14:07 +0100)]
Add xyz_to_xyz, forward ported from 0.x.

9 years agoMerge 12-bit fix from 0.x.
Carl Hetherington [Tue, 21 Oct 2014 17:39:33 +0000 (18:39 +0100)]
Merge 12-bit fix from 0.x.

9 years agoForward-port heinous time thinko from 0.x.
Carl Hetherington [Mon, 6 Oct 2014 19:39:32 +0000 (20:39 +0100)]
Forward-port heinous time thinko from 0.x.

9 years agoAdd set_size to SubtitleString.
Carl Hetherington [Wed, 1 Oct 2014 23:26:58 +0000 (00:26 +0100)]
Add set_size to SubtitleString.

9 years agoClarify subtitle position with comments; add SubtitleString::set_v_position.
Carl Hetherington [Wed, 1 Oct 2014 23:12:49 +0000 (00:12 +0100)]
Clarify subtitle position with comments; add SubtitleString::set_v_position.

9 years agoQuote openssl -subj strings.
Carl Hetherington [Thu, 18 Sep 2014 22:45:09 +0000 (23:45 +0100)]
Quote openssl -subj strings.

9 years agoAllow Signer and certificate chains to be made with specified organisation, common...
Carl Hetherington [Thu, 11 Sep 2014 13:06:19 +0000 (14:06 +0100)]
Allow Signer and certificate chains to be made with specified organisation, common name etc.

9 years agoHeader guard.
Carl Hetherington [Tue, 5 Aug 2014 14:00:19 +0000 (15:00 +0100)]
Header guard.

9 years agoopenjpeg-cdist bump again.
Carl Hetherington [Tue, 22 Jul 2014 18:56:36 +0000 (19:56 +0100)]
openjpeg-cdist bump again.

9 years agoBump openjpeg-cdist.
Carl Hetherington [Tue, 22 Jul 2014 18:55:02 +0000 (19:55 +0100)]
Bump openjpeg-cdist.

9 years agocdist changes.
Carl Hetherington [Tue, 22 Jul 2014 18:53:48 +0000 (19:53 +0100)]
cdist changes.

9 years agoSome include trimming,.
Carl Hetherington [Tue, 22 Jul 2014 12:50:57 +0000 (13:50 +0100)]
Some include trimming,.

9 years agoImprove error.
Carl Hetherington [Tue, 22 Jul 2014 09:46:29 +0000 (10:46 +0100)]
Improve error.

9 years agoImprove a couple of errors.
Carl Hetherington [Tue, 22 Jul 2014 08:46:32 +0000 (09:46 +0100)]
Improve a couple of errors.

9 years agoVarious attempts to clean up DCP comparison code.
Carl Hetherington [Mon, 21 Jul 2014 23:49:15 +0000 (00:49 +0100)]
Various attempts to clean up DCP comparison code.

9 years agoFix up some equals() prototype confusion.
Carl Hetherington [Mon, 21 Jul 2014 14:49:51 +0000 (15:49 +0100)]
Fix up some equals() prototype confusion.

9 years agoRemove some shared_ptr-itis.
Carl Hetherington [Mon, 21 Jul 2014 14:42:48 +0000 (15:42 +0100)]
Remove some shared_ptr-itis.

9 years agoVarious fix-ups and warning fixes from OS X.
Carl Hetherington [Mon, 21 Jul 2014 12:47:40 +0000 (13:47 +0100)]
Various fix-ups and warning fixes from OS X.

9 years agoAllow loading of EncryptedKDMs from strings.
Carl Hetherington [Sun, 20 Jul 2014 22:38:07 +0000 (23:38 +0100)]
Allow loading of EncryptedKDMs from strings.

9 years agoFix some warnings.
Carl Hetherington [Sun, 20 Jul 2014 22:34:44 +0000 (23:34 +0100)]
Fix some warnings.

9 years agoReflect return of <KeyId> tags in test refs.
Carl Hetherington [Sun, 20 Jul 2014 22:34:17 +0000 (23:34 +0100)]
Reflect return of <KeyId> tags in test refs.

9 years agoRemove some unused methods.
Carl Hetherington [Sun, 20 Jul 2014 19:37:17 +0000 (20:37 +0100)]
Remove some unused methods.

9 years agoTidy up KDM generation from CPLs a bit.
Carl Hetherington [Sun, 20 Jul 2014 14:11:57 +0000 (15:11 +0100)]
Tidy up KDM generation from CPLs a bit.

9 years agoPut ReelAsset key id into a new ReelMXFAsset.
Carl Hetherington [Sun, 20 Jul 2014 13:36:16 +0000 (14:36 +0100)]
Put ReelAsset key id into a new ReelMXFAsset.

9 years agoFix cscript for OS X.
Carl Hetherington [Sat, 19 Jul 2014 23:47:40 +0000 (00:47 +0100)]
Fix cscript for OS X.

9 years agoHeader guard.
Carl Hetherington [Fri, 18 Jul 2014 23:42:23 +0000 (00:42 +0100)]
Header guard.

9 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 18 Jul 2014 14:29:36 +0000 (15:29 +0100)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

9 years agoMissing initialiser.
Carl Hetherington [Fri, 18 Jul 2014 14:29:30 +0000 (15:29 +0100)]
Missing initialiser.

9 years agoMake tests more robust to different sort behaviours.
Carl Hetherington [Fri, 18 Jul 2014 14:18:58 +0000 (14:18 +0000)]
Make tests more robust to different sort behaviours.

9 years agoDisable tests on Centos only.
Carl Hetherington [Fri, 18 Jul 2014 13:02:56 +0000 (14:02 +0100)]
Disable tests on Centos only.

9 years agoUpdate README.
Carl Hetherington [Fri, 18 Jul 2014 12:53:34 +0000 (13:53 +0100)]
Update README.

9 years agoMissing namespace.
Carl Hetherington [Fri, 18 Jul 2014 12:50:59 +0000 (13:50 +0100)]
Missing namespace.

9 years agoFix operator=.
Carl Hetherington [Fri, 18 Jul 2014 12:13:24 +0000 (13:13 +0100)]
Fix operator=.

9 years agoUse tmpdir for temporary files.
Carl Hetherington [Fri, 18 Jul 2014 12:13:20 +0000 (13:13 +0100)]
Use tmpdir for temporary files.

9 years agoComment fixes.
Carl Hetherington [Fri, 18 Jul 2014 10:48:27 +0000 (11:48 +0100)]
Comment fixes.

9 years agoVarious small tweaks and fixes.
Carl Hetherington [Fri, 18 Jul 2014 10:45:19 +0000 (11:45 +0100)]
Various small tweaks and fixes.

9 years agoQuite large reworking of signer/cert handling.
Carl Hetherington [Thu, 17 Jul 2014 23:15:34 +0000 (00:15 +0100)]
Quite large reworking of signer/cert handling.

9 years agoDisable test building for cdist linux builds.
Carl Hetherington [Thu, 17 Jul 2014 20:51:52 +0000 (21:51 +0100)]
Disable test building for cdist linux builds.

9 years agoGet Signer to take a PEM string rather than a filename.
Carl Hetherington [Thu, 17 Jul 2014 15:52:45 +0000 (16:52 +0100)]
Get Signer to take a PEM string rather than a filename.

9 years agoAdd variousn new bits to CertificateChain.
Carl Hetherington [Thu, 17 Jul 2014 15:12:56 +0000 (16:12 +0100)]
Add variousn new bits to CertificateChain.

9 years agoMore tests.
Carl Hetherington [Thu, 17 Jul 2014 14:07:23 +0000 (15:07 +0100)]
More tests.

9 years agoAdd verify() to CertificateChain.
Carl Hetherington [Thu, 17 Jul 2014 14:04:11 +0000 (15:04 +0100)]
Add verify() to CertificateChain.

9 years agoVarious test fixes.
Carl Hetherington [Wed, 16 Jul 2014 13:02:23 +0000 (14:02 +0100)]
Various test fixes.

9 years agoFix truncated subtitle output.
Carl Hetherington [Wed, 16 Jul 2014 13:01:56 +0000 (14:01 +0100)]
Fix truncated subtitle output.

9 years agoFix erroneous urn:uuid: prefix.
Carl Hetherington [Wed, 16 Jul 2014 13:01:46 +0000 (14:01 +0100)]
Fix erroneous urn:uuid: prefix.

9 years agoMove _intrinsic_duration and _edit_rate up to the MXF class as XML subtitle files...
Carl Hetherington [Thu, 10 Jul 2014 15:16:51 +0000 (16:16 +0100)]
Move _intrinsic_duration and _edit_rate up to the MXF class as XML subtitle files do not contain this information (whereas MXF files do).

9 years agoRestore creation of DCP directories in the constructor.
Carl Hetherington [Thu, 10 Jul 2014 15:03:05 +0000 (16:03 +0100)]
Restore creation of DCP directories in the constructor.

9 years agoComment fix.
Carl Hetherington [Thu, 10 Jul 2014 10:54:49 +0000 (11:54 +0100)]
Comment fix.

9 years agoAdd a couple of accessors.
Carl Hetherington [Thu, 10 Jul 2014 09:47:09 +0000 (10:47 +0100)]
Add a couple of accessors.

9 years agoAllow construction of empty PictureFrames; some accessors.
Carl Hetherington [Wed, 9 Jul 2014 16:05:52 +0000 (17:05 +0100)]
Allow construction of empty PictureFrames; some accessors.

9 years agoAdd method to return frames as RGB to a given buffer.
Carl Hetherington [Wed, 9 Jul 2014 09:00:34 +0000 (10:00 +0100)]
Add method to return frames as RGB to a given buffer.

9 years agoRename xyz_to_rgb to xyz_to_rgba.
Carl Hetherington [Tue, 8 Jul 2014 21:42:44 +0000 (22:42 +0100)]
Rename xyz_to_rgb to xyz_to_rgba.

9 years agoUse libcxml git head.
Carl Hetherington [Tue, 8 Jul 2014 21:40:18 +0000 (22:40 +0100)]
Use libcxml git head.

9 years agoAdd some accessors.
Carl Hetherington [Tue, 8 Jul 2014 21:40:13 +0000 (22:40 +0100)]
Add some accessors.

9 years agoDon't always create DCP directories in the constructor.
Carl Hetherington [Tue, 8 Jul 2014 21:39:59 +0000 (22:39 +0100)]
Don't always create DCP directories in the constructor.

9 years agoComment.
Carl Hetherington [Fri, 4 Jul 2014 19:26:34 +0000 (20:26 +0100)]
Comment.

9 years agoComment fix.
Carl Hetherington [Fri, 4 Jul 2014 18:59:18 +0000 (19:59 +0100)]
Comment fix.

9 years agoTweak comments.
Carl Hetherington [Fri, 4 Jul 2014 18:58:46 +0000 (19:58 +0100)]
Tweak comments.

9 years agoUpdate _file when writing subtitle content.
Carl Hetherington [Fri, 4 Jul 2014 14:54:04 +0000 (15:54 +0100)]
Update _file when writing subtitle content.

9 years agoFix fopen call and throw an exception if it fails.
Carl Hetherington [Fri, 4 Jul 2014 14:39:35 +0000 (15:39 +0100)]
Fix fopen call and throw an exception if it fails.

9 years agoTweaks: don't use shared_ptr for dcp::SubtitleString; SubtitleContent::write_xml...
Carl Hetherington [Tue, 1 Jul 2014 23:17:24 +0000 (00:17 +0100)]
Tweaks: don't use shared_ptr for dcp::SubtitleString; SubtitleContent::write_xml takes a path.

9 years agoForward-port KDM formulation from v0.
Carl Hetherington [Thu, 26 Jun 2014 19:33:19 +0000 (20:33 +0100)]
Forward-port KDM formulation from v0.

9 years agoForward-port raw_convert precision parameter from v0.
Carl Hetherington [Thu, 26 Jun 2014 15:06:33 +0000 (16:06 +0100)]
Forward-port raw_convert precision parameter from v0.

10 years agoThrow NotEncryptedError on trying to make a KDM for non-encrypted assets.
Carl Hetherington [Fri, 13 Jun 2014 15:11:51 +0000 (16:11 +0100)]
Throw NotEncryptedError on trying to make a KDM for non-encrypted assets.

10 years agoWork around symbol clash with ERROR on Win32/mingw.
Carl Hetherington [Fri, 13 Jun 2014 11:51:48 +0000 (12:51 +0100)]
Work around symbol clash with ERROR on Win32/mingw.

10 years agoForward-port --cpl-names option to dcpdiff.
Carl Hetherington [Wed, 21 May 2014 08:23:58 +0000 (09:23 +0100)]
Forward-port --cpl-names option to dcpdiff.

10 years agoFix .pc file.
Carl Hetherington [Tue, 20 May 2014 19:40:09 +0000 (20:40 +0100)]
Fix .pc file.

10 years agoBump libcxml version.
Carl Hetherington [Tue, 20 May 2014 13:40:22 +0000 (14:40 +0100)]
Bump libcxml version.

10 years agoRemove unused code.
Carl Hetherington [Tue, 20 May 2014 13:39:59 +0000 (14:39 +0100)]
Remove unused code.

10 years agoComments.
Carl Hetherington [Tue, 20 May 2014 13:37:43 +0000 (14:37 +0100)]
Comments.

10 years agoHand-merge changes from master (110dc70..979739e)
Carl Hetherington [Fri, 16 May 2014 10:38:35 +0000 (11:38 +0100)]
Hand-merge changes from master (110dc70..979739e)

10 years agoMerge master.
Carl Hetherington [Wed, 14 May 2014 08:33:23 +0000 (09:33 +0100)]
Merge master.

10 years agoSome comments.
Carl Hetherington [Tue, 13 May 2014 22:52:48 +0000 (23:52 +0100)]
Some comments.

10 years agoBump libcxml again.
Carl Hetherington [Sun, 11 May 2014 23:35:48 +0000 (00:35 +0100)]
Bump libcxml again.

10 years agoBump libcxml dependency for i18n fixes.
Carl Hetherington [Sun, 11 May 2014 23:28:45 +0000 (00:28 +0100)]
Bump libcxml dependency for i18n fixes.

10 years agoMissing file.
Carl Hetherington [Sun, 11 May 2014 23:03:22 +0000 (00:03 +0100)]
Missing file.

10 years agoUse raw_convert instead of boost::lexical_cast as it seems
Carl Hetherington [Sun, 11 May 2014 22:59:19 +0000 (23:59 +0100)]
Use raw_convert instead of boost::lexical_cast as it seems
that lexical_cast will sometimes use a thousands separator
(i.e. it will convert 1234 to a string 1,234).  It appears
not to be possible safely to turn this off (you have to set
the global locale).  Instead, raw_convert uses a stringstream
which you can imbue() with std::locale::classic() to turn off
the locale-specific behaviour.

10 years agoComments.
Carl Hetherington [Sun, 4 May 2014 00:25:31 +0000 (01:25 +0100)]
Comments.

10 years agoPort support for MXF-wrapped subtitles from 0.x
Carl Hetherington [Sun, 4 May 2014 00:14:12 +0000 (01:14 +0100)]
Port support for MXF-wrapped subtitles from 0.x

10 years agoAssorted test fixes.
Carl Hetherington [Sat, 3 May 2014 19:18:07 +0000 (20:18 +0100)]
Assorted test fixes.

10 years agoUse exceptions to hold errors even in the keep_going case.
Carl Hetherington [Sat, 3 May 2014 14:05:33 +0000 (15:05 +0100)]
Use exceptions to hold errors even in the keep_going case.

10 years agoRemove debugging echo.
Carl Hetherington [Sat, 3 May 2014 11:46:51 +0000 (12:46 +0100)]
Remove debugging echo.