Fixed error in dithering clamping
Avoid padding
Reduced amount of signed/unsigned conversions
Dropped unused arg
Ensure project is rebuilt when makefile flags change
Changed linker variables overrides