Speedup for thumbnail processing

This commit is contained in:
heckflosse
2016-05-01 00:16:06 +02:00
parent e61e488346
commit 2dd2f5ca17
14 changed files with 427 additions and 800 deletions

View File

@@ -1011,7 +1011,7 @@ DCPProfile::DCPProfile(Glib::ustring fname)
// Create the curve
DiagonalCurve rawCurve(cPoints, CURVES_MIN_POLY_POINTS);
toneCurve.Set((Curve*)&rawCurve);
toneCurve.Set(rawCurve);
hasToneCurve = true;
}
} else if (tag == NULL) {
@@ -1031,7 +1031,7 @@ DCPProfile::DCPProfile(Glib::ustring fname)
}
DiagonalCurve rawCurve(cPoints, CURVES_MIN_POLY_POINTS);
toneCurve.Set((Curve*)&rawCurve);
toneCurve.Set(rawCurve);
hasToneCurve = true;
}
}