@param n delta Zil
*/
static void opj_t2_putnumpasses(opj_bio_t *bio, OPJ_UINT32 n);
-static int t2_getnumpasses(opj_bio_t *bio);
+static OPJ_UINT32 opj_t2_getnumpasses(opj_bio_t *bio);
/**
Encode a packet of a tile to a destination buffer
@param tile Tile for which to write the packets
}
}
-static int t2_getnumpasses(opj_bio_t *bio) {
- int n;
+OPJ_UINT32 opj_t2_getnumpasses(opj_bio_t *bio) {
+ OPJ_UINT32 n;
if (!bio_read(bio, 1))
return 1;
if (!bio_read(bio, 1))
cblk->numlenbits = 3;
}
/* number of coding passes */
- cblk->numnewpasses = t2_getnumpasses(bio);
+ cblk->numnewpasses = opj_t2_getnumpasses(bio);
increment = opj_t2_getcommacode(bio);
/* length indicator increment */
cblk->numlenbits += increment;
}
/* number of coding passes */
- l_cblk->numnewpasses = t2_getnumpasses(l_bio);
+ l_cblk->numnewpasses = opj_t2_getnumpasses(l_bio);
l_increment = opj_t2_getcommacode(l_bio);
/* length indicator increment */