remove deprecated v1 style function j2k_add_mhmarker; rename j2k_add_mhmarker_v2...
[openjpeg.git] / libopenjpeg / t1_generate_luts.c
index 1925b951f1beb8b252b6ad504bedd806ed1b106c..ffeff03e1b332ce566ea03676d8752d7d67ceb66 100644 (file)
@@ -31,7 +31,6 @@
  */
 
 #include "opj_includes.h"
-#include <math.h>
 
 static int t1_init_ctxno_zc(int f, int orient) {
        int h, v, d, n, t, hv;
@@ -260,16 +259,16 @@ int main(){
        }
 
        printf("static short lut_nmsedec_sig[1 << T1_NMSEDEC_BITS] = {\n  ");
-       dump_array16(&lut_nmsedec_sig, 1 << T1_NMSEDEC_BITS);
+       dump_array16(lut_nmsedec_sig, 1 << T1_NMSEDEC_BITS);
 
        printf("static short lut_nmsedec_sig0[1 << T1_NMSEDEC_BITS] = {\n  ");
-       dump_array16(&lut_nmsedec_sig0, 1 << T1_NMSEDEC_BITS);
+       dump_array16(lut_nmsedec_sig0, 1 << T1_NMSEDEC_BITS);
 
        printf("static short lut_nmsedec_ref[1 << T1_NMSEDEC_BITS] = {\n  ");
-       dump_array16(&lut_nmsedec_ref, 1 << T1_NMSEDEC_BITS);
+       dump_array16(lut_nmsedec_ref, 1 << T1_NMSEDEC_BITS);
 
        printf("static short lut_nmsedec_ref0[1 << T1_NMSEDEC_BITS] = {\n  ");
-       dump_array16(&lut_nmsedec_ref0, 1 << T1_NMSEDEC_BITS);
+       dump_array16(lut_nmsedec_ref0, 1 << T1_NMSEDEC_BITS);
 
        return 0;
 }