Lines Matching refs:l_segno
1158 OPJ_UINT32 l_included, l_increment, l_segno; in opj_t2_read_packet_header() local
1196 l_segno = 0; in opj_t2_read_packet_header()
1199 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 1)) { in opj_t2_read_packet_header()
1204 l_segno = l_cblk->numsegs - 1; in opj_t2_read_packet_header()
1205 if (l_cblk->segs[l_segno].numpasses == l_cblk->segs[l_segno].maxpasses) { in opj_t2_read_packet_header()
1206 ++l_segno; in opj_t2_read_packet_header()
1207 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 0)) { in opj_t2_read_packet_header()
1217 l_cblk->segs[l_segno].numnewpasses = (OPJ_UINT32)opj_int_min((OPJ_INT32)( in opj_t2_read_packet_header()
1218 l_cblk->segs[l_segno].maxpasses - l_cblk->segs[l_segno].numpasses), n); in opj_t2_read_packet_header()
1220 l_cblk->segs[l_segno].numnewpasses); in opj_t2_read_packet_header()
1228 l_cblk->segs[l_segno].newlen = opj_bio_read(l_bio, bit_number); in opj_t2_read_packet_header()
1230 l_included, l_cblk->segs[l_segno].numnewpasses, l_increment, in opj_t2_read_packet_header()
1231 l_cblk->segs[l_segno].newlen); in opj_t2_read_packet_header()
1233 n -= (OPJ_INT32)l_cblk->segs[l_segno].numnewpasses; in opj_t2_read_packet_header()
1235 ++l_segno; in opj_t2_read_packet_header()
1237 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 0)) { in opj_t2_read_packet_header()