Home | History | Annotate | Download | only in src

Lines Matching refs:factors

177 icvDFTFactorize( int n, int* factors )
183 factors[0] = n;
190 factors[nf++] = f;
199 factors[nf++] = f;
211 factors[nf++] = n;
213 f = (factors[0] & 1) == 0;
215 CV_SWAP( factors[i], factors[nf-i-1+f], j );
221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab )
224 int n = factors[0], m = 0;
265 radix[nf-i-1] = radix[nf-i]*factors[nf-i-1];
268 if( inv_itab && factors[0] != factors[nf-1] )
318 for( k = 1; ++digits[k] >= factors[k]; k++ )
334 for( k = 0; ++digits[k] >= factors[k]; k++ )
434 int nf, int* factors, const int* itab,
495 if( factors[0] != factors[nf-1] )
547 if( (factors[0] & 1) == 0 )
550 for( ; n*4 <= factors[0]; )
609 for( ; n < factors[0]; )
641 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ )
643 int factor = factors[f_idx];
857 int nf, int* factors, const int* itab,
916 if( factors[0] != factors[nf-1] )
973 if( (factors[0] & 1) == 0 )
976 for( ; n*4 <= factors[0]; )
1035 for( ; n < factors[0]; )
1067 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ )
1069 int factor = factors[f_idx];
1290 int n, int nf, int* factors, const int* itab, \
1332 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1343 factors[0] >>= 1; \
1347 nf - (factors[0] == 1), \
1348 factors + (factors[0] == 1), \
1350 factors[0] <<= 1; \
1409 int n, int nf, int* factors, const int* itab, \
1460 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1539 factors[0] >>= 1; \
1542 nf - (factors[0] == 1), \
1543 factors + (factors[0] == 1), itab, \
1546 factors[0] <<= 1; \
1738 const void* src, void* dst, int n, int nf, int* factors,
1763 int factors[34], inplace_transform = 0;
1933 nf = icvDFTFactorize( len, factors );
1935 inplace_transform = factors[0] == factors[nf-1];
1937 i = nf > 1 && (factors[0] & 1) == 0;
1938 if( (factors[i] & 1) != 0 && factors[i] > 5 )
1939 sz += (factors[i]+1)*complex_elem_size;
1953 // twiddle factors and permutation table
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,
2604 int factors[34], inplace_transform;
2723 nf = icvDFTFactorize( len, factors );
2724 inplace_transform = factors[0] == factors[nf-1];
2726 i = nf > 1 && (factors[0] & 1) == 0;
2727 if( (factors[i] & 1) != 0 && factors[i] > 5 )
2728 sz += (factors[i]+1)*complex_elem_size;
2759 icvDFTInit( len, nf, factors, itab, complex_elem_size, dft_wave, inv );
2781 dptr + i*dstep0, dstep1, len, nf, factors,