quantization of colors to support spumux
timing tweaks for dvb to spupng