/* Copyright (C) 2016 - IIT Bombay - FOSSEE 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 Author: Ukasha Noor Organization: FOSSEE, IIT Bombay Email: toolbox@scilab.in */ #include "idct.h" #include "addition.h" #include "types.h" #include "floatComplex.h" /*#include "matrixMultiplication"*/ /*#include */ #include void cidcta(floatComplex *in,int row,int col,floatComplex *out) { int i,j,k,u,v; int n=col; int x,y; float res,ress; float re,z,q,m; floatComplex accu = FloatComplex(0, 0); floatComplex temp,mm; if(row==1) { res=1./sqrt(n); ress=sqrt(2./n); for(u=0;u