Using with RAW bayer data

Mar 25, 2014 at 4:07 PM
I looked through the docs the code. It seems that Charls can only work with debayered RGB or 4-channel data.
Is there a way to use the lossless compression for RAW Bayer data ?
The data is 12-bit but I can easily unpack it to 16-bit,