summaryrefslogtreecommitdiff
path: root/2.3-1/demos/CT
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/demos/CT')
-rw-r--r--2.3-1/demos/CT/CT.dem.gateway.sce18
-rw-r--r--2.3-1/demos/CT/test_dct.dem.sce18
-rw-r--r--2.3-1/demos/CT/test_idct.dem.sce18
3 files changed, 54 insertions, 0 deletions
diff --git a/2.3-1/demos/CT/CT.dem.gateway.sce b/2.3-1/demos/CT/CT.dem.gateway.sce
new file mode 100644
index 00000000..1aba91e4
--- /dev/null
+++ b/2.3-1/demos/CT/CT.dem.gateway.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - 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: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Discrete Cosine Transform" , "test_dct.dem.sce";
+ "Inverse Cosine Transform" , "test_idct.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/CT/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/CT/test_dct.dem.sce b/2.3-1/demos/CT/test_dct.dem.sce
new file mode 100644
index 00000000..b1b62475
--- /dev/null
+++ b/2.3-1/demos/CT/test_dct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - 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
+// Author : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode/main.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode");
+
diff --git a/2.3-1/demos/CT/test_idct.dem.sce b/2.3-1/demos/CT/test_idct.dem.sce
new file mode 100644
index 00000000..b1d33392
--- /dev/null
+++ b/2.3-1/demos/CT/test_idct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - 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
+// Author : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode");
+