impl rawpDecodeGray16