Support for 9 and 10-bit encoding