Lines Matching defs:nf
179 int nf = 0, f, i, j;
190 factors[nf++] = f;
199 factors[nf++] = f;
211 factors[nf++] = n;
214 for( i = f; i < (nf+f)/2; i++ )
215 CV_SWAP( factors[i], factors[nf-i-1+f], j );
217 return nf;
221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab )
258 // radix[] is initialized from index 'nf' down to zero
259 assert (nf < 34);
260 radix[nf] = 1;
261 digits[nf] = 0;
262 for( i = 0; i < nf; i++ )
265 radix[nf-i-1] = radix[nf-i]*factors[nf-i-1];
268 if( inv_itab && factors[0] != factors[nf-1] )
309 if( nf >= 2 )
434 int nf, int* factors, const int* itab,
495 if( factors[0] != factors[nf-1] )
497 if( nf == 1 )
641 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ )
857 int nf, int* factors, const int* itab,
916 if( factors[0] != factors[nf-1] )
918 if( nf == 1 )
1067 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ )
1290 int n, int nf, int* factors, const int* itab, \
1332 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1347 nf - (factors[0] == 1), \
1409 int n, int nf, int* factors, const int* itab, \
1460 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1542 nf - (factors[0] == 1), \
1738 const void* src, void* dst, int n, int nf, int* factors,
1758 int nf = 0, inv = (flags & CV_DXT_INVERSE) != 0;
1933 nf = icvDFTFactorize( len, factors );
1935 inplace_transform = factors[0] == factors[nf-1];
1937 i = nf > 1 && (factors[0] & 1) == 0;
1979 icvDFTInit( len, nf, factors, itab, complex_elem_size,
2022 dft_func( sptr, dptr, len, nf, factors, itab, wave, len, spec, ptr, _flags, scale );
2109 IPPI_CALL( dft_func( buf1, dbuf1, len, nf, factors, itab,
2111 IPPI_CALL( dft_func( buf0, dbuf0, len, nf, factors, itab,
2160 IPPI_CALL( dft_func( buf1, dbuf1, len, nf, factors, itab,
2166 IPPI_CALL( dft_func( buf0, dbuf0, len, nf, factors, itab,
2404 int n, int nf, int* factors, const int* itab, \
2427 icvRealDFT_##flavor( dft_src, dft_dst, n, nf, factors, \
2451 int n, int nf, int* factors, const int* itab, \
2480 icvCCSIDFT_##flavor( dft_src, dft_dst, n, nf, factors, itab, \
2577 int nf, int* factors, const int* itab, const void* dft_wave,
2596 int prev_len = 0, buf_size = 0, nf = 0, stage, end_stage;
2723 nf = icvDFTFactorize( len, factors );
2724 inplace_transform = factors[0] == factors[nf-1];
2726 i = nf > 1 && (factors[0] & 1) == 0;
2759 icvDFTInit( len, nf, factors, itab, complex_elem_size, dft_wave, inv );
2781 dptr + i*dstep0, dstep1, len, nf, factors,