Searched refs:bpcc (Results 1 – 7 of 7) sorted by relevance
/external/opencv3/3rdparty/libjasper/ |
D | jp2_dec.c | 171 if (!dec->bpcc) { in jp2_decode() 172 dec->bpcc = box; in jp2_decode() 261 if (dec->bpcc) { in jp2_decode() 264 if (dec->bpcc->data.bpcc.numcmpts != JAS_CAST(uint, jas_image_numcmpts( in jp2_decode() 272 … if (jas_image_cmptdtype(dec->image, i) != JP2_BPCTODTYPE(dec->bpcc->data.bpcc.bpcs[i])) { in jp2_decode() 484 dec->bpcc = 0; in jp2_dec_create() 499 if (dec->bpcc) { in jp2_dec_destroy() 500 jp2_box_destroy(dec->bpcc); in jp2_dec_destroy()
|
D | jp2_enc.c | 101 jp2_bpcc_t *bpcc; in jp2_write_header() local 195 bpcc = &box->data.bpcc; in jp2_write_header() 196 bpcc->numcmpts = jas_image_numcmpts(image); in jp2_write_header() 197 if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts, in jp2_write_header() 201 for (cmptno = 0; cmptno < bpcc->numcmpts; ++cmptno) { in jp2_write_header() 202 bpcc->bpcs[cmptno] = JP2_SPTOBPC(jas_image_cmptsgnd(image, in jp2_write_header()
|
D | jp2_cod.c | 226 jp2_bpcc_t *bpcc = &box->data.bpcc; in jp2_bpcc_destroy() local 227 if (bpcc->bpcs) { in jp2_bpcc_destroy() 228 jas_free(bpcc->bpcs); in jp2_bpcc_destroy() 229 bpcc->bpcs = 0; in jp2_bpcc_destroy() 380 jp2_bpcc_t *bpcc = &box->data.bpcc; in jp2_bpcc_getdata() local 382 bpcc->numcmpts = box->datalen; in jp2_bpcc_getdata() 383 if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts, sizeof(uint_fast8_t)))) { in jp2_bpcc_getdata() 386 for (i = 0; i < bpcc->numcmpts; ++i) { in jp2_bpcc_getdata() 387 if (jp2_getuint8(in, &bpcc->bpcs[i])) { in jp2_bpcc_getdata() 570 jp2_bpcc_t *bpcc = &box->data.bpcc; in jp2_bpcc_putdata() local [all …]
|
D | jp2_dec.h | 76 jp2_box_t *bpcc; member
|
D | jp2_cod.h | 266 jp2_bpcc_t bpcc; member
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.h | 150 OPJ_UINT32 bpcc; member
|
D | jp2.c | 666 opj_write_bytes(l_current_bpcc_ptr, jp2->comps[i].bpcc, 1); /* write each component information */ in opj_jp2_write_bpcc() 701 opj_read_bytes(p_bpc_header_data,&jp2->comps[i].bpcc ,1); /* read each BPCC component */ in opj_jp2_read_bpcc() 1842 jp2->comps[i].bpcc = image->comps[i].prec - 1 + (image->comps[i].sgnd << 7); in opj_jp2_setup_encoder() 2076 l_is_valid &= ((jp2->comps[i].bpcc & 0x7FU) < 38U); /* 0 is valid, ignore sign for check */ in opj_jp2_default_validation()
|