Lines Matching refs:numpasses
718 cblk->numpasses = 0; in opj_t2_encode_packet()
748 if (!layer->numpasses) { in opj_t2_encode_packet()
780 if (!cblk->numpasses && layer->numpasses) { in opj_t2_encode_packet()
796 if (!cblk->numpasses) { in opj_t2_encode_packet()
799 opj_bio_write(bio, layer->numpasses != 0, 1); in opj_t2_encode_packet()
803 if (!layer->numpasses) { in opj_t2_encode_packet()
809 if (!cblk->numpasses) { in opj_t2_encode_packet()
815 opj_t2_putnumpasses(bio, layer->numpasses); in opj_t2_encode_packet()
816 l_nb_passes = cblk->numpasses + layer->numpasses; in opj_t2_encode_packet()
817 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
820 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
824 if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
839 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
841 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
845 if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
913 if (!layer->numpasses) { in opj_t2_encode_packet()
929 cblk->numpasses += layer->numpasses; in opj_t2_encode_packet()
1197 if (l_cblk->segs[l_segno].numpasses == l_cblk->segs[l_segno].maxpasses) { 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()
1328 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_read_packet_data()
1387 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_read_packet_data()
1390 l_seg->real_num_passes = l_seg->numpasses; in opj_t2_read_packet_data()
1458 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_skip_packet_data()
1499 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_skip_packet_data()