Replies: 2 comments
-
I prefer the first option. But I would describe it in a bit more abstract way: The |
Beta Was this translation helpful? Give feedback.
-
So if you ask for Similarly, if you ask for Do you see that being implemented as conditional logic in |
Beta Was this translation helpful? Give feedback.
-
I'm working on updating the uncompressed codec implementation to reflect the FDIS and to correct some bugs / limitations.
One aspect to that is working with shortcut values. The concept here is that instead of having a
cmpd
box with the various components, and anuncC
box that references it, there are a few cases where you can just put the profile value in, and skip the rest. That is, theuncC
box just says "version == 1, profile ==rgb3
", and there is nothing else. The meaning ofrgb3
is what you would expect - 8 bit RGB, with pixel interleave and no subsampling. There are a couple of other cases:rgba
andargb
.I can see at least four ways to deal with that:
cmpd
box lookup).I liked the first and fourth options, but that is hard to do with the current parsing logic, which is basically to instantiate the box and tell it to fill in its values.
I think I like the third option better than the second option.
This is broader than just the uncompressed codec though. There is an MPEG work item to define a "smaller header", which basically packs the various item properties into a
mini
box, which is a combination of a tighter packing of small values, and some assumptions about images - see "Exploration on low-overhead HEIF-compatible image file format.Would appreciate thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions