Add new comment

C-API is just a thin layer

C-API is just a thin layer over C++ API, so no difference here.

Based on your source code (w/ built-in filename) I assume you use normal/unaltered bayer-pattern Sony-produced image.
For such images, decoded data is in libRaw->rawdata.raw_image

-- Alex Tutubalin @LibRaw LLC