Thread: Avisynth+
View Single Post
Old 21st August 2019, 22:02   #4830  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Quote:
Originally Posted by StainlessS View Post
My natural inclination when using up shift would be to fill the 'nullified' least signifcant bits in destination number with the most significant bits from source number.

But, that aint right, apparently.
The problem with that - mathematically speaking, anyway - is that it would make 8 bit->16 bit different from 8-bit->12 bit->16 bit, for example.

Code:
10111111 -> 1011111110111111

10111111 -> 101111111011 -> 1011111110111011
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline