In the Structure "libraw_colordata_t: Color Information", there are two arrays:-
float rgb_cam, described as "Camera to sRGB conversion matrix", and
float cmatrix, described as "Camera color data read from RAW file (if any)".
Could you advise me on the various properties contained within these arrays, or which source file(s) describes these arrays?
rgb_cam is used to construct
rgb_cam is used to construct camera to output RGB matrix: https://github.com/LibRaw/LibRaw/blob/master/src/postprocessing/postproc...
Cmatrix is the same, it may be copied to rgb_cam if corresponding params option is set and the matrix is not empty: https://github.com/LibRaw/LibRaw/blob/master/src/metadata/identify.cpp#L...
-- Alex Tutubalin @LibRaw LLC