/** @name Local static functions */
/*@{*/
-static void t2_putcommacode(opj_bio_t *bio, int n);
+static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n);
static OPJ_UINT32 opj_t2_getcommacode(opj_bio_t *bio);
/**
/* ----------------------------------------------------------------------- */
/* #define RESTART 0x04 */
-/* TODO MSD->LHE */
-static void t2_putcommacode(opj_bio_t *bio, int n) {
+static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n) {
while (--n >= 0) {
opj_bio_write(bio, 1, 1);
}
++pass;
}
- t2_putcommacode(bio, increment);
+ opj_t2_putcommacode(bio, increment);
/* computation of the new Length indicator */
cblk->numlenbits += increment;