Open ledyba-z opened 2 years ago
This question is related to the discussion in https://github.com/AOMediaCodec/av1-avif/issues/195
It think implementation in libavif give good backward compatibility with existing images, when it was not allowed to have both ICC and NCLX at the same time.
If the authors of the standard really wanted to always ignore info in bitstream, I'd appreciate they confirm/deny that so we remove discrepancy between implementations.
Hi!
I'm currently working on making cavif to conform to the latest standards.
I found these statements in ISO - ISO/IEC 23000-22:2019/Amd 2:2021:
If I understand correctly, it says "Do not use color information in OBU Sequence Header any more. Use default values if nclx absent" in AVIF context.
However, it looks libavif tends to use color information from OBU sequence header:
https://github.com/AOMediaCodec/libavif/blob/7a6d13be831da40859c6b61fb513b7a7a654a58b/src/read.c#L3633-L3665
Is it correct?