X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Flibopenjpeg%2Ftcd.c;h=b087746cd3574fe33b7d11e8fb0481c9cdca2b50;hb=cac8f308365b0b699f01063395715550daae3a3e;hp=413d13040f5bb9951991eb949c5657263837ae95;hpb=1f1fdedc6596e5b1da08c53918cd91796e1e1743;p=gdcm.git diff --git a/src/gdcmopenjpeg/libopenjpeg/tcd.c b/src/gdcmopenjpeg/libopenjpeg/tcd.c index 413d1304..b087746c 100644 --- a/src/gdcmopenjpeg/libopenjpeg/tcd.c +++ b/src/gdcmopenjpeg/libopenjpeg/tcd.c @@ -61,6 +61,7 @@ extern jmp_buf j2k_error; void tcd_dump(tcd_image_t * img, int curtileno) { int tileno, compno, resno, bandno, precno, cblkno; + (void)curtileno; fprintf(stdout, "image {\n"); fprintf(stdout, " tw=%d, th=%d x0=%d x1=%d y0=%d y1=%d\n", img->tw, img->th, tcd_img->x0, tcd_img->x1, tcd_img->y0, tcd_img->y1); @@ -1013,7 +1014,7 @@ void tcd_rateallocate(unsigned char *dest, int len, info_image * info_IM) int compno, resno, bandno, precno, cblkno, passno, layno; double min, max; double cumdisto[100]; /*add fixed_quality*/ - const double K = 1; /* 1.1; /*add fixed_quality*/*/ + const double K = 1; /* 1.1; //add fixed_quality*/ double maxSE = 0; min = DBL_MAX;