diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 1316ba228..35e1f6a9c 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -3668,9 +3668,10 @@ void ImProcFunctions::calc_ref(int sp, LabImage * original, LabImage * transform } } //doc fftw3 says optimum is with size 2^a * 3^b * 5^c * 7^d * 11^e * 13^f with e+f = 0 or 1 -//number for size between 8000 and 1 - const int fftw_size[] = {9000, 8960, 8918, 8910, 8820, 8800, 8775, 8750, 8748, 8736, 8640, 8624, 8575, 8505, 8448, 8424, 8400, 8320, 8316, 8250, 8232, 8192, 8190, 8125, - 8100, 8085, 8064, 8019, 8000, 7938, 7920, 7875, 7840, 7800, 7776, 7700, 7680, 7644, 7560, 7546, 7500, 7488, 7425, 7392, 7371, 7350, 7290, 7280, 7203, 7200, 7168, +//number for size between 10000 and 1 + const int fftw_size[] = {10000, 9984, 9900, 9604, 9856, 9828, 9800, 9750, 9720, 9702, 9625, 9600, 9555, 9504, 9477, 9450, 9408, 9375, 9360, 9261, 9240, + 9216, 9100, 9072, 9000, 8960, 8918, 8910, 8820, 8800, 8775, 8750, 8748, 8736, 8640, 8624, 8575, 8505, 8448, 8424, 8400, 8320, 8316, 8250, 8232, 8192, 8190, 8125, + 8100, 8085, 8064, 8019, 8000, 7938, 7920, 7875, 7840, 7800, 7776, 7700, 7680, 7644, 7560, 7546, 7500, 7488, 7425, 7392, 7371, 7350, 7290, 7280, 7203, 7200, 7168, 7128, 7056, 7040, 7020, 7000, 6930, 6912, 6875, 6860, 6825, 6804, 6750, 6720, 6656, 6615, 6600, 6561, 6552, 6500, 6480, 6468, 6400, 6370, 6336, 6318, 6300, 6272, 6250, 6240, 6237, 6174, 6160, 6144, 6125, 6075, 6048, 6000, 5940, 5880, 5850, 5832, 5824, 5775, 5760, 5670, 5632, 5625, 5616, 5600, 5544, 5500, 5488, 5460, 5400, 5390, 5376, 5346, 5292, 5280, 5265, 5250, 5200, 5184, 5145, 5120, 5103, 5096, 5040, 5000, 4992, 4950, 4928, 4914, 4900, 4875, 4860, 4851, 4802, @@ -6462,7 +6463,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o break; } } - // printf("FTsizeH =%i FTsizeW=%i \n", ftsizeH, ftsizeW); + // printf("FTsizeH =%i FTsizeW=%i \n", ftsizeH, ftsizeW); //optimize with size fftw if(ystart == 0 && yend < original->H) lp.ly -= (bfh - ftsizeH); else if (ystart != 0 && yend == original->H) lp.lyT -= (bfh - ftsizeH);