Thanks. Tried building from your repo. I have /openmp enabled in the project settings for XBMC, but it doesn't look like there was any openmp pragma in the libraw stuff in the project. Hopefully the library was compiled that way.
I now have a working build
Trying out a few things, I notice for my Nikon D90 NEFs that the color management is off (to be expected since we are not using it) but an over pixelated look, kind of like a smoothing filter isn't being applied. That said, it's almost a dead match for how the same image is imported into RawTherapee (linux photo editor)! So it would be a good result.
Now, I did try changing a few things. These were the image params I used:
Code:
m_RawProcessor.imgdata.params.no_auto_bright = 1;
m_RawProcessor.imgdata.params.use_auto_wb = 0;
m_RawProcessor.imgdata.params.use_camera_wb = 1;
//m_RawProcessor.imgdata.params.half_size = 1;
m_RawProcessor.imgdata.params.user_qual = 3;
m_RawProcessor.imgdata.params.output_color = 1;
m_RawProcessor.imgdata.params.green_matching = 1;
m_RawProcessor.imgdata.params.fbdd_noiserd = 2;
m_RawProcessor.imgdata.params.use_camera_matrix = 1;
//m_RawProcessor.imgdata.params.bright = 0.8;
Not sure though if .output_color=1 would result in a RAW with AdobeRGB being converted to sRGB colorspace.