increase range fftw_size to 9000
This commit is contained in:
parent
1263b25114
commit
cedef81cc0
@ -3669,7 +3669,8 @@ 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[] = {8000, 7938, 7920, 7875, 7840, 7800, 7776, 7700, 7680, 7644, 7560, 7546, 7500, 7488, 7425, 7392, 7371, 7350, 7290, 7280, 7203, 7200, 7168,
|
||||
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,
|
||||
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,
|
||||
@ -6461,7 +6462,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user