Earlier quoted context omitted.
the patent is this one: https://patents.google.com/patent/US7830967B1/en Which looks like it's patenting debayering. However I'm not a patent lawyer so I don't know. I suspect that Nikon were using something like jpeg2000 to store raw frames, and thats why RED were getting all pissy.
Maybe, Redcode is based on JPEG2000 https://youtu.be/IJ_uo-x7Dc0
Oh it is JPEG2000, I _think_ it used to be stored in a tar-like wrapper, but I could be misremembering. however It is 100% JPEG2000.