Lines Matching refs:l_segno
1150 OPJ_UINT32 l_included, l_increment, l_segno; in opj_t2_read_packet_header() local
1188 l_segno = 0; in opj_t2_read_packet_header()
1191 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 1)) { in opj_t2_read_packet_header()
1196 l_segno = l_cblk->numsegs - 1; in opj_t2_read_packet_header()
1197 if (l_cblk->segs[l_segno].numpasses == l_cblk->segs[l_segno].maxpasses) { in opj_t2_read_packet_header()
1198 ++l_segno; in opj_t2_read_packet_header()
1199 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 0)) { in opj_t2_read_packet_header()
1209 l_cblk->segs[l_segno].numnewpasses = (OPJ_UINT32)opj_int_min((OPJ_INT32)( in opj_t2_read_packet_header()
1210 l_cblk->segs[l_segno].maxpasses - l_cblk->segs[l_segno].numpasses), n); in opj_t2_read_packet_header()
1212 l_cblk->segs[l_segno].numnewpasses); in opj_t2_read_packet_header()
1220 l_cblk->segs[l_segno].newlen = opj_bio_read(l_bio, bit_number); in opj_t2_read_packet_header()
1222 l_included, l_cblk->segs[l_segno].numnewpasses, l_increment, in opj_t2_read_packet_header()
1223 l_cblk->segs[l_segno].newlen); in opj_t2_read_packet_header()
1225 n -= (OPJ_INT32)l_cblk->segs[l_segno].numnewpasses; in opj_t2_read_packet_header()
1227 ++l_segno; in opj_t2_read_packet_header()
1229 if (! opj_t2_init_seg(l_cblk, l_segno, p_tcp->tccps[p_pi->compno].cblksty, 0)) { in opj_t2_read_packet_header()