I had a question about the xtrans and xtrans_abs properties. Inspecting the values of this property for a few RAW files I have, I noticed they take values 0, 1 or 2. I assume these represent R, G and B respectively.
Assuming that the visible portion of the image starts at (3, 2), does xtrans represent the repeating pattern starting at (3, 2) and xtrans_abs represent the pattern starting at (0, 0)?
On a different note, does libraw support RCCB and RYYB layouts? These Bayer sensors are quite popular in automotive.