One very useful aspect of dcraw is that it includes a large library of RGB to XYZ matrix coefficients known as adobe_coeff.
Does libraw use these coefficients also? If not, where does libraw get the matrix coefficients for its RGB to XYZ conversions?
This data is copied to
This data is copied to imgdata.color.cam_xyz
Also, if use_camera_matrix not in effect, imgdata.color.rgb_cam will contain raw to (linear) srgb matrix
-- Alex Tutubalin @LibRaw LLC