/external/opencv3/3rdparty/libjasper/ |
jp2_dec.c | 171 if (!dec->bpcc) { 172 dec->bpcc = box; 261 if (dec->bpcc) { 262 /* Is the number of components indicated in the BPCC box 264 if (dec->bpcc->data.bpcc.numcmpts != JAS_CAST(uint, jas_image_numcmpts( 268 /* Is the component data type information indicated in the BPCC 272 if (jas_image_cmptdtype(dec->image, i) != JP2_BPCTODTYPE(dec->bpcc->data.bpcc.bpcs[i])) { 277 jas_eprintf("warning: superfluous BPCC box\n") [all...] |
jp2_enc.c | 101 jp2_bpcc_t *bpcc; local 195 bpcc = &box->data.bpcc; 196 bpcc->numcmpts = jas_image_numcmpts(image); 197 if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts, 201 for (cmptno = 0; cmptno < bpcc->numcmpts; ++cmptno) { 202 bpcc->bpcs[cmptno] = JP2_SPTOBPC(jas_image_cmptsgnd(image,
|
jp2_cod.c | 152 {JP2_BOX_BPCC, "BPCC", 0, 226 jp2_bpcc_t *bpcc = &box->data.bpcc; local 227 if (bpcc->bpcs) { 228 jas_free(bpcc->bpcs); 229 bpcc->bpcs = 0; 380 jp2_bpcc_t *bpcc = &box->data.bpcc; local 382 bpcc->numcmpts = box->datalen; 383 if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts, sizeof(uint_fast8_t)))) 570 jp2_bpcc_t *bpcc = &box->data.bpcc; local [all...] |
jp2_dec.h | 76 jp2_box_t *bpcc; member in struct:__anon20250
|
jp2_cod.h | 159 /* BPCC box data. */ 266 jp2_bpcc_t bpcc; member in union:__anon20248::__anon20249
|
/external/pdfium/third_party/libopenjpeg20/ |
jp2.c | 662 opj_write_bytes(l_current_bpcc_ptr,JP2_BPCC,4); /* BPCC */ 666 opj_write_bytes(l_current_bpcc_ptr, jp2->comps[i].bpcc, 1); /* write each component information */ 690 opj_event_msg(p_manager, EVT_WARNING, "A BPCC header box is available although BPC given by the IHDR box (%d) indicate components bit depth is constant\n",jp2->bpc); 695 opj_event_msg(p_manager, EVT_ERROR, "Bad BPCC header box (bad size)\n"); 701 opj_read_bytes(p_bpc_header_data,&jp2->comps[i].bpcc ,1); /* read each BPCC component */ 734 opj_write_bytes(l_current_cdef_ptr,JP2_CDEF,4); /* BPCC */ 792 opj_write_bytes(l_current_colr_ptr,JP2_COLR,4); /* BPCC */ [all...] |
jp2.h | 150 OPJ_UINT32 bpcc; member in struct:opj_jp2_comps
|