Lines Matching refs:factors

177 icvDFTFactorize( int n, int* factors )  in icvDFTFactorize()  argument
183 factors[0] = n; in icvDFTFactorize()
190 factors[nf++] = f; in icvDFTFactorize()
199 factors[nf++] = f; in icvDFTFactorize()
211 factors[nf++] = n; in icvDFTFactorize()
213 f = (factors[0] & 1) == 0; in icvDFTFactorize()
215 CV_SWAP( factors[i], factors[nf-i-1+f], j ); in icvDFTFactorize()
221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) in icvDFTInit() argument
224 int n = factors[0], m = 0; in icvDFTInit()
265 radix[nf-i-1] = radix[nf-i]*factors[nf-i-1]; in icvDFTInit()
268 if( inv_itab && factors[0] != factors[nf-1] ) in icvDFTInit()
318 for( k = 1; ++digits[k] >= factors[k]; k++ ) in icvDFTInit()
334 for( k = 0; ++digits[k] >= factors[k]; k++ ) in icvDFTInit()
434 int nf, int* factors, const int* itab, in icvDFT_64fc() argument
495 if( factors[0] != factors[nf-1] ) in icvDFT_64fc()
547 if( (factors[0] & 1) == 0 ) in icvDFT_64fc()
550 for( ; n*4 <= factors[0]; ) in icvDFT_64fc()
609 for( ; n < factors[0]; ) in icvDFT_64fc()
641 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ ) in icvDFT_64fc()
643 int factor = factors[f_idx]; in icvDFT_64fc()
857 int nf, int* factors, const int* itab, in icvDFT_32fc() argument
916 if( factors[0] != factors[nf-1] ) in icvDFT_32fc()
973 if( (factors[0] & 1) == 0 ) in icvDFT_32fc()
976 for( ; n*4 <= factors[0]; ) in icvDFT_32fc()
1035 for( ; n < factors[0]; ) in icvDFT_32fc()
1067 for( f_idx = (factors[0]&1) ? 0 : 1; f_idx < nf; f_idx++ ) in icvDFT_32fc()
1069 int factor = factors[f_idx]; in icvDFT_32fc()
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; in cvDFT() local
1933 nf = icvDFTFactorize( len, factors ); in cvDFT()
1935 inplace_transform = factors[0] == factors[nf-1]; in cvDFT()
1937 i = nf > 1 && (factors[0] & 1) == 0; in cvDFT()
1938 if( (factors[i] & 1) != 0 && factors[i] > 5 ) in cvDFT()
1939 sz += (factors[i]+1)*complex_elem_size; in cvDFT()
1979 icvDFTInit( len, nf, factors, itab, complex_elem_size, in cvDFT()
2022 dft_func( sptr, dptr, len, nf, factors, itab, wave, len, spec, ptr, _flags, scale ); in cvDFT()
2109 IPPI_CALL( dft_func( buf1, dbuf1, len, nf, factors, itab, in cvDFT()
2111 IPPI_CALL( dft_func( buf0, dbuf0, len, nf, factors, itab, in cvDFT()
2160 IPPI_CALL( dft_func( buf1, dbuf1, len, nf, factors, itab, in cvDFT()
2166 IPPI_CALL( dft_func( buf0, dbuf0, len, nf, factors, itab, in cvDFT()
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; in cvDCT() local
2723 nf = icvDFTFactorize( len, factors ); in cvDCT()
2724 inplace_transform = factors[0] == factors[nf-1]; in cvDCT()
2726 i = nf > 1 && (factors[0] & 1) == 0; in cvDCT()
2727 if( (factors[i] & 1) != 0 && factors[i] > 5 ) in cvDCT()
2728 sz += (factors[i]+1)*complex_elem_size; in cvDCT()
2759 icvDFTInit( len, nf, factors, itab, complex_elem_size, dft_wave, inv ); in cvDCT()
2781 dptr + i*dstep0, dstep1, len, nf, factors, in cvDCT()