Home
last modified time | relevance | path

Searched refs:l_img_comp (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dimage.c114 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 …]
Dtcd.c1142 opj_image_comp_t * l_img_comp = 00; in opj_tcd_get_decoded_tile_size() local
1148 l_img_comp = p_tcd->image->comps; in opj_tcd_get_decoded_tile_size()
1151 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_get_decoded_tile_size()
1152 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_get_decoded_tile_size()
1164 ++l_img_comp; in opj_tcd_get_decoded_tile_size()
1351 opj_image_comp_t * l_img_comp = 00; in opj_tcd_update_tile_data() local
1363 l_img_comp = p_tcd->image->comps; in opj_tcd_update_tile_data()
1366 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_update_tile_data()
1367 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_update_tile_data()
1368 l_res = l_tilec->resolutions + l_img_comp->resno_decoded; in opj_tcd_update_tile_data()
[all …]
Dpi.c582 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 …]
Dj2k.c343 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 …]
Dt2.c370 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()
429l_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()
443l_img_comp->resno_decoded = p_tile->comps[l_current_pi->compno].minimum_num_resolutions - 1; in opj_t2_decode_packets()