Home
last modified time | relevance | path

Searched refs:cblk (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/third_party/libopenjpeg/
Dt1.c189 opj_tcd_cblk_enc_t* cblk,
212 opj_tcd_cblk_dec_t* cblk,
232 opj_tcd_cblk_dec_t* cblk,
1592 opj_tcd_cblk_dec_t* cblk; member
1610 opj_tcd_cblk_dec_t* cblk; in opj_t1_clbl_decode_processor() local
1625 cblk = job->cblk; in opj_t1_clbl_decode_processor()
1628 cblk_w = (OPJ_UINT32)(cblk->x1 - cblk->x0); in opj_t1_clbl_decode_processor()
1629 cblk_h = (OPJ_UINT32)(cblk->y1 - cblk->y0); in opj_t1_clbl_decode_processor()
1631 cblk->decoded_data = (OPJ_INT32*)opj_aligned_malloc(sizeof(OPJ_INT32) * in opj_t1_clbl_decode_processor()
1633 if (cblk->decoded_data == NULL) { in opj_t1_clbl_decode_processor()
[all …]
Dt2.c155 static OPJ_BOOL opj_t2_init_seg(opj_tcd_cblk_dec_t* cblk,
682 opj_tcd_cblk_enc_t* cblk = 00; in opj_t2_encode_packet() local
756 cblk = &prc->cblks.enc[cblkno]; in opj_t2_encode_packet()
758 cblk->numpasses = 0; in opj_t2_encode_packet()
759 opj_tgt_setvalue(prc->imsbtree, cblkno, band->numbps - (OPJ_INT32)cblk->numbps); in opj_t2_encode_packet()
788 cblk = prc->cblks.enc; in opj_t2_encode_packet()
789 for (cblkno = 0; cblkno < l_nb_blocks; cblkno++, ++cblk) { in opj_t2_encode_packet()
790 opj_tcd_layer_t *layer = &cblk->layers[layno]; in opj_t2_encode_packet()
828 cblk = prc->cblks.enc; in opj_t2_encode_packet()
831 opj_tcd_layer_t *layer = &cblk->layers[layno]; in opj_t2_encode_packet()
[all …]
Dtcd.c267 opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno]; in opj_tcd_makelayer() local
268 opj_tcd_layer_t *layer = &cblk->layers[layno]; in opj_tcd_makelayer()
272 cblk->numpassesinlayers = 0; in opj_tcd_makelayer()
275 n = cblk->numpassesinlayers; in opj_tcd_makelayer()
279 n = cblk->totalpasses; in opj_tcd_makelayer()
281 … for (passno = cblk->numpassesinlayers; passno < cblk->totalpasses; passno++) { in opj_tcd_makelayer()
284 opj_tcd_pass_t *pass = &cblk->passes[passno]; in opj_tcd_makelayer()
290 dr = pass->rate - cblk->passes[n - 1].rate; in opj_tcd_makelayer()
291 dd = pass->distortiondec - cblk->passes[n - 1].distortiondec; in opj_tcd_makelayer()
307 layer->numpasses = n - cblk->numpassesinlayers; in opj_tcd_makelayer()
[all …]
Dht_dec.c1100 opj_tcd_cblk_dec_t* cblk, in opj_t1_ht_decode_cblk() argument
1156 (OPJ_UINT32)(cblk->x1 - cblk->x0), in opj_t1_ht_decode_cblk()
1157 (OPJ_UINT32)(cblk->y1 - cblk->y0))) { in opj_t1_ht_decode_cblk()
1161 if (cblk->Mb == 0) { in opj_t1_ht_decode_cblk()
1166 zero_bplanes = (cblk->Mb + 1) - cblk->numbps; in opj_t1_ht_decode_cblk()
1172 for (i = 0; i < cblk->numchunks; i++) { in opj_t1_ht_decode_cblk()
1173 cblk_len += cblk->chunks[i].len; in opj_t1_ht_decode_cblk()
1177 if (cblk->numchunks > 1 || t1->mustuse_cblkdatabuffer) { in opj_t1_ht_decode_cblk()
1194 for (i = 0; i < cblk->numchunks; i++) { in opj_t1_ht_decode_cblk()
1195 memcpy(cblkdata + cblk_len, cblk->chunks[i].data, cblk->chunks[i].len); in opj_t1_ht_decode_cblk()
[all …]
Ddwt.c2593 opj_tcd_cblk_dec_t* cblk = &precinct->cblks.dec[cblkno]; in opj_dwt_init_sparse_array() local
2594 if (cblk->decoded_data != NULL) { in opj_dwt_init_sparse_array()
2595 OPJ_UINT32 x = (OPJ_UINT32)(cblk->x0 - band->x0); in opj_dwt_init_sparse_array()
2596 OPJ_UINT32 y = (OPJ_UINT32)(cblk->y0 - band->y0); in opj_dwt_init_sparse_array()
2597 OPJ_UINT32 cblk_w = (OPJ_UINT32)(cblk->x1 - cblk->x0); in opj_dwt_init_sparse_array()
2598 OPJ_UINT32 cblk_h = (OPJ_UINT32)(cblk->y1 - cblk->y0); in opj_dwt_init_sparse_array()
2611 cblk->decoded_data, in opj_dwt_init_sparse_array()
/external/e2fsprogs/debugfs/
Ddo_journal.c93 blk64_t cblk; in journal_commit_trans() local
102 for (cblk = trans->start; cblk < trans->block; cblk++) { in journal_commit_trans()
103 err = jbd2_journal_bmap(trans->journal, cblk, in journal_commit_trans()