added kiss_fft_next_fast_size() to determine the next number divisible by the radices 2,3,5

This commit is contained in:
Mark Borgerding
2006-06-28 03:25:02 +00:00
parent a2c69eb8ea
commit 2cce2ea306
4 changed files with 24 additions and 1 deletions

View File

@ -107,6 +107,11 @@ void kiss_fft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout
void kiss_fft_cleanup(void);
/*
* Returns the smallest integer k, such that k>=n and k has only "fast" factors (2,3,5)
*/
int kiss_fft_next_fast_size(int n);
#ifdef __cplusplus
}
#endif