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

Add App2E HTJ2K constraints validation #375

Merged
merged 23 commits into from
Aug 20, 2024

Conversation

fschleich
Copy link
Contributor

(Branched off of PR #368 to work around GitHub permission issues.)

Closes #370

Validate the CPL essence descriptors against the APP2.HT.REV and APP2.HT.IRV constraint sets specified in ST 2067-21, Annex I.

"APP2.HT: Parameter B has exceeded its limits");
isValid = false;
isValid = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove since isValid is true by default and you would not want to overwrite a false value.

logger.addError(
IMFErrorLogger.IMFErrors.ErrorCodes.APPLICATION_COMPOSITION_ERROR,
IMFErrorLogger.IMFErrors.ErrorLevels.FATAL,
"APP2.HT: Parameter B has exceeded its limit to an extend that decoder issues are to be expected");
Copy link
Collaborator

Choose a reason for hiding this comment

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

"APP2.HT: Parameter B has exceeded its limit to an extent that decoder issues are to be expected");

* TODO: This should be revisited as more implementations become available.
*/

if (codestreamB > 24) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would be inclined to use the max value allowed in Annex I, i.e., 21.

@fschleich fschleich merged commit 9c0f01e into master Aug 20, 2024
2 checks passed
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.

Improve APP2.HT.REV and APP2.HT.IRV validation
3 participants