From 040065e55f023e11e9e8952cc938fb99eaf9fb8a Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 21 Apr 2017 11:56:34 +0200 Subject: [PATCH] lmmse_interpolate_omp() : use makeIdentity() --- rtengine/demosaic_algos.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rtengine/demosaic_algos.cc b/rtengine/demosaic_algos.cc index b81dfe576..6a5b8eba8 100644 --- a/rtengine/demosaic_algos.cc +++ b/rtengine/demosaic_algos.cc @@ -1878,9 +1878,7 @@ SSEFUNCTION void RawImageSource::lmmse_interpolate_omp(int winw, int winh, array if(applyGamma) { gamtab = &(Color::igammatab_24_17); } else { - for(int i = 0; i < 65536; i++) { - (*gamtab)[i] = i; - } + gamtab->makeIdentity(); } array2D (*rgb[3]);