CA_correct_RT(): readability changes suggested by @Floessie; increased range of iterations adjuster to 5, #4774

This commit is contained in:
heckflosse
2018-09-05 17:54:11 +02:00
parent 9ecc7e6876
commit ac1db99220
3 changed files with 41 additions and 8 deletions

View File

@@ -239,7 +239,19 @@ protected:
inline void interpolate_row_rb (float* ar, float* ab, float* pg, float* cg, float* ng, int i);
inline void interpolate_row_rb_mul_pp (const array2D<float> &rawData, float* ar, float* ab, float* pg, float* cg, float* ng, int i, float r_mul, float g_mul, float b_mul, int x1, int width, int skip);
float* CA_correct_RT (const bool autoCA, const size_t autoIterations, const double cared, const double cablue, const double caautostrength, array2D<float> &rawData, double *fitParamsTransfer, bool fitParamsIn, bool fitParamsOut, float * buffer, bool freeBuffer);
float* CA_correct_RT(
bool autoCA,
size_t autoIterations,
double cared,
double cablue,
double caautostrength,
const array2D<float> &rawData,
double* fitParamsTransfer,
bool fitParamsIn,
bool fitParamsOut,
float* buffer,
bool freeBuffer
);
void ddct8x8s(int isgn, float a[8][8]);
void processRawWhitepoint (float expos, float preser, array2D<float> &rawData); // exposure before interpolation