When I use image demosaicing with color filter array got by LibRaw::COLOR(row, column) most outputs looks consistent apart from some Canon images, which looks too purple.
For those files obtained color filter array (by COLOR(row, col)) looks like simple RGGB:
However if I use row offset instead:
the results seems to be OK.
Does LibRaw return correct cfa pattern for those files?
https://drive.google.com/open?id=0B6ENEUKTZp-LNWtmdUE4TWs0bWs (Canon EOS 60D)
https://drive.google.com/open?id=0B6ENEUKTZp-LcDJtSF81YlZabEE (Canon EOS 1Ds Mark II)