/* 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 "doubleComplex.h" /*#include "matrixMultiplication"*/ /*#include */ #include void zidcta(doubleComplex *in,int row,int col,doubleComplex *out) { int i,j,k,u,v; int n=col; int x,y; double res,ress; double re,z,q,m; doubleComplex accu = DoubleComplex(0, 0); doubleComplex temp,mm; if(row==1) { res=1./sqrt(n); ress=sqrt(2./n); for(u=0;u