hap
hap copied to clipboard
HAP HDR missing docs
Hello,
With the recent add of the HAP HDR flavour, a part of the doc is not clear about what is allow in term of texture.
The choice was made to use one name, for two kind of texture (unsigned and signed). Does it means, an HAP HDR can store depending of the frame Unsigned and signed texture ? Or is an HAP HDR file, need to always have the same kind of texture for each frame ? (in that case checking the texture format for the first frame, will be enough to know which kind of texture is used inside the file)
Hi - thanks, yes this should be tightened up. I think the utility of encoding signed and unsigned is probably outweighed by the convenience of decoding a single format, so I will add something along the lines of:
If an identifier describes more than one format or combination of formats, a single stream should be limited to a single format or a single combination of formats.
Hi, Thanks for your answer.
When you talk about combination of formats, you talk about HAPQA (or HAP HDR Alpha in the future) ?
In other words, for HAP HDR, all the frames need to have same texture (is not allow to have some frames in unsigned, and some frames in signed) ? (and i think it's better to restrict it like this, it made decoding easy, without a need to change texture format for the same file)
When you talk about combination of formats, you talk about HAPQA (or HAP HDR Alpha in the future) ?
Correct
In other words, for HAP HDR, all the frames need to have same texture (is not allow to have some frames in unsigned, and some frames in signed) ?
also correct
Perfect, Thanks Tom !