diff options
author | torset | 2009-01-15 09:03:16 +0000 |
---|---|---|
committer | torset | 2009-01-15 09:03:16 +0000 |
commit | 7347e8f3e2715fcea8b2bcacdecd4ad32a2c691f (patch) | |
tree | 305d973e71e72513072f03861dcbf0de84460d74 /src/signalProcessing/interfaces | |
parent | 5a0b1a8aafdbad657ab35b427c3fdbf2e104aef0 (diff) | |
download | scilab2c-7347e8f3e2715fcea8b2bcacdecd4ad32a2c691f.tar.gz scilab2c-7347e8f3e2715fcea8b2bcacdecd4ad32a2c691f.tar.bz2 scilab2c-7347e8f3e2715fcea8b2bcacdecd4ad32a2c691f.zip |
add interfaces
Diffstat (limited to 'src/signalProcessing/interfaces')
-rw-r--r-- | src/signalProcessing/interfaces/int_cepstrum.h | 34 | ||||
-rw-r--r-- | src/signalProcessing/interfaces/int_convol.h | 35 | ||||
-rw-r--r-- | src/signalProcessing/interfaces/int_fft.h | 52 | ||||
-rw-r--r-- | src/signalProcessing/interfaces/int_ifft.h | 34 | ||||
-rw-r--r-- | src/signalProcessing/interfaces/int_lev.h | 34 |
5 files changed, 189 insertions, 0 deletions
diff --git a/src/signalProcessing/interfaces/int_cepstrum.h b/src/signalProcessing/interfaces/int_cepstrum.h new file mode 100644 index 00000000..af1991ba --- /dev/null +++ b/src/signalProcessing/interfaces/int_cepstrum.h @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_CEPSTRUM_H__ +#define __INT_CEPSTRUM_H__ + +#define s0cepstrums0(in) scepstrums(in) + +#define d0cepstrumd0(in) dcepstrums(in) + +#define c0cepstrumc0(in) ccepstrums(in) + +#define z0cepstrumz0(in) zcepstrums(in) + +#define s2cepstrums2(in,size,out) scepstruma(in, size[0]*size[1], out) + +#define d2cepstrumd2(in,size,out) dcepstruma(in, size[0]*size[1], out) + +#define c2cepstrumc2(in,size,out) ccepstruma(in, size[0]*size[1], out) + +#define z2cepstrumz2(in,size,out) zcepstruma(in, size[0]*size[1], out) + +#endif /* !__INT_CEPSTRUM_H__ */ diff --git a/src/signalProcessing/interfaces/int_convol.h b/src/signalProcessing/interfaces/int_convol.h new file mode 100644 index 00000000..9c0b730a --- /dev/null +++ b/src/signalProcessing/interfaces/int_convol.h @@ -0,0 +1,35 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_CONVOL_H__ +#define __INT_CONVOL_H__ + +#define s0s0convols0(in1,in2) in1*in2 + +#define d0d0convold0(in1,in2) in1*in2 + +#define c0c0convolc0(in1,in2) cmuls(in1,in2) + +#define z0z0convolz0(in1,in2) zmuls(in1,in2) + + +#define s2convols2(in,size,out) sconvola(in, size[0]*size[1], out) + +#define d2convold2(in,size,out) dconvola(in, size[0]*size[1], out) + +#define c2convolc2(in,size,out) cconvola(in, size[0]*size[1], out) + +#define z2convolz2(in,size,out) zconvola(in, size[0]*size[1], out) + +#endif /* !__INT_CONVOL_H__ */ diff --git a/src/signalProcessing/interfaces/int_fft.h b/src/signalProcessing/interfaces/int_fft.h new file mode 100644 index 00000000..8366f095 --- /dev/null +++ b/src/signalProcessing/interfaces/int_fft.h @@ -0,0 +1,52 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_FFT_H__ +#define __INT_FFT_H__ + +#define s0fftc0(in) FloatComplex(sffts(in),0) + +#define d0fftz0(in) DoubleComplex(dffts(in),0) + +#define c0fftc0(in) cffts(in) + +#define z0fftz0(in) zffts(in) + +#define s2fftc2(in,size,out) sfftma(in, size[0], size[1], out) + +#define d2fftz2(in,size,out) dfftma(in, size[0], size[1], out) + +#define c2fftc2(in,size,out) cfftma(in, size[0], size[1], out) + +#define z2fftz2(in,size,out) zfftma(in, size[0], size[1], out) + + + +#define s0s0fftc0(in1,in2) (in2==-1) ? s0fftc0(in1) : s0ifftc0(in1) + +#define d0d0fftz0(in1,in2) (in2==-1) ? d0fftz0(in1) : d0ifftz0(in1) + +#define c0s0fftc0(in1,in2) (in2==-1) ? c0fftc0(in1) : c0ifftc0(in1) + +#define z0d0fftz0(in1,in2) (in2==-1) ? z0fftz0(in1) : z0ifftz0(in1) + +#define s2s0fftc2(in1,size,in2,out) (in2==-1) ? s2fftc2(in1,size,out) : s2ifftc2(in1,size,out) + +#define d2d0fftz2(in1,size,in2,out) (in2==-1) ? d2fftz2(in1,size,out) : d2ifftz2(in1,size,out) + +#define c2s0fftc2(in1,size,in2,out) (in2==-1) ? c2fftc2(in1,size,out) : c2ifftc2(in1,size,out) + +#define z2d0fftz2(in1,size,in2,out) (in2==-1) ? z2fftz2(in1,size,out) : z2ifftz2(in1,size,out) + +#endif /* !__INT_FFT_H__ */ diff --git a/src/signalProcessing/interfaces/int_ifft.h b/src/signalProcessing/interfaces/int_ifft.h new file mode 100644 index 00000000..419969c9 --- /dev/null +++ b/src/signalProcessing/interfaces/int_ifft.h @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_IFFT_H__ +#define __INT_IFFT_H__ + +#define s0ifftc0(in) FloatComlex(siffts(in),0) + +#define d0ifftz0(in) DoubleComlex(diffts(in),0) + +#define c0ifftc0(in) ciffts(in) + +#define z0ifftz0(in) ziffts(in) + +#define s2ifftc2(in,size,out) sifftma(in, size[0], size[1], out) + +#define d2ifftz2(in,size,out) difftma(in, size[0], size[1], out) + +#define c2ifftc2(in,size,out) cifftma(in, size[0], size[1], out) + +#define z2ifftz2(in,size,out) zifftma(in, size[0], size[1], out) + +#endif /* !__INT_IFFT_H__ */ diff --git a/src/signalProcessing/interfaces/int_lev.h b/src/signalProcessing/interfaces/int_lev.h new file mode 100644 index 00000000..3a4a86a9 --- /dev/null +++ b/src/signalProcessing/interfaces/int_lev.h @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_LEV_H__ +#define __INT_LEV_H__ + +#define s0levs0(in) slevs(in) + +#define d0levd0(in) dlevs(in) + +#define c0levc0(in) clevs(in) + +#define z0levz0(in) zlevs(in) + +#define s2levs2(in,size,out) sleva(in, size[0]*size[1], out) + +#define d2levd2(in,size,out) dleva(in, size[0]*size[1], out) + +#define c2levc2(in,size,out) cleva(in, size[0]*size[1], out) + +#define z2levz2(in,size,out) zleva(in, size[0]*size[1], out) + +#endif /* !__INT_LEV_H__ */ |