Basic structure for NX1 decoding
Get the basic NX1 decoder working
Basics of NX1 pixel initialization (still broken)
Implement rest of NX1 refpixels, still broken
Finally make the NX1 decoder work properly
Finally make it work properly. I also had to change the bayer pattern as the one we got from the DNG has red and blue swapped. There's a simple reason for this. Adobe seems to be doing the red/blue swap that's needed for the NX3000 on the NX1 as well. This is broken and generates color fringing in the DNG that isn't there when the file is correctly processed.