From 8f3bd54c3dd0403aae45abccdcc850eab5faeb6a Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Tue, 1 Nov 2005 10:15:34 +0000 Subject: Changes proposed by Mathieu Malaterre from the GDCM project... Thanks a lot Mathieu - '//' replaced by '/* */' - inclusion of int.h in int.c - inclusion of j2k.h in int.h in order to export symbols - adding (void) var when a variable is declared but not used - some explicit cast - CLOCKS_PER_SEC is declared as float in bcc55, so there is a need to cast it to int for the modulo operation - some variables changed from float -> double --- libopenjpeg/dwt.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libopenjpeg/dwt.c') diff --git a/libopenjpeg/dwt.c b/libopenjpeg/dwt.c index 895cd391..66ee3827 100644 --- a/libopenjpeg/dwt.c +++ b/libopenjpeg/dwt.c @@ -55,8 +55,6 @@ #include "fix.h" #include "tcd.h" #include -//#include -//#include #define S(i) a[(i)*2] #define D(i) a[(1+(i)*2)] @@ -110,8 +108,8 @@ void dwt_deinterleave_v(int *a, int *b, int dn, int sn, int x, int cas) { /* */ void dwt_interleave_h(int *a, int *b, int dn, int sn, int cas) { int i; -// for (i=0; i */ void dwt_interleave_v(int *a, int *b, int dn, int sn, int x, int cas) { int i; -// for (i=0; i */ int dwt_getgain_real(int orient) { + (void)orient; return 0; } -- cgit v1.2.3