Lines Matching refs:numpasses
758 cblk->numpasses = 0; in opj_t2_encode_packet()
793 if (!layer->numpasses) { in opj_t2_encode_packet()
833 if (!cblk->numpasses && layer->numpasses) { in opj_t2_encode_packet()
849 if (!cblk->numpasses) { in opj_t2_encode_packet()
852 opj_bio_write(bio, layer->numpasses != 0, 1); in opj_t2_encode_packet()
856 if (!layer->numpasses) { in opj_t2_encode_packet()
862 if (!cblk->numpasses) { in opj_t2_encode_packet()
868 opj_t2_putnumpasses(bio, layer->numpasses); in opj_t2_encode_packet()
869 l_nb_passes = cblk->numpasses + layer->numpasses; in opj_t2_encode_packet()
870 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
873 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
877 if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
892 pass = cblk->passes + cblk->numpasses; in opj_t2_encode_packet()
894 for (passno = cblk->numpasses; passno < l_nb_passes; ++passno) { in opj_t2_encode_packet()
898 if (pass->term || passno == (cblk->numpasses + layer->numpasses) - 1) { in opj_t2_encode_packet()
966 if (!layer->numpasses) { in opj_t2_encode_packet()
982 cblk->numpasses += layer->numpasses; in opj_t2_encode_packet()
1251 if (l_cblk->segs[l_segno].numpasses == l_cblk->segs[l_segno].maxpasses) { in opj_t2_read_packet_header()
1293 l_cblk->segs[l_segno].maxpasses - l_cblk->segs[l_segno].numpasses), n); in opj_t2_read_packet_header()
1418 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_read_packet_data()
1445 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_read_packet_data()
1497 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_read_packet_data()
1500 l_seg->real_num_passes = l_seg->numpasses; in opj_t2_read_packet_data()
1572 if (l_seg->numpasses == l_seg->maxpasses) { in opj_t2_skip_packet_data()
1620 l_seg->numpasses += l_seg->numnewpasses; in opj_t2_skip_packet_data()