Home
last modified time | relevance | path

Searched refs:numpasses (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dt2.c617 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()
[all …]
Dtcd.h58 OPJ_UINT32 numpasses; member
80 OPJ_UINT32 numpasses; /* Number of passes in the layer */ member
97 OPJ_UINT32 numpasses; /* number of pass already done for the code-blocks */ member
Dtcd.c275 layer->numpasses = n - cblk->numpassesinlayers; in opj_tcd_makelayer()
277 if (!layer->numpasses) { in opj_tcd_makelayer()
374 layer->numpasses = n - cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
376 if (!layer->numpasses) in opj_tcd_makelayer_fixed()
/external/opencv3/3rdparty/libjasper/
Djpc_t2dec.c252 if (!cblk->numpasses) { in jpc_dec_decodepkt()
267 if (!cblk->numpasses) { in jpc_dec_decodepkt()
296 passno = cblk->firstpassno + cblk->numpasses + mycounter; in jpc_dec_decodepkt()
320 seg->numpasses += n; in jpc_dec_decodepkt()
327 cblk->numpasses += savenumnewpasses; in jpc_dec_decodepkt()
391 …rlvlno, prcno, band - rlvl->bands, cblk - prc->cblks, seg->passno, seg->numpasses, seg->cnt, band-… in jpc_dec_decodepkt()
399 if (seg->numpasses >= seg->maxpasses) { in jpc_dec_decodepkt()
Djpc_t1cod.c180 int JPC_SEGPASSCNT(int passno, int firstpassno, int numpasses, int bypass, int termall) in JPC_SEGPASSCNT() argument
211 ret = JAS_MIN(ret, numpasses - passno); in JPC_SEGPASSCNT()
215 int JPC_ISTERMINATED(int passno, int firstpassno, int numpasses, int termall, in JPC_ISTERMINATED() argument
220 if (passno - firstpassno == numpasses - 1) { in JPC_ISTERMINATED()
223 n = JPC_SEGPASSCNT(passno, firstpassno, numpasses, lazy, termall); in JPC_ISTERMINATED()
Djpc_t1enc.c220 cblk->numpasses = (cblk->numbps > 0) ? (3 * cblk->numbps - 2) : 0; in jpc_enc_enccblk()
221 if (cblk->numpasses > 0) { in jpc_enc_enccblk()
222 cblk->passes = jas_alloc2(cblk->numpasses, sizeof(jpc_enc_pass_t)); in jpc_enc_enccblk()
227 endpasses = &cblk->passes[cblk->numpasses]; in jpc_enc_enccblk()
231 …pass->term = JPC_ISTERMINATED(pass - cblk->passes, 0, cblk->numpasses, (tcmpt->cblksty & JPC_COX_T… in jpc_enc_enccblk()
247 n = cblk->numpasses; in jpc_enc_enccblk()
351 dump_passes(cblk->passes, cblk->numpasses, cblk); in jpc_enc_enccblk()
355 endpasses = &cblk->passes[cblk->numpasses]; in jpc_enc_enccblk()
365 while (termpass - pass < cblk->numpasses && in jpc_enc_enccblk()
394 dump_passes(cblk->passes, cblk->numpasses, cblk); in jpc_enc_enccblk()
Djpc_t1cod.h288 int JPC_SEGPASSCNT(int passno, int firstpassno, int numpasses, int bypass,
292 int JPC_ISTERMINATED(int passno, int firstpassno, int numpasses, int termall,
Djpc_dec.h238 int numpasses; member
280 int numpasses; member
Djpc_t2enc.c278 endpasses = &cblk->passes[cblk->numpasses]; in jpc_enc_encpkt()
365 endpasses = &cblk->passes[cblk->numpasses]; in jpc_enc_encpkt()
528 cblk->curpass = (cblk->numpasses > 0) ? cblk->passes : 0; in jpc_init_t2state()
537 endpasses = &cblk->passes[cblk->numpasses]; in jpc_init_t2state()
Djpc_enc.c148 int dump_passes(jpc_enc_pass_t *passes, int numpasses, jpc_enc_cblk_t *cblk);
1465 int dump_passes(jpc_enc_pass_t *passes, int numpasses, jpc_enc_cblk_t *cblk) in dump_passes() argument
1474 for (i = 0; i < numpasses; ++i) { in dump_passes()
1524 endpasses = &cblk->passes[cblk->numpasses]; in calcrdslopes()
1617 cblk->numpasses && pass->lyrno == lyrno; in dump_layeringinfo()
1695 endpasses = &cblk->passes[cblk->numpasses]; in rateallocate()
1766 endpasses = &cblk->passes[cblk->numpasses]; in rateallocate()
1860 endpasses = &cblk->passes[cblk->numpasses]; in rateallocate()
2510 cblk->numpasses = 0; in cblk_create()
2553 for (passno = 0, pass = cblk->passes; passno < cblk->numpasses; in cblk_destroy()
Djpc_enc.h301 int numpasses; member
Djpc_t1dec.c216 assert(seg->numpasses >= seg->maxpasses || dopartial); in jpc_dec_decodecblk()
239 for (i = 0; i < seg->numpasses; ++i) { in jpc_dec_decodecblk()
Djpc_dec.c855 cblk->numpasses = 0; in jpc_dec_tileinit()
1965 seg->numpasses = 0; in jpc_seg_alloc()