Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App 2Extended : add HLG support #268

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

valnoel
Copy link

@valnoel valnoel commented Feb 11, 2020

Depends on #263

@codecov
Copy link

codecov bot commented Feb 11, 2020

Codecov Report

Merging #268 into master will decrease coverage by 1.31%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #268      +/-   ##
============================================
- Coverage     67.86%   66.54%   -1.32%     
  Complexity     1609     1609              
============================================
  Files           158      160       +2     
  Lines         11226    11458     +232     
  Branches       1701     1742      +41     
============================================
+ Hits           7618     7625       +7     
- Misses         2798     3023     +225     
  Partials        810      810              
Impacted Files Coverage Δ Complexity Δ
...in/java/com/netflix/imflibrary/IMFConstraints.java 41.56% <0.00%> (-1.83%) 26.00% <0.00%> (ø%)
...CompositionImageEssenceTsp2121DescriptorModel.java 0.00% <0.00%> (ø) 0.00% <0.00%> (?%)
...ibrary/tsp_2121/ApplicationTsp2121Composition.java 0.00% <0.00%> (ø) 0.00% <0.00%> (?%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d646f2...256c89c. Read the comment docs.

@@ -22,6 +22,7 @@
Color6(ColorPrimaries.P3D65, TransferCharacteristic.SMPTEST2084, CodingEquation.None),
Color7(ColorPrimaries.ITU2020, TransferCharacteristic.SMPTEST2084, CodingEquation.ITU2020NCL),
Color_App5_AP0(ColorPrimaries.ACES, TransferCharacteristic.Linear, CodingEquation.None),
Color8DPP(ColorPrimaries.ITU2020, TransferCharacteristic.ITU2020HLG, CodingEquation.ITU2020NCL),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change, it's related to firsts DPP documents which references like that. Made sense to update it.

@@ -0,0 +1,268 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you avoid adding TSP 2121 code in the 2067-2 folder? Can you use a separate folder? Also can you clarify why this is not in the other PR #263 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right for a new folder !
This PR is only for the HLG support in App2e, but it requires updates from PR #263 that's why it's a new branch from the TSP 2121, and it includes all commits. If we merge the TSP 2121 first, this PR will contains only the latest commit.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And what about the App5 stored also in the App2 folder ?

IMFErrorLogger.IMFErrors.ErrorLevels.NON_FATAL,
String.format("EssenceDescriptor with ID %s is missing SubDescriptors", imageEssencedescriptorID.toString()));

Integer componentDepth = getComponentDepth();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Section 6.1.2.4.1 of ST-2067-20:2016 indicates:
"The Top-Level File Package of the Image Track File shall reference a JPEG 2000 Picture Sub Descriptor
SMPTE ST 422 as constrained by Table 13."
So it is an error in App2 and App2e (in the current published editions) to not have a subdescriptor. If this is relaxed, there should be a new namespace, etc.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it means I need to create also a CompositionImageEssenceDescriptorModel for the TSP 2121-1 ?

@valnoel
Copy link
Author

valnoel commented Feb 12, 2020

Hello @cconcolato and @MarcAntoine-Arnaud ,
After your remarks, I've made the changes related to TSP-2121 on the related branch (see #263 ), and rebased and updated this one concerning the HLG support in Application 2E.
Thanks for your review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants