Support for downsampling data from 9-16 bits to 8 bits.