Batch of correction to lower the number of GCC warnings
This commit is contained in:
@@ -257,15 +257,20 @@ void ImProcFunctions::rgbProc (Image16* working, LabImage* lab, int* tonecurve,
|
||||
|
||||
TMatrix wprof = iccStore.workingSpaceMatrix (params->icm.working);
|
||||
int toxyz[3][3] = {
|
||||
floor(32768.0 * wprof[0][0] / 0.96422),
|
||||
floor(32768.0 * wprof[0][1]),
|
||||
floor(32768.0 * wprof[0][2] / 0.82521),
|
||||
floor(32768.0 * wprof[1][0] / 0.96422),
|
||||
floor(32768.0 * wprof[1][1]),
|
||||
floor(32768.0 * wprof[1][2] / 0.82521),
|
||||
floor(32768.0 * wprof[2][0] / 0.96422),
|
||||
floor(32768.0 * wprof[2][1]),
|
||||
floor(32768.0 * wprof[2][2] / 0.82521)};
|
||||
{
|
||||
floor(32768.0 * wprof[0][0] / 0.96422),
|
||||
floor(32768.0 * wprof[0][1]),
|
||||
floor(32768.0 * wprof[0][2] / 0.82521)
|
||||
},{
|
||||
floor(32768.0 * wprof[1][0] / 0.96422),
|
||||
floor(32768.0 * wprof[1][1]),
|
||||
floor(32768.0 * wprof[1][2] / 0.82521)
|
||||
},{
|
||||
floor(32768.0 * wprof[2][0] / 0.96422),
|
||||
floor(32768.0 * wprof[2][1]),
|
||||
floor(32768.0 * wprof[2][2] / 0.82521)
|
||||
}
|
||||
};
|
||||
|
||||
bool mixchannels = params->chmixer.red[0]!=100 || params->chmixer.red[1]!=0 || params->chmixer.red[2]!=0 || params->chmixer.green[0]!=0 || params->chmixer.green[1]!=100 || params->chmixer.green[2]!=0 || params->chmixer.blue[0]!=0 || params->chmixer.blue[1]!=0 || params->chmixer.blue[2]!=100;
|
||||
|
||||
|
Reference in New Issue
Block a user