summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrijeshcr2017-07-27 10:50:50 +0530
committerGitHub2017-07-27 10:50:50 +0530
commit80307f417e34535e233e9d3f061c70c4166e1591 (patch)
treebddf13d86fff19b2a14a9d4686721ae66693caae
parent965e05dc348f796d2741ac7f410bcaff2a3fef56 (diff)
parent18fa8e403e50f4ed52a73f5e91d99459026a776b (diff)
downloadScilab2C-80307f417e34535e233e9d3f061c70c4166e1591.tar.gz
Scilab2C-80307f417e34535e233e9d3f061c70c4166e1591.tar.bz2
Scilab2C-80307f417e34535e233e9d3f061c70c4166e1591.zip
Merge pull request #24 from ukashanoor/master
dct problem solved
-rw-r--r--2.3-1/includes/sci2clib.h8
-rw-r--r--2.3-1/src/c/signalProcessing/includes/dct.h2
-rw-r--r--2.3-1/src/c/signalProcessing/interfaces/int_dct.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/2.3-1/includes/sci2clib.h b/2.3-1/includes/sci2clib.h
index caad1f1d..b69f2a00 100644
--- a/2.3-1/includes/sci2clib.h
+++ b/2.3-1/includes/sci2clib.h
@@ -521,12 +521,12 @@ extern "C" {
#include "modk.h"
#include "int_modk.h"
/* interfacing idct */
-//#include "idct.h"
-//#include "int_idct.h"
+#include "idct.h"
+#include "int_idct.h"
/* interfacing dct */
-//#include "dct.h"
-//#include "int_dct.h"
+#include "dct.h"
+#include "int_dct.h"
/* interfacing convol */
#include "conv.h"
diff --git a/2.3-1/src/c/signalProcessing/includes/dct.h b/2.3-1/src/c/signalProcessing/includes/dct.h
index db95274b..80668ffa 100644
--- a/2.3-1/src/c/signalProcessing/includes/dct.h
+++ b/2.3-1/src/c/signalProcessing/includes/dct.h
@@ -29,7 +29,7 @@ void sdcta(float *in,int row,int col,int sign,float *out);
void zdcta(doubleComplex *in,int row,int col,int sign,doubleComplex *out);
-//void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out);
+void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/2.3-1/src/c/signalProcessing/interfaces/int_dct.h b/2.3-1/src/c/signalProcessing/interfaces/int_dct.h
index ef58b48e..3481c4d5 100644
--- a/2.3-1/src/c/signalProcessing/interfaces/int_dct.h
+++ b/2.3-1/src/c/signalProcessing/interfaces/int_dct.h
@@ -29,8 +29,8 @@
#define z2d0dctz2(in,size,sign,out) zdcta(in,size[0],size[1],sign,out)
-//#define c2dctc2(in,size,out) cdcta(in,size[0],size[1],-1,out)
+#define c2dctc2(in,size,out) cdcta(in,size[0],size[1],-1,out)
-//#define c2s0dctc2(in,size,sign,out) cdcta(in,size[0],size[1],sign,out)
+#define c2s0dctc2(in,size,sign,out) cdcta(in,size[0],size[1],sign,out)
#endif