jpwl_epb_ms_t *epb_mark;
jpwl_epc_ms_t *epc_mark;
jpwl_esd_ms_t *esd_mark;
+ (void)image;
/* find (SOC + SIZ) length */
/* I assume SIZ is always the first marker after SOC */
/* add all the lengths of the markers which are len-ready and stay within SOC and SOT */
for (mm = 0; mm < jwmarker_num; mm++) {
- if ((jwmarker[mm].pos >=0) && (jwmarker[mm].pos < sot_pos)) {
+ if ( jwmarker[mm].pos < sot_pos) { /* jwmarker[mm].pos >=0 since ulong */
if (jwmarker[mm].len_ready)
left_MHmarks_len += jwmarker[mm].len + 2;
else {
pprot = j2k->cp->pprot[packspec++];
}
- //printf("Tile %02d, pack %02d ==> %d\n", tileno, packno, pprot);
+ /*printf("Tile %02d, pack %02d ==> %d\n", tileno, packno, pprot);*/
}
unsigned char *jpwl_buf, *orig_buf;
unsigned long int orig_pos;
double epbcoding_time = 0.0, esdcoding_time = 0.0;
+ (void)image;
/* Order JPWL markers according to their wishlist position */
qsort((void *) jwmarker, (size_t) jwmarker_num, sizeof (jpwl_marker_t), jpwl_markcomp);
}
}
+#else
+ (void)j2k;
+ (void)tcd;
+ (void)tileno;
#endif
return OPJ_TRUE;