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

Refactoring 'J2KHeaderParameters' into its own class. #385

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

danielhdz13-netflix
Copy link
Contributor

  • Added methods to obtain an instance of a J2KHeaderParameters class from a CPL descriptor, or an MXF descriptor.
  • Added testing to ensure that these methods produce equivalent results.
  • Changed the signature of validateHT to directly take in a J2KHeaderParameters instance, rather than the larger CompositionImageEssenceDescriptorModel
  • Added getters to descriptors to make it easier to populate the J2KHeaderParameters

These changes make it easier for downstream applications to use Photon as an SDK. The HT constraints can be easily validated for standalone MXF files, or for CPLs.

…o obtain an instance of a 'J2KHeaderParameters' class from a CPL descriptor, or an MXF descriptor. Added testing to ensure that these methods produce equivalent results.
@danielhdz13-netflix danielhdz13-netflix merged commit d3cc2ee into master Oct 7, 2024
1 check 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.

1 participant