asdcplib.git
2 years agoMerge pull request #102 from Jason-elkins/patch-3
John Hurst [Wed, 17 Nov 2021 17:38:58 +0000 (09:38 -0800)]
Merge pull request #102 from Jason-elkins/patch-3

update configure.ac to 2.12.1

2 years agoMoved as-02-wrap-jxs build under the JXS conditional
jhurst [Wed, 10 Nov 2021 21:08:57 +0000 (13:08 -0800)]
Moved as-02-wrap-jxs build under the JXS conditional

2 years agoAdded option -s
jhurst [Wed, 10 Nov 2021 20:55:54 +0000 (12:55 -0800)]
Added option -s

2 years agoModified the KLV parser to return RESULT_ALLOC instead of RESULT_FAIL when an attempt...
jhurst [Wed, 10 Nov 2021 20:52:24 +0000 (12:52 -0800)]
Modified the KLV parser to return RESULT_ALLOC instead of RESULT_FAIL when an attempt is made to read a packet that is larger than the internal limit. The file handle is Seek()ed to the first byte following the huge packet, allowing the caller to get over it and continue parsing MXF.

2 years agoAdded a new UL matching operator MatchIgnorePlaceholder()
jhurst [Wed, 10 Nov 2021 20:51:41 +0000 (12:51 -0800)]
Added a new UL matching operator MatchIgnorePlaceholder()

2 years agoAdded as-02-wrap-iab and as-02-wrap-jxs to the build
jhurst [Wed, 10 Nov 2021 20:49:17 +0000 (12:49 -0800)]
Added as-02-wrap-iab and as-02-wrap-jxs to the build

2 years agoAdded as-02-wrap-iab to the build
jhurst [Wed, 10 Nov 2021 20:49:03 +0000 (12:49 -0800)]
Added as-02-wrap-iab to the build

2 years agoNew command
jhurst [Wed, 10 Nov 2021 20:48:40 +0000 (12:48 -0800)]
New command

2 years agoAdded recognition of IAB files
jhurst [Wed, 10 Nov 2021 20:47:34 +0000 (12:47 -0800)]
Added recognition of IAB files

2 years agoMerge pull request #100 from DolbyLaboratories/ci_jxs_build
John Hurst [Sat, 2 Oct 2021 00:26:18 +0000 (17:26 -0700)]
Merge pull request #100 from DolbyLaboratories/ci_jxs_build

CI: add JPEG XS build

2 years agoupdate configure.ac to 2.12.1
Jason-elkins [Sat, 2 Oct 2021 00:25:19 +0000 (17:25 -0700)]
update configure.ac to 2.12.1

2 years agoMerge pull request #101 from Jason-elkins/master
John Hurst [Sat, 2 Oct 2021 00:17:35 +0000 (17:17 -0700)]
Merge pull request #101 from Jason-elkins/master

update configure.ac to 2.12.0

2 years agoMerge pull request #99 from thorfdbg/master
John Hurst [Sat, 2 Oct 2021 00:13:00 +0000 (17:13 -0700)]
Merge pull request #99 from thorfdbg/master

Fixed constructor of JXS file reader.

2 years agoupdate configure.ac to 2.12.0
Jason-elkins [Sat, 2 Oct 2021 00:06:25 +0000 (17:06 -0700)]
update configure.ac to 2.12.0

2 years agoCI: add JPEG XS build
ArnaudBienner [Wed, 22 Sep 2021 20:01:45 +0000 (22:01 +0200)]
CI: add JPEG XS build

2 years agoFixed constructor of JXS file reader.
Thomas Richter [Wed, 22 Sep 2021 10:51:11 +0000 (12:51 +0200)]
Fixed constructor of JXS file reader.

2 years agofixed egregious pointer misuse previously committed by me
jhurst [Sat, 18 Sep 2021 22:35:18 +0000 (15:35 -0700)]
fixed egregious pointer misuse previously committed by me

2 years agoupdate to use IFileReaderFactory API
jhurst [Sat, 18 Sep 2021 16:14:37 +0000 (09:14 -0700)]
update to use IFileReaderFactory API

2 years agoMerge branch 'master' of https://github.com/cinecert/asdcplib
jhurst [Thu, 16 Sep 2021 16:24:56 +0000 (09:24 -0700)]
Merge branch 'master' of https://github.com/cinecert/asdcplib

2 years agowas segfaulting due to incomplete IFileReader impl. Returned to stable FileReader...
jhurst [Thu, 16 Sep 2021 16:24:39 +0000 (09:24 -0700)]
was segfaulting due to incomplete IFileReader impl. Returned to stable FileReader behavior.

2 years agoMerge pull request #98 from DolbyLaboratories/Dolby/CI-without-ssl-without-xml
John Hurst [Wed, 15 Sep 2021 21:37:47 +0000 (14:37 -0700)]
Merge pull request #98 from DolbyLaboratories/Dolby/CI-without-ssl-without-xml

Update the CI to also build without XML or without SSL support

2 years agoUpdate ci.yml
ArnaudBienner [Mon, 13 Sep 2021 20:10:09 +0000 (22:10 +0200)]
Update ci.yml

2 years agoupdated markings
jhurst [Mon, 13 Sep 2021 19:19:04 +0000 (12:19 -0700)]
updated markings

2 years agomake PHDR work with IFileReaderFactory
jhurst [Mon, 13 Sep 2021 18:46:13 +0000 (11:46 -0700)]
make PHDR work with IFileReaderFactory

2 years agoAS_02_internal.h removed from AS_02_IAB.h; it is not part of the public interface
jhurst [Mon, 13 Sep 2021 18:17:14 +0000 (11:17 -0700)]
AS_02_internal.h removed from AS_02_IAB.h; it is not part of the public interface

2 years agoAddress filename changes
jhurst [Mon, 13 Sep 2021 15:50:12 +0000 (08:50 -0700)]
Address filename changes

2 years agoMerge remote-tracking branch 'upstream/master'
jhurst [Sun, 12 Sep 2021 20:55:51 +0000 (13:55 -0700)]
Merge remote-tracking branch 'upstream/master'

2 years agoMerge pull request #96 from msheby/feature/j2clayout
John Hurst [Sun, 12 Sep 2021 20:00:22 +0000 (13:00 -0700)]
Merge pull request #96 from msheby/feature/j2clayout

Feature/j2clayout

2 years agoMerge pull request #97 from thorfdbg/master
John Hurst [Sun, 12 Sep 2021 19:59:20 +0000 (12:59 -0700)]
Merge pull request #97 from thorfdbg/master

Fixed a wrong byte in the JPEG XS subdescriptor

2 years agoMerge pull request #5 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Sun, 12 Sep 2021 19:56:03 +0000 (12:56 -0700)]
Merge pull request #5 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/readWriteFrame_use_framebuffer

 Writeframe and Readframe in line with other APIs (they now use framebuffer)

2 years agoAdded the autogen boilerplate script.
Thomas Richter [Fri, 10 Sep 2021 07:10:29 +0000 (09:10 +0200)]
Added the autogen boilerplate script.

2 years agoFixed a wrong byte in the MDD file, the JPEG XS picture subdescriptor was wrong.
Thomas Richter [Fri, 10 Sep 2021 07:09:30 +0000 (09:09 +0200)]
Fixed a wrong byte in the MDD file, the JPEG XS picture subdescriptor was wrong.

2 years agoRe-implement previous {Read,Write}Frame API
nolaiz [Wed, 8 Sep 2021 11:55:26 +0000 (13:55 +0200)]
Re-implement previous {Read,Write}Frame API

2 years agoFix indentation
milla [Wed, 9 Jun 2021 11:43:55 +0000 (13:43 +0200)]
Fix indentation

2 years agoWriteframe and Readframe in line with other APIs (they now use framebuffer)
milla [Wed, 26 May 2021 11:30:01 +0000 (13:30 +0200)]
Writeframe and Readframe in line with other APIs (they now use framebuffer)

2 years agoupdate -D documentation
Matthew Sheby [Thu, 2 Sep 2021 17:48:40 +0000 (10:48 -0700)]
update -D documentation

2 years agoadd -J option for writing J2CLayout
Matthew Sheby [Thu, 2 Sep 2021 17:43:50 +0000 (10:43 -0700)]
add -J option for writing J2CLayout

2 years agoadd additional predefined RGBALayout values
Matthew Sheby [Thu, 2 Sep 2021 17:25:28 +0000 (10:25 -0700)]
add additional predefined RGBALayout values

2 years agoMerge pull request #95 from msheby/bugfix/issue71
John Hurst [Fri, 27 Aug 2021 14:46:16 +0000 (07:46 -0700)]
Merge pull request #95 from msheby/bugfix/issue71

Bugfix/issue71

2 years agoMerge pull request #14 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 14:44:17 +0000 (07:44 -0700)]
Merge pull request #14 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/increment_trackID

 Set trackid incrementally from 2 instead of hardcoded

2 years agoMerge pull request #2 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 14:44:04 +0000 (07:44 -0700)]
Merge pull request #2 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/as02info_as02unwrap_iab

 Merge dolby/atmos_storage/asdcplib_integration/as02info_as02unwrap_iab (contains also FileReader pluggable at runtime) to master

2 years agofix indentation
milla [Fri, 11 Jun 2021 09:13:27 +0000 (11:13 +0200)]
fix indentation

2 years agoFix indentation and comment
milla [Thu, 10 Jun 2021 10:48:27 +0000 (12:48 +0200)]
Fix indentation and comment

2 years agoFix indentation change
milla [Wed, 9 Jun 2021 11:15:05 +0000 (13:15 +0200)]
Fix indentation change

2 years agoSet trackid incrementally from 2 instead of hardcoded
milla [Wed, 26 May 2021 11:57:04 +0000 (13:57 +0200)]
Set trackid incrementally from 2 instead of hardcoded

2 years agofix issue #71
Matthew Sheby [Fri, 27 Aug 2021 04:35:20 +0000 (21:35 -0700)]
fix issue #71

2 years agoMerge pull request #16 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:50:19 +0000 (20:50 -0700)]
Merge pull request #16 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/close_file_depends_on_pluggable_filereader

 Close file if open when doing reset of the reader or destroying the reader

2 years agoMerge pull request #15 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:49:41 +0000 (20:49 -0700)]
Merge pull request #15 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/templatize_h02writerclip_depends_on_pluggable_filereader

Templatize h__AS02WriteClip, move functions definition to header. Note that this depends on filereader pluggable at runtime commit as the reader is called as a pointer here.

2 years agoMerge pull request #13 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:47:03 +0000 (20:47 -0700)]
Merge pull request #13 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/asdcplib_internal_trackID

 Fix trackID bug in AS_DCP_internal

2 years agoMerge pull request #8 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:44:42 +0000 (20:44 -0700)]
Merge pull request #8 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/add_km_logs

Add KM logs and remove semicolon from pre-processor directive

2 years agoMerge pull request #12 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:44:10 +0000 (20:44 -0700)]
Merge pull request #12 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/protect_printf_definitions

 Protecting snprintf and vsnprintf definitions that makes compilation with boost 1.73 to fail

2 years agoMerge pull request #11 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:43:24 +0000 (20:43 -0700)]
Merge pull request #11 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/dont_export_symbols

Do not export symbols on definitions in cpp. (moved functions and classes to an unnamed namespace and made variables static)

2 years agoMerge pull request #10 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integratio...
John Hurst [Fri, 27 Aug 2021 03:42:53 +0000 (20:42 -0700)]
Merge pull request #10 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/definitions_into_namespace

Put definitions inside their corresponding namespaces

2 years agoMerge pull request #9 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:42:37 +0000 (20:42 -0700)]
Merge pull request #9 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/as_02_iab_logs

Add logs in AS_02_IAB

2 years agoMerge pull request #7 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:41:33 +0000 (20:41 -0700)]
Merge pull request #7 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/remove_unused_vars

Remove unused variables

2 years agoMerge pull request #6 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:36:36 +0000 (20:36 -0700)]
Merge pull request #6 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/compile_without_ssl

Fix compilation without OPENSSL

2 years agoMerge pull request #3 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:30:08 +0000 (20:30 -0700)]
Merge pull request #3 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/add_api_AddDmsGenericPartUtf8Text_ReadGenericStreamPartitionPayload

 Merge dolby/atmos_storage/asdcplib_integration/add_api_AddDmsGenericPartUtf8Text_ReadGenericStreamPartitionPayload (contains also write seq and segment duration)) to master

2 years agoMerge pull request #4 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration...
John Hurst [Fri, 27 Aug 2021 03:29:58 +0000 (20:29 -0700)]
Merge pull request #4 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/throw_if_not_running

 Merge dolby/atmos_storage/asdcplib_integration/dolby/atmos_storage/asdcplib_integration/throw_if_not_running (contains also km logs) to master

2 years agoadd support for COLOR.7
Matthew Sheby [Thu, 26 Aug 2021 17:48:37 +0000 (10:48 -0700)]
add support for COLOR.7

2 years agoMerge pull request #90 from thorfdbg/master
John Hurst [Sat, 24 Jul 2021 18:19:20 +0000 (11:19 -0700)]
Merge pull request #90 from thorfdbg/master

Added a first version of JXS support for as-02-wrap.

2 years agoReturn RESULT_KLV_CODING instead of RESULT_FAIL
Stefan Kersten [Wed, 14 Jul 2021 16:25:26 +0000 (18:25 +0200)]
Return RESULT_KLV_CODING instead of RESULT_FAIL

2 years agoAdded as-02-wrap-jxs.
Thomas Richter [Fri, 25 Jun 2021 13:02:15 +0000 (15:02 +0200)]
Added as-02-wrap-jxs.

2 years agoUpdated to John's latest branch.
Thomas Richter [Fri, 25 Jun 2021 13:00:37 +0000 (15:00 +0200)]
Updated to John's latest branch.

2 years agoMerge pull request #93 from cinecert/sans_intermediate_descriptor
John Hurst [Mon, 21 Jun 2021 03:31:37 +0000 (20:31 -0700)]
Merge pull request #93 from cinecert/sans_intermediate_descriptor

Sans intermediate descriptor

2 years agoMerge branch 'master' into sans_intermediate_descriptor
jhurst [Mon, 21 Jun 2021 03:17:59 +0000 (20:17 -0700)]
Merge branch 'master' into sans_intermediate_descriptor

2 years agoMerge pull request #91 from Jason-elkins/master
John Hurst [Mon, 21 Jun 2021 03:15:06 +0000 (20:15 -0700)]
Merge pull request #91 from Jason-elkins/master

add test for --enable-as-02 if --enable-phdr is used

2 years agoAdd return type for win, was deleted by mistake
milla [Tue, 15 Jun 2021 11:36:27 +0000 (13:36 +0200)]
Add return type for win, was deleted by mistake

2 years agoFix indentation
milla [Tue, 15 Jun 2021 11:12:01 +0000 (13:12 +0200)]
Fix indentation
Use smart pointer for Reader
Don't define fileReader constructor and destructor twice (win and posix) but just once as their implementation is the same

2 years agoFix indentation
milla [Fri, 11 Jun 2021 09:48:20 +0000 (11:48 +0200)]
Fix indentation

2 years agoremoved duplicate object create
jhurst [Fri, 11 Jun 2021 04:01:41 +0000 (21:01 -0700)]
removed duplicate object create

2 years agoadd test for --enable-as-02 if --enable-phdr is used
Jason-elkins [Thu, 10 Jun 2021 20:30:55 +0000 (13:30 -0700)]
add test for --enable-as-02 if --enable-phdr is used

2 years agoFixes regarding flilereader pluggable after AS_02_JXS changes by upstream
milla [Thu, 10 Jun 2021 16:53:53 +0000 (18:53 +0200)]
Fixes regarding flilereader pluggable after AS_02_JXS changes by upstream

2 years agoFix indentation
milla [Thu, 10 Jun 2021 12:10:31 +0000 (14:10 +0200)]
Fix indentation
Don't delete pointer manually, use smart pointer instead

2 years agofix indentation
milla [Thu, 10 Jun 2021 10:57:06 +0000 (12:57 +0200)]
fix indentation

2 years agoFix surrounding format (brackets not in separate line)
milla [Wed, 9 Jun 2021 11:18:06 +0000 (13:18 +0200)]
Fix surrounding format (brackets not in separate line)

2 years agoFix indentation
milla [Wed, 9 Jun 2021 11:10:16 +0000 (13:10 +0200)]
Fix indentation

2 years agoFix indentation
milla [Wed, 9 Jun 2021 08:25:05 +0000 (10:25 +0200)]
Fix indentation

3 years agoClose file if open when doing reset of the reader or destroying the reader
milla [Fri, 28 May 2021 09:21:44 +0000 (11:21 +0200)]
Close file if open when doing reset of the reader or destroying the reader

3 years agoAdd logs in AS_02_IAB
milla [Fri, 28 May 2021 09:20:35 +0000 (11:20 +0200)]
Add logs in AS_02_IAB

3 years agoAdd KM logs and remove semicolon from pre-processor directive
milla [Fri, 28 May 2021 09:12:49 +0000 (11:12 +0200)]
Add KM logs and remove semicolon from pre-processor directive

3 years agoFix compilation without OPENSSL
milla [Thu, 27 May 2021 12:14:37 +0000 (14:14 +0200)]
Fix compilation without OPENSSL

3 years agoRemove unused variables
milla [Thu, 27 May 2021 12:13:08 +0000 (14:13 +0200)]
Remove unused variables

3 years agoTemplatize h__AS02WriteClip, move functions to header. Note that this depends on...
milla [Thu, 3 Jun 2021 12:23:52 +0000 (14:23 +0200)]
Templatize h__AS02WriteClip, move functions to header. Note that this depends on filereader pluggable at runtime commit as the reader is called as a pointer here.

3 years agoDo not export symbols on definitions in cpp. (moved functions and classes to an unnam...
milla [Thu, 27 May 2021 10:20:05 +0000 (12:20 +0200)]
Do not export symbols on definitions in cpp. (moved functions and classes to an unnamed namespace and made variables static)

3 years agoAs result state is ambiguous, log it where it is returned
milla [Thu, 27 May 2021 10:51:11 +0000 (12:51 +0200)]
As result state is ambiguous, log it where it is returned

3 years agoIf when closing the state is not 'running', throw error as it means no frame has...
milla [Thu, 27 May 2021 10:17:53 +0000 (12:17 +0200)]
If when closing the state is not 'running', throw error as it means no frame has been written.

3 years agopatch: protecting snprintf and vsnprintf definitions that makes compilation with...
milla [Thu, 27 May 2021 08:25:39 +0000 (10:25 +0200)]
patch: protecting snprintf and vsnprintf definitions that makes compilation with boost 1.73 to fail

3 years agoWrite sequence and segment duration when writing a track
milla [Wed, 26 May 2021 12:15:30 +0000 (14:15 +0200)]
Write sequence and segment duration when writing a track

3 years agoAdded API functions in AS_02_IAB.h: AddDmsGenericPartUtf8Text for write and ReadGener...
milla [Wed, 26 May 2021 12:13:38 +0000 (14:13 +0200)]
Added API functions in AS_02_IAB.h: AddDmsGenericPartUtf8Text for write and ReadGenericStreamPartitionPayload for read. These functions are a wrapper so that the writer and reader call their implementation of AddDmsGenericPartUtf8Text and ReadGenericStreamPartitionPayload respectively. In the case of the AddDmsGenericPartUtf8Text 2 new parameters have been added: trackDescription and dataDescription.

3 years agoPut definitions inside their corresponding namespaces
milla [Wed, 26 May 2021 11:59:19 +0000 (13:59 +0200)]
Put definitions inside their corresponding namespaces

3 years agoFix trackID bug in AS_DCP_internal.
milla [Wed, 26 May 2021 11:54:44 +0000 (13:54 +0200)]
Fix trackID bug in AS_DCP_internal.

3 years agoFileReader pluggable at runtime
milla [Wed, 26 May 2021 11:32:55 +0000 (13:32 +0200)]
FileReader pluggable at runtime

3 years agoAdapt as-02-info and as-02-unwrap to iab api
milla [Wed, 26 May 2021 11:31:53 +0000 (13:31 +0200)]
Adapt as-02-info and as-02-unwrap to iab api

3 years agoJXS support without the legacy PictureDescriptor pattern
jhurst [Mon, 31 May 2021 17:21:33 +0000 (10:21 -0700)]
JXS support without the legacy PictureDescriptor pattern

3 years agoAdded JXS support for as-02-unwrap. Added additional parameter checking
Thomas Richter [Mon, 31 May 2021 15:03:12 +0000 (17:03 +0200)]
Added JXS support for as-02-unwrap. Added additional parameter checking
for the picture coding UL in as-02-wrap. Added JXS support in as-02-info.
Added identification of JXS files in AS_DCP_MXF.cpp.

3 years agoMade availability of jxs wrapping in as-02-wrap conditional on configure options.
Thomas Richter [Fri, 28 May 2021 11:33:19 +0000 (13:33 +0200)]
Made availability of jxs wrapping in as-02-wrap conditional on configure options.

3 years agoAdded a first version of JXS support for as-02-wrap.
Thomas Richter [Fri, 28 May 2021 10:43:29 +0000 (12:43 +0200)]
Added a first version of JXS support for as-02-wrap.
Added recognition of JXS files in AS_DCP_MXF.
In case color specifications are missing from the original
picture descriptor, JXS_PDesc_to_MD() no longer fails, it
just does not fill in the Essence descriptor and leaves that
to the caller, e.g. as-02-wrap.

3 years agoMerge pull request #89 from thorfdbg/master
John Hurst [Thu, 27 May 2021 15:40:57 +0000 (08:40 -0700)]
Merge pull request #89 from thorfdbg/master

Added the JXS functionality again into the core library.

3 years agoAdded a conditional compile JPEG XS into the cmake-driven build.
Thomas Richter [Thu, 27 May 2021 08:07:55 +0000 (10:07 +0200)]
Added a conditional compile JPEG XS into the cmake-driven build.

3 years agoMerge branch 'cinecert:master' into master
Thomas Richter [Thu, 27 May 2021 07:54:22 +0000 (09:54 +0200)]
Merge branch 'cinecert:master' into master