rawData is not needed anymore in channelsAvg after commit d7bab9ba

This commit is contained in:
rom9
2019-06-28 22:51:22 +02:00
parent 536bbf95aa
commit 0920f6dfe8

View File

@@ -48,7 +48,6 @@ bool channelsAvg(
const rtengine::RawImage* ri, const rtengine::RawImage* ri,
int width, int width,
int height, int height,
array2D<float>& rawData,
const float* cblacksom, const float* cblacksom,
rtengine::Coord spotPos, rtengine::Coord spotPos,
int spotSize, int spotSize,
@@ -115,13 +114,13 @@ bool rtengine::RawImageSource::getFilmNegativeExponents(Coord2D spotA, Coord2D s
// Sample first spot // Sample first spot
transformPosition(spotA.x, spotA.y, tran, spot.x, spot.y); transformPosition(spotA.x, spotA.y, tran, spot.x, spot.y);
if (!channelsAvg(ri, W, H, rawData, cblacksom, spot, spotSize, currentParams, clearVals)) { if (!channelsAvg(ri, W, H, cblacksom, spot, spotSize, currentParams, clearVals)) {
return false; return false;
} }
// Sample second spot // Sample second spot
transformPosition(spotB.x, spotB.y, tran, spot.x, spot.y); transformPosition(spotB.x, spotB.y, tran, spot.x, spot.y);
if (!channelsAvg(ri, W, H, rawData, cblacksom, spot, spotSize, currentParams, denseVals)) { if (!channelsAvg(ri, W, H, cblacksom, spot, spotSize, currentParams, denseVals)) {
return false; return false;
} }