/external/pdfium/third_party/libopenjpeg20/ |
D | image.c | 49 image->numcomps = numcmpts; in opj_image_create() 51 image->comps = (opj_image_comp_t*)opj_calloc(image->numcomps, in opj_image_create() 99 for (compno = 0; compno < image->numcomps; compno++) { in opj_image_destroy() 141 for (i = 0; i < p_image_header->numcomps; ++i) { in opj_image_comp_header_update() 180 for (compno = 0; compno < p_image_dest->numcomps; compno++) { in opj_copy_image_header() 190 p_image_dest->numcomps = p_image_src->numcomps; in opj_copy_image_header() 192 p_image_dest->comps = (opj_image_comp_t*) opj_malloc(p_image_dest->numcomps * in opj_copy_image_header() 196 p_image_dest->numcomps = 0; in opj_copy_image_header() 200 for (compno = 0; compno < p_image_dest->numcomps; compno++) { in opj_copy_image_header() 238 image->numcomps = numcmpts; in opj_image_tile_create() [all …]
|
D | 0025-opj_j2k_add_mct_null_data.patch | 7 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps 8 * p_image->numcomps; 17 p_image->numcomps;
|
D | j2k.c | 1233 OPJ_UINT32 numcomps, 1959 l_size_len = 40 + 3 * l_image->numcomps; in opj_j2k_write_siz() 2013 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */ in opj_j2k_write_siz() 2016 for (i = 0; i < l_image->numcomps; ++i) { in opj_j2k_write_siz() 2115 l_image->numcomps = (OPJ_UINT16) l_tmp; in opj_j2k_read_siz() 2122 if (l_image->numcomps != l_nb_comp) { in opj_j2k_read_siz() 2125 l_image->numcomps, l_nb_comp); in opj_j2k_read_siz() 2207 l_cp->exp_comps = l_image->numcomps; in opj_j2k_read_siz() 2212 l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, in opj_j2k_read_siz() 2215 l_image->numcomps = 0; in opj_j2k_read_siz() [all …]
|
D | tcd.c | 62 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); in tcd_dump() 63 for (compno = 0; compno < tile->numcomps; compno++) { in tcd_dump() 248 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer() 349 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer_fixed() 465 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_rateallocate() 658 p_image->numcomps, sizeof(opj_tcd_tilecomp_t)); in opj_tcd_init() 663 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; in opj_tcd_init() 799 for (compno = 0; compno < l_tile->numcomps; ++compno) { in opj_tcd_init_tile() 1334 for (i = 0; i < p_tcd->image->numcomps; ++i) { in opj_tcd_get_decoded_tile_size() 1408 OPJ_SIZE_T)p_cstr_info->numcomps * (OPJ_SIZE_T)p_cstr_info->numlayers * in opj_tcd_encode_tile() [all …]
|
D | 0015-read_SPCod_SPCoc_overflow.patch | 9 + if (compno >= p_j2k->m_private_image->numcomps) { 13 assert(compno < p_j2k->m_private_image->numcomps);
|
D | 0016-read_SQcd_SQcc_overflow.patch | 9 - assert(p_comp_no < p_j2k->m_private_image->numcomps); 10 + if (p_comp_no >= p_j2k->m_private_image->numcomps) {
|
D | jp2.c | 586 opj_read_bytes(p_image_header_data, &(jp2->numcomps), 2); /* NC */ in opj_jp2_read_ihdr() 589 if ((jp2->numcomps - 1U) >= in opj_jp2_read_ihdr() 597 jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps, in opj_jp2_read_ihdr() 661 opj_write_bytes(l_current_ihdr_ptr, jp2->numcomps, 2); /* NC */ in opj_jp2_write_ihdr() 695 l_bpcc_size = 8 + jp2->numcomps; in opj_jp2_write_bpcc() 711 for (i = 0; i < jp2->numcomps; ++i) { in opj_jp2_write_bpcc() 743 if (p_bpc_header_size != jp2->numcomps) { in opj_jp2_read_bpcc() 749 for (i = 0; i < jp2->numcomps; ++i) { in opj_jp2_read_bpcc() 899 … image->numcomps; /* FIXME image->numcomps == jp2->numcomps before color is applied ??? */ in opj_jp2_check_color() 948 if (cmap[i].cmp >= image->numcomps) { in opj_jp2_check_color() [all …]
|
D | pi.c | 351 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_rpcl() 487 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_pcrl() 795 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_encoding_parameters() 921 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_all_encoding_parameters() 1027 l_current_pi->comps = (opj_pi_comp_t*) opj_calloc(image->numcomps, in opj_pi_create() 1034 l_current_pi->numcomps = image->numcomps; in opj_pi_create() 1036 for (compno = 0; compno < image->numcomps; ++compno) { in opj_pi_create() 1264 l_current_pi->poc.compno1 = l_current_pi->numcomps; in opj_pi_update_decode_not_poc() 1366 OPJ_UINT32 numcomps = p_image->numcomps; in opj_pi_create_decode() local 1405 l_data_stride * numcomps * sizeof(OPJ_UINT32)); in opj_pi_create_decode() [all …]
|
D | jp2.h | 162 OPJ_UINT32 numcomps; member 347 OPJ_UINT32 numcomps,
|
D | 0014-opj_jp2_read_ihdr_leak.patch | 10 jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps,
|
D | pi.h | 101 OPJ_UINT32 numcomps; member
|
D | openjpeg.c | 250 OPJ_UINT32 numcomps, in opj_create_decompress() 338 OPJ_UINT32 numcomps, in opj_create_decompress() 443 OPJ_UINT32 numcomps, in opj_set_decoded_components() argument 464 numcomps, in opj_set_decoded_components()
|
D | openjpeg.h | 679 OPJ_UINT32 numcomps; member 837 int numcomps; member 1370 OPJ_UINT32 numcomps,
|
D | 0036-opj_j2k_update_image_dimensions.patch | 8 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) {
|
D | t1.c | 176 OPJ_UINT32 numcomps, 188 OPJ_UINT32 numcomps, 1415 OPJ_UINT32 numcomps, in opj_t1_getwmsedec() argument 1420 OPJ_ARG_NOT_USED(numcomps); in opj_t1_getwmsedec() 2116 for (compno = 0; compno < tile->numcomps; ++compno) { in opj_t1_encode_cblks() 2210 tile->numcomps, in opj_t1_encode_cblks() 2263 OPJ_UINT32 numcomps, in opj_t1_encode_cblk() argument 2344 stepsize, numcomps, mct_norms, mct_numcomps) ; in opj_t1_encode_cblk()
|
D | 0026-use_opj_uint_ceildiv.patch | 49 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) {
|
D | tcd.h | 231 OPJ_UINT32 numcomps; /* number of components in tile */ member
|
D | j2k.h | 725 OPJ_UINT32 numcomps,
|
D | t2.c | 244 l_image->numcomps : 1; in opj_t2_encode_packets() 431 first_pass_failed = (OPJ_BOOL*)opj_malloc(l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets() 436 memset(first_pass_failed, OPJ_TRUE, l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets()
|
/external/pdfium/core/fxcodec/jpx/ |
D | cjpx_decoder.cpp | 369 if (img->numcomps < 3) { in color_sycc_to_rgb() 466 if (m_Image->color_space != OPJ_CLRSPC_SYCC && m_Image->numcomps == 3 && in StartDecode() 470 } else if (m_Image->numcomps <= 2) { in StartDecode() 492 return {m_Image->x1, m_Image->y1, m_Image->numcomps}; in GetInfo() 499 if (pitch<(m_Image->comps[0].w * 8 * m_Image->numcomps + 31)>> 5 << 2) in Decode() 502 if (swap_rgb && m_Image->numcomps < 3) in Decode() 506 std::vector<uint8_t*> channel_bufs(m_Image->numcomps); in Decode() 507 std::vector<int> adjust_comps(m_Image->numcomps); in Decode() 508 for (uint32_t i = 0; i < m_Image->numcomps; i++) { in Decode() 524 for (uint32_t channel = 0; channel < m_Image->numcomps; ++channel) { in Decode() [all …]
|
D | jpx_unittest.cpp | 407 img.numcomps = 3; in TEST()
|
/external/ImageMagick/coders/ |
D | jp2.c | 397 for (i=0; i < (ssize_t) jp2_image->numcomps; i++) in ReadJP2Image() 417 if (jp2_image->numcomps == 1) in ReadJP2Image() 423 if (jp2_image->numcomps > 1) in ReadJP2Image() 429 if (jp2_image->numcomps > 3) in ReadJP2Image() 470 for (i=0; i < (ssize_t) jp2_image->numcomps; i++) in ReadJP2Image() 498 if (jp2_image->numcomps == 1) in ReadJP2Image() 512 if (jp2_image->numcomps == 2) in ReadJP2Image() 789 parameters->tcp_rates[0]=((float) (jp2_image->numcomps*jp2_image->comps[0].w* in CinemaProfileCompliance()
|