raw: Fix the chromatic aberration and gamma curve setting
@debarshir
Submitted by Debarshi Ray Link to original bug (#778174)
Description
I see two problems in the way LibRaw is set up in configure_for_rgb_display.
One, libraw_output_params_t.gamm[0] is meant to have the inverted gamma or power value. See: http://www.libraw.org/docs/API-datastruct-eng.html#libraw_output_params_t
Second, looking at the generated C code, the way set_chromatic_aberrations and set_gamma_curve are called seems wrong. We are passing libraw_output_params_t by value, instead of by reference / pointer. However my familiarity with Vala is limited, so I don't know how to fix it.
Resolution: RESOLVED FIXED