Searched refs:l_img_comp (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/third_party/libopenjpeg20/ |
D | 0026-use_opj_uint_ceildiv.patch | 42 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, (OPJ_INT32)l_… 43 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, (OPJ_INT32)l_… 44 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 45 + l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 46 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 47 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); 51 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor; 53 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, (OPJ_INT32)l_… 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, (OPJ_INT32)l_… 55 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); [all …]
|
D | 0028-upstream-check-size-in-opj_j2k_read_siz.patch | 6 if( l_img_comp->dx < 1 || l_img_comp->dx > 255 || 7 l_img_comp->dy < 1 || l_img_comp->dy > 255 ) { 11 i, l_img_comp->dx, l_img_comp->dy); 14 + if( l_img_comp->prec > 38) { /* TODO openjpeg won't handle more than ? */ 17 + i, l_img_comp->prec);
|
D | image.c | 114 opj_image_comp_t* l_img_comp = NULL; in opj_image_comp_header_update() local 123 l_img_comp = p_image_header->comps; in opj_image_comp_header_update() 125 l_comp_x0 = opj_uint_ceildiv(l_x0, l_img_comp->dx); in opj_image_comp_header_update() 126 l_comp_y0 = opj_uint_ceildiv(l_y0, l_img_comp->dy); in opj_image_comp_header_update() 127 l_comp_x1 = opj_uint_ceildiv(l_x1, l_img_comp->dx); in opj_image_comp_header_update() 128 l_comp_y1 = opj_uint_ceildiv(l_y1, l_img_comp->dy); in opj_image_comp_header_update() 129 l_width = opj_uint_ceildivpow2(l_comp_x1 - l_comp_x0, l_img_comp->factor); in opj_image_comp_header_update() 130 l_height = opj_uint_ceildivpow2(l_comp_y1 - l_comp_y0, l_img_comp->factor); in opj_image_comp_header_update() 131 l_img_comp->w = l_width; in opj_image_comp_header_update() 132 l_img_comp->h = l_height; in opj_image_comp_header_update() [all …]
|
D | tcd.c | 1163 opj_image_comp_t * l_img_comp = 00; in opj_tcd_get_decoded_tile_size() local 1170 l_img_comp = p_tcd->image->comps; in opj_tcd_get_decoded_tile_size() 1173 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_get_decoded_tile_size() 1174 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_get_decoded_tile_size() 1197 ++l_img_comp; in opj_tcd_get_decoded_tile_size() 1384 opj_image_comp_t * l_img_comp = 00; in opj_tcd_update_tile_data() local 1396 l_img_comp = p_tcd->image->comps; in opj_tcd_update_tile_data() 1399 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_update_tile_data() 1400 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_update_tile_data() 1401 l_res = l_tilec->resolutions + l_img_comp->resno_decoded; in opj_tcd_update_tile_data() [all …]
|
D | pi.c | 582 const opj_image_comp_t * l_img_comp = 00; in opj_get_encoding_parameters() local 594 l_img_comp = p_image->comps; in opj_get_encoding_parameters() 625 l_tcx0 = opj_int_ceildiv(*p_tx0, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters() 626 l_tcy0 = opj_int_ceildiv(*p_ty0, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters() 627 l_tcx1 = opj_int_ceildiv(*p_tx1, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters() 628 l_tcy1 = opj_int_ceildiv(*p_ty1, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters() 642 l_dx = l_img_comp->dx * (1u << (l_pdx + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters() 643 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters() 673 ++l_img_comp; in opj_get_encoding_parameters() 698 const opj_image_comp_t * l_img_comp = 00; in opj_get_all_encoding_parameters() local [all …]
|
D | j2k.c | 343 opj_image_comp_t * l_img_comp, 1861 opj_image_comp_t * l_img_comp = 00; in opj_j2k_write_siz() local 1871 l_img_comp = l_image->comps; in opj_j2k_write_siz() 1928 …opj_write_bytes(l_current_ptr, l_img_comp->prec - 1 + (l_img_comp->sgnd << 7), 1); /* Ssiz_i … in opj_j2k_write_siz() 1931 opj_write_bytes(l_current_ptr, l_img_comp->dx, 1); /* XRsiz_i */ in opj_j2k_write_siz() 1934 opj_write_bytes(l_current_ptr, l_img_comp->dy, 1); /* YRsiz_i */ in opj_j2k_write_siz() 1937 ++l_img_comp; in opj_j2k_write_siz() 1968 opj_image_comp_t * l_img_comp = 00; in opj_j2k_read_siz() local 2102 l_img_comp = l_image->comps; in opj_j2k_read_siz() 2109 l_img_comp->prec = (tmp & 0x7f) + 1; in opj_j2k_read_siz() [all …]
|
D | 0018-tcd_get_decoded_tile_size.patch | 40 l_img_comp = p_tcd->image->comps; 58 ++l_img_comp;
|
D | t2.c | 370 opj_image_comp_t* l_img_comp = 00; in opj_t2_decode_packets() local 428 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets() 429 … l_img_comp->resno_decoded = opj_uint_max(l_current_pi->resno, l_img_comp->resno_decoded); in opj_t2_decode_packets() 441 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets() 442 if (l_img_comp->resno_decoded == 0) in opj_t2_decode_packets() 443 … l_img_comp->resno_decoded = p_tile->comps[l_current_pi->compno].minimum_num_resolutions - 1; in opj_t2_decode_packets()
|