Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dimage.c46 image->numcomps = numcmpts; in opj_image_create()
48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t)); in opj_image_create()
84 for(compno = 0; compno < image->numcomps; compno++) { in opj_image_destroy()
120 for (i = 0; i < p_image_header->numcomps; ++i) { in opj_image_comp_header_update()
158 for(compno = 0; compno < p_image_dest->numcomps; compno++) { in opj_copy_image_header()
168 p_image_dest->numcomps = p_image_src->numcomps; in opj_copy_image_header()
170 …p_image_dest->comps = (opj_image_comp_t*) opj_malloc(p_image_dest->numcomps * sizeof(opj_image_com… in opj_copy_image_header()
173 p_image_dest->numcomps = 0; in opj_copy_image_header()
177 for (compno=0; compno < p_image_dest->numcomps; compno++){ in opj_copy_image_header()
213 image->numcomps = numcmpts; in opj_image_tile_create()
[all …]
Dtcd.c58 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); in tcd_dump()
59 for (compno = 0; compno < tile->numcomps; compno++) { in tcd_dump()
229 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer()
312 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer_fixed()
417 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_rateallocate()
599 …p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(p_image->numcomps,sizeof(opj_tc… in opj_tcd_init()
604 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; in opj_tcd_init()
720 for (compno = 0; compno < l_tile->numcomps; ++compno) { in opj_tcd_init_tile()
1156 for (i=0;i<p_tcd->image->numcomps;++i) { in opj_tcd_get_decoded_tile_size()
1207 …_tile_no].packet = (opj_packet_info_t*) opj_calloc((size_t)p_cstr_info->numcomps * (size_t)p_cstr_… in opj_tcd_encode_tile()
[all …]
Djp2.c547 opj_read_bytes(p_image_header_data,&(jp2->numcomps),2); /* NC */ in opj_jp2_read_ihdr()
551 jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps, sizeof(opj_jp2_comps_t)); in opj_jp2_read_ihdr()
606 opj_write_bytes(l_current_ihdr_ptr, jp2->numcomps, 2); /* NC */ in opj_jp2_write_ihdr()
632 OPJ_UINT32 l_bpcc_size = 8 + jp2->numcomps; in opj_jp2_write_bpcc()
652 for (i = 0; i < jp2->numcomps; ++i) { in opj_jp2_write_bpcc()
681 if (p_bpc_header_size != jp2->numcomps) { in opj_jp2_read_bpcc()
687 for (i = 0; i < jp2->numcomps; ++i) { in opj_jp2_read_bpcc()
827 …OPJ_UINT32 nr_channels = image->numcomps; /* FIXME image->numcomps == jp2->numcomps before color i… in opj_jp2_check_color()
871 if (cmap[i].cmp >= image->numcomps) { in opj_jp2_check_color()
872 …t_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", cmap[i].cmp, image->numcomps); in opj_jp2_check_color()
[all …]
Dj2k.c1133 OPJ_UINT32 numcomps,
1827 l_size_len = 40 + 3 * l_image->numcomps; in opj_j2k_write_siz()
1880 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */ in opj_j2k_write_siz()
1883 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_write_siz()
1972 l_image->numcomps = (OPJ_UINT16) l_tmp; in opj_j2k_read_siz()
1978 if (l_image->numcomps != l_nb_comp) { in opj_j2k_read_siz()
1979 …t compatible with the remaining number of parameters ( %d vs %d)\n", l_image->numcomps, l_nb_comp); in opj_j2k_read_siz()
2053 l_cp->exp_comps = l_image->numcomps; in opj_j2k_read_siz()
2058 … l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, sizeof(opj_image_comp_t)); in opj_j2k_read_siz()
2060 l_image->numcomps = 0; in opj_j2k_read_siz()
[all …]
Dpi.c324 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_rpcl()
408 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_pcrl()
605 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_encoding_parameters()
729 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_all_encoding_parameters()
827 l_current_pi->comps = (opj_pi_comp_t*) opj_calloc(image->numcomps, sizeof(opj_pi_comp_t)); in opj_pi_create()
833 l_current_pi->numcomps = image->numcomps; in opj_pi_create()
835 for (compno = 0; compno < image->numcomps; ++compno) { in opj_pi_create()
1056 l_current_pi->poc.compno1 = l_current_pi->numcomps; in opj_pi_update_decode_not_poc()
1195 l_data_stride * p_image->numcomps * sizeof(OPJ_UINT32)); in opj_pi_create_decode()
1202 p_image->numcomps * sizeof(OPJ_UINT32 *)); in opj_pi_create_decode()
[all …]
Dpi.h99 OPJ_UINT32 numcomps; member
Dt1.c267 OPJ_UINT32 numcomps,
279 OPJ_UINT32 numcomps,
1141 OPJ_UINT32 numcomps, in opj_t1_getwmsedec() argument
1146 OPJ_ARG_NOT_USED(numcomps); in opj_t1_getwmsedec()
1476 for (compno = 0; compno < tile->numcomps; ++compno) { in opj_t1_encode_cblks()
1555 tile->numcomps, in opj_t1_encode_cblks()
1577 OPJ_UINT32 numcomps, in opj_t1_encode_cblk() argument
1635 …tempwmsedec = opj_t1_getwmsedec(nmsedec, compno, level, orient, bpno, qmfbid, stepsize, numcomps,m… in opj_t1_encode_cblk()
Dtcd.h178 OPJ_UINT32 numcomps; /* number of components in tile */ member
Djp2.h170 OPJ_UINT32 numcomps; member
Dopenjpeg.h671 OPJ_UINT32 numcomps; member
829 int numcomps; member
Dt2.c222 … OPJ_UINT32 l_max_comp = l_cp->m_specific_param.m_enc.m_max_comp_size > 0 ? l_image->numcomps : 1; in opj_t2_encode_packets()
398 first_pass_failed = (OPJ_BOOL*)opj_malloc(l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets()
404 memset(first_pass_failed, OPJ_TRUE, l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp322 if(img->numcomps < 3) { in color_sycc_to_rgb()
408 if(image->numcomps > 2) { in color_apply_icc_profile()
468 realloc(image->comps, (image->numcomps + 2) * sizeof(opj_image_comp_t)); in color_apply_icc_profile()
469 if(image->numcomps == 2) { in color_apply_icc_profile()
478 image->numcomps += 2; in color_apply_icc_profile()
500 int enumcs, numcomps; in color_apply_conversion() local
501 numcomps = image->numcomps; in color_apply_conversion()
502 if(numcomps < 3) { in color_apply_conversion()
679 && image->numcomps == 3 && image->comps[0].dx == image->comps[0].dy in Init()
682 } else if (image->numcomps <= 2) { in Init()
[all …]