Searched refs:l_img_comp (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/third_party/libopenjpeg20/ |
D | 0036-opj_j2k_update_image_dimensions.patch | 7 l_img_comp = p_image->comps; 11 l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 12 l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 13 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 14 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); 16 - l_w = opj_int_ceildivpow2(l_comp_x1, (OPJ_INT32)l_img_comp->factor) 17 - - opj_int_ceildivpow2((OPJ_INT32)l_img_comp->x0, (OPJ_INT32)l_img_comp->factor); 19 + OPJ_INT32 l_1 = opj_int_ceildivpow2(l_comp_x1, (OPJ_INT32)l_img_comp->factor); 20 + OPJ_INT32 l_2 = opj_int_ceildivpow2((OPJ_INT32)l_img_comp->x0, (OPJ_INT32)l_img_comp->fact… 29 - l_img_comp->w = (OPJ_UINT32)l_w; [all …]
|
D | 0026-use_opj_uint_ceildiv.patch | 52 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 53 - (OPJ_INT32)l_img_comp->dx); 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 55 - (OPJ_INT32)l_img_comp->dy); 56 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 57 + l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 58 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 59 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); 63 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor; 65 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, [all …]
|
D | image.c | 128 opj_image_comp_t* l_img_comp = NULL; in opj_image_comp_header_update() local 140 l_img_comp = p_image_header->comps; in opj_image_comp_header_update() 142 l_comp_x0 = opj_uint_ceildiv(l_x0, l_img_comp->dx); in opj_image_comp_header_update() 143 l_comp_y0 = opj_uint_ceildiv(l_y0, l_img_comp->dy); in opj_image_comp_header_update() 144 l_comp_x1 = opj_uint_ceildiv(l_x1, l_img_comp->dx); in opj_image_comp_header_update() 145 l_comp_y1 = opj_uint_ceildiv(l_y1, l_img_comp->dy); in opj_image_comp_header_update() 146 l_width = opj_uint_ceildivpow2(l_comp_x1 - l_comp_x0, l_img_comp->factor); in opj_image_comp_header_update() 147 l_height = opj_uint_ceildivpow2(l_comp_y1 - l_comp_y0, l_img_comp->factor); in opj_image_comp_header_update() 148 l_img_comp->w = l_width; in opj_image_comp_header_update() 149 l_img_comp->h = l_height; in opj_image_comp_header_update() [all …]
|
D | pi.c | 755 const opj_image_comp_t * l_img_comp = 00; in opj_get_encoding_parameters() local 770 l_img_comp = p_image->comps; in opj_get_encoding_parameters() 805 l_tcx0 = opj_int_ceildiv(*p_tx0, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters() 806 l_tcy0 = opj_int_ceildiv(*p_ty0, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters() 807 l_tcx1 = opj_int_ceildiv(*p_tx1, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters() 808 l_tcy1 = opj_int_ceildiv(*p_ty1, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters() 822 l_dx = l_img_comp->dx * (1u << (l_pdx + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters() 823 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters() 853 ++l_img_comp; in opj_get_encoding_parameters() 878 const opj_image_comp_t * l_img_comp = 00; in opj_get_all_encoding_parameters() local [all …]
|
D | tcd.c | 1325 opj_image_comp_t * l_img_comp = 00; in opj_tcd_get_decoded_tile_size() local 1332 l_img_comp = p_tcd->image->comps; in opj_tcd_get_decoded_tile_size() 1336 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_get_decoded_tile_size() 1337 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_get_decoded_tile_size() 1368 ++l_img_comp; in opj_tcd_get_decoded_tile_size() 1730 opj_image_comp_t * l_img_comp = 00; in opj_tcd_update_tile_data() local 1742 l_img_comp = p_tcd->image->comps; in opj_tcd_update_tile_data() 1746 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_update_tile_data() 1747 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_update_tile_data() 1748 l_res = l_tilec->resolutions + l_img_comp->resno_decoded; in opj_tcd_update_tile_data() [all …]
|
D | j2k.c | 377 opj_image_comp_t * l_img_comp, 1950 opj_image_comp_t * l_img_comp = 00; in opj_j2k_write_siz() local 1960 l_img_comp = l_image->comps; in opj_j2k_write_siz() 2018 opj_write_bytes(l_current_ptr, l_img_comp->prec - 1 + (l_img_comp->sgnd << 7), in opj_j2k_write_siz() 2022 opj_write_bytes(l_current_ptr, l_img_comp->dx, 1); /* XRsiz_i */ in opj_j2k_write_siz() 2025 opj_write_bytes(l_current_ptr, l_img_comp->dy, 1); /* YRsiz_i */ in opj_j2k_write_siz() 2028 ++l_img_comp; in opj_j2k_write_siz() 2062 opj_image_comp_t * l_img_comp = 00; in opj_j2k_read_siz() local 2221 l_img_comp = l_image->comps; in opj_j2k_read_siz() 2230 l_img_comp->prec = (tmp & 0x7f) + 1; in opj_j2k_read_siz() [all …]
|
D | t2.c | 397 opj_image_comp_t* l_img_comp = 00; in opj_t2_decode_packets() local 498 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets() 499 l_img_comp->resno_decoded = opj_uint_max(l_current_pi->resno, in opj_t2_decode_packets() 500 l_img_comp->resno_decoded); in opj_t2_decode_packets() 512 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets() 513 if (l_img_comp->resno_decoded == 0) { in opj_t2_decode_packets() 514 l_img_comp->resno_decoded = in opj_t2_decode_packets()
|