Tags: Netflix/photon
Tags
MXF parsing: terminate strings on the first null character (#373) Per SMPTE ST 377-1:2019, a "zero value" can be used to terminate a string. So, discard any data after the first null character found (if any). This has the same effect as the implementation for strings in regxmllib at: https://github.com/sandflow/regxmllib/blob/b47b0cdbd6dbf51cae4fb14c3a6a827eb3e0e2cc/src/main/java/com/sandflow/smpte/regxml/FragmentBuilder.java#L902 Note that regxmllib also uses the same `readCharacters` method for MXF properties with a Type of Type Kind "Character", and allows values of this Type to contain the null character. Photon does not support such "Character" Types (and indeed none have ever been used in MXF according to the SMPTE Metadata Registers). So, no consideration is given to these Types in this patch.
Refactoring 'J2KHeaderParameters' into its own class. (#385) * Refactoring 'J2KHeaderParameters' into its own class. 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. * Adding comments back in * Addressing nits: renaming validateHT to validateHTConstraints, and adding one more comment
Inferring expected Core Constraints version for ST2067-21:2023 Applic… …ation Identification (#386) * CoreConstraints.fromApplicationId() will now return NAMESPACE_IMF_2020 for the 2021 ApplicationIdentification Co-authored-by: Daniel Hernandez <danielhernandez1@netflix.com>
Adding parsing for 'J2KExtendedCapabilities' stored in the MXF header… …'s 'JPEG2000SubDescriptor'. (#382) * Adding parsing for 'J2KExtendedCapabilities' stored in the MXF header's 'JPEG2000SubDescriptor'. * Adding j2k_extended_capabilities to 'toString' * Updating comment * Simplifying code. Moving away from the 'B0' convention which seems to be used for InterchangeObject inheritors. Passed in byteProvider directly. * Using smaller test file * Renaming 'cCapi' to 'cCap'
PreviousNext