Quote:
Originally Posted by jpsdr
What...
Is this only YUV, or is it also RGB (mostly for 16bits for the last one). I didn't expect remaining gap between theorical max for full range.
|
I assumt it's because it's done as bit-shifts. 255<<4 = 4080, 255<<6 = 16320, 255<<16 = 65280.
10-bit wasn't on the list but I assume it's 0-1020.
It's possibly a way to make all up-conversions consistent/transitive (and fast), but I wonder if down-conversions are more complicated. By a simple bit-shift, only
one value in 16-bit would map to 255 in 8-bit (62580), whereas 256 values (0-255) would map to 0.