C++/Frame: port checks for length and channel number. Also return a FrameEventPacket pointer from demosaic(), to keep in line with copy().
C++/Frame: port checks for length and channel number.
Also return a FrameEventPacket pointer from demosaic(), to keep in line with copy().

inilabs/libcaer,inilabs/libcaer,inilabs/libcaer,inilabs/libcaer