From 1726f7324a2af76a580e5be58441d95548859eed Mon Sep 17 00:00:00 2001 From: torset Date: Thu, 8 Jan 2009 14:23:17 +0000 Subject: add lpc2cep.h --- src/signalProcessing/includes/lpc2cep.h | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/signalProcessing/includes/lpc2cep.h diff --git a/src/signalProcessing/includes/lpc2cep.h b/src/signalProcessing/includes/lpc2cep.h new file mode 100644 index 00000000..31484d2d --- /dev/null +++ b/src/signalProcessing/includes/lpc2cep.h @@ -0,0 +1,35 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Arnaud TORSET + * + * 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 + * + */ + +#ifndef __LPC2CEP_H__ +#define __LPC2CEP_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" + +/* Matrices on input are squared because matricial logarithm + works only with squared matrices (and logm is used in lcp2cep) + So we just have to pass one parametre on input for the size of + the input matrix, this parametre is size and it's the numbers of + rows(or columns) +*/ + +void slpc2cepa(float* in, int size, float* out); + +void dlpc2cepa(double* in, int size, double* out); + +void clpc2cepa(floatComplex* in, int size, floatComplex* out); + +void zlpc2cepa(doubleComplex* in, int size, doubleComplex* out); + +#endif /*__LPC2CEP_H__*/ + -- cgit