Home
last modified time | relevance | path

Searched refs:cblks (Results 1 – 12 of 12) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djpc_t2enc.c223 if (!prc->cblks) { in jpc_enc_encpkt()
227 endcblks = &prc->cblks[prc->numcblks]; in jpc_enc_encpkt()
228 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in jpc_enc_encpkt()
230 leaf = jpc_tagtree_getleaf(prc->nlibtree, cblk - prc->cblks); in jpc_enc_encpkt()
238 cblk - prc->cblks); in jpc_enc_encpkt()
243 endcblks = &prc->cblks[prc->numcblks]; in jpc_enc_encpkt()
244 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in jpc_enc_encpkt()
249 cblk - prc->cblks); in jpc_enc_encpkt()
265 leaf = jpc_tagtree_getleaf(prc->nlibtree, cblk - prc->cblks); in jpc_enc_encpkt()
350 if (!prc->cblks) { in jpc_enc_encpkt()
[all …]
Djpc_enc.c139 static void cblk_destroy(jpc_enc_cblk_t *cblks);
1611 if (!prc->cblks) { in dump_layeringinfo()
1614 for (cblkno = 0, cblk = prc->cblks; cblkno < in dump_layeringinfo()
1689 if (!prc->cblks) { in rateallocate()
1692 endcblks = &prc->cblks[prc->numcblks]; in rateallocate()
1693 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in rateallocate()
1760 if (!prc->cblks) { in rateallocate()
1763 endcblks = &prc->cblks[prc->numcblks]; in rateallocate()
1764 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in rateallocate()
1854 if (!prc->cblks) { in rateallocate()
[all …]
Djpc_t2dec.c245 if (!prc->cblks) { in jpc_dec_decodepkt()
249 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in jpc_dec_decodepkt()
378 if (!prc->cblks) { in jpc_dec_decodepkt()
381 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in jpc_dec_decodepkt()
391 …msbs=%d\n", lyrno, compno, rlvlno, prcno, band - rlvl->bands, cblk - prc->cblks, seg->passno, seg-… in jpc_dec_decodepkt()
Djpc_t1enc.c142 if (!prc->cblks) { in jpc_enc_enccblks()
146 endcblks = &prc->cblks[prc->numcblks]; in jpc_enc_enccblks()
147 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in jpc_enc_enccblks()
163 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in jpc_enc_enccblks()
168 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in jpc_enc_enccblks()
Djpc_enc.h380 jpc_enc_cblk_t *cblks; member
Djpc_dec.h341 jpc_dec_cblk_t *cblks; member
Djpc_dec.c837 if (!(prc->cblks = jas_alloc2(prc->numcblks, sizeof(jpc_dec_cblk_t)))) { in jpc_dec_tileinit()
843 for (cblkcnt = prc->numcblks, cblk = prc->cblks; cblkcnt > 0;) { in jpc_dec_tileinit()
877 prc->cblks = 0; in jpc_dec_tileinit()
936 if (!prc->cblks) { in jpc_dec_tilefini()
939 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; ++cblkno, ++cblk) { in jpc_dec_tilefini()
963 if (prc->cblks) { in jpc_dec_tilefini()
964 jas_free(prc->cblks); in jpc_dec_tilefini()
2023 prc->cblks; cblkno < in jpc_dec_dump()
Djpc_t1dec.c170 if (!prc->cblks) { in jpc_dec_decodecblks()
174 cblk = prc->cblks; cblkcnt > 0; in jpc_dec_decodecblks()
/external/pdfium/third_party/libopenjpeg20/
Dtcd.c243 opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno]; in opj_tcd_makelayer()
336 opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno]; in opj_tcd_makelayer_fixed()
432 opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno]; in opj_tcd_rateallocate()
939 if (! l_current_precinct->cblks.blocks) { in opj_tcd_init_tile()
940 l_current_precinct->cblks.blocks = opj_malloc(l_nb_code_blocks_size); in opj_tcd_init_tile()
941 if (! l_current_precinct->cblks.blocks ) { in opj_tcd_init_tile()
946 memset(l_current_precinct->cblks.blocks,0,l_nb_code_blocks_size); in opj_tcd_init_tile()
951 void *new_blocks = opj_realloc(l_current_precinct->cblks.blocks, l_nb_code_blocks_size); in opj_tcd_init_tile()
953 opj_free(l_current_precinct->cblks.blocks); in opj_tcd_init_tile()
954 l_current_precinct->cblks.blocks = NULL; in opj_tcd_init_tile()
[all …]
Dt2.c615 cblk = &prc->cblks.enc[cblkno]; in opj_t2_encode_packet()
638 cblk = prc->cblks.enc; in opj_t2_encode_packet()
650 cblk = prc->cblks.enc; in opj_t2_encode_packet()
756 cblk = prc->cblks.enc; in opj_t2_encode_packet()
876 l_cblk = l_prc->cblks.dec; in opj_t2_read_packet_header()
982 l_cblk = l_prc->cblks.dec; in opj_t2_read_packet_header()
1132 l_cblk = l_prc->cblks.dec; in opj_t2_read_packet_data()
1267 l_cblk = l_prc->cblks.dec; in opj_t2_skip_packet_data()
Dtcd.h127 } cblks; member
Dt1.c1289 opj_tcd_cblk_dec_t* cblk = &precinct->cblks.dec[cblkno]; in opj_t1_decode_cblks()
1482 opj_tcd_cblk_enc_t* cblk = &prc->cblks.enc[cblkno]; in opj_t1_encode_cblks()