Lines Matching refs:numpasses
617 cblk->numpasses = 0; in opj_t2_encode_packet()
643 if (!cblk->numpasses && layer->numpasses) { in opj_t2_encode_packet()
659 if (!cblk->numpasses) { in opj_t2_encode_packet()
662 opj_bio_write(bio, layer->numpasses != 0, 1); in opj_t2_encode_packet()
666 if (!layer->numpasses) { in opj_t2_encode_packet()
672 if (!cblk->numpasses) { in opj_t2_encode_packet()
678 opj_t2_putnumpasses(bio, layer->numpasses); in opj_t2_encode_packet()
679 l_nb_passes = cblk->numpasses + layer->numpasses; in opj_t2_encode_packet()
680 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
683 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
687 … if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
701 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
703 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
707 … if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
761 if (!layer->numpasses) { in opj_t2_encode_packet()
771 cblk->numpasses += layer->numpasses; in opj_t2_encode_packet()
1032 … if (l_cblk->segs[l_segno].numpasses == l_cblk->segs[l_segno].maxpasses) { in opj_t2_read_packet_header()
1043 …T32)opj_int_min((OPJ_INT32)(l_cblk->segs[l_segno].maxpasses - l_cblk->segs[l_segno].numpasses), n); in opj_t2_read_packet_header()
1151 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_read_packet_data()
1206 if (l_seg->numpasses == 0) { in opj_t2_read_packet_data()
1212 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_read_packet_data()
1215 l_seg->real_num_passes = l_seg->numpasses; in opj_t2_read_packet_data()
1286 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_skip_packet_data()
1322 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_skip_packet_data()