compatible with 8 & 10 bit depth