12 bit JPEG decoding partially implemented