Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dimage.c112 opj_image_comp_t* l_img_comp = NULL; in opj_image_comp_header_update() local
119 l_img_comp = p_image_header->comps; in opj_image_comp_header_update()
121 l_comp_x0 = opj_int_ceildiv(l_x0, (OPJ_INT32)l_img_comp->dx); in opj_image_comp_header_update()
122 l_comp_y0 = opj_int_ceildiv(l_y0, (OPJ_INT32)l_img_comp->dy); in opj_image_comp_header_update()
123 l_comp_x1 = opj_int_ceildiv(l_x1, (OPJ_INT32)l_img_comp->dx); in opj_image_comp_header_update()
124 l_comp_y1 = opj_int_ceildiv(l_y1, (OPJ_INT32)l_img_comp->dy); in opj_image_comp_header_update()
125 l_width = (OPJ_UINT32)opj_int_ceildivpow2(l_comp_x1 - l_comp_x0, (OPJ_INT32)l_img_comp->factor); in opj_image_comp_header_update()
126 l_height = (OPJ_UINT32)opj_int_ceildivpow2(l_comp_y1 - l_comp_y0, (OPJ_INT32)l_img_comp->factor); in opj_image_comp_header_update()
127 l_img_comp->w = l_width; in opj_image_comp_header_update()
128 l_img_comp->h = l_height; in opj_image_comp_header_update()
[all …]
Dtcd.c1148 opj_image_comp_t * l_img_comp = 00; in opj_tcd_get_decoded_tile_size() local
1154 l_img_comp = p_tcd->image->comps; in opj_tcd_get_decoded_tile_size()
1157 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_get_decoded_tile_size()
1158 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_get_decoded_tile_size()
1170 ++l_img_comp; in opj_tcd_get_decoded_tile_size()
1356 opj_image_comp_t * l_img_comp = 00; in opj_tcd_update_tile_data() local
1368 l_img_comp = p_tcd->image->comps; in opj_tcd_update_tile_data()
1371 l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/ in opj_tcd_update_tile_data()
1372 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_tcd_update_tile_data()
1373 l_res = l_tilec->resolutions + l_img_comp->resno_decoded; in opj_tcd_update_tile_data()
[all …]
Dpi.c572 const opj_image_comp_t * l_img_comp = 00; in opj_get_encoding_parameters() local
584 l_img_comp = p_image->comps; in opj_get_encoding_parameters()
615 l_tcx0 = opj_int_ceildiv(*p_tx0, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters()
616 l_tcy0 = opj_int_ceildiv(*p_ty0, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters()
617 l_tcx1 = opj_int_ceildiv(*p_tx1, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters()
618 l_tcy1 = opj_int_ceildiv(*p_ty1, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters()
632 l_dx = l_img_comp->dx * (1u << (l_pdx + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
633 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
663 ++l_img_comp; in opj_get_encoding_parameters()
688 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,
1818 opj_image_comp_t * l_img_comp = 00; in opj_j2k_write_siz() local
1828 l_img_comp = l_image->comps; in opj_j2k_write_siz()
1885 …opj_write_bytes(l_current_ptr, l_img_comp->prec - 1 + (l_img_comp->sgnd << 7), 1); /* Ssiz_i … in opj_j2k_write_siz()
1888 opj_write_bytes(l_current_ptr, l_img_comp->dx, 1); /* XRsiz_i */ in opj_j2k_write_siz()
1891 opj_write_bytes(l_current_ptr, l_img_comp->dy, 1); /* YRsiz_i */ in opj_j2k_write_siz()
1894 ++l_img_comp; in opj_j2k_write_siz()
1925 opj_image_comp_t * l_img_comp = 00; in opj_j2k_read_siz() local
2065 l_img_comp = l_image->comps; in opj_j2k_read_siz()
2072 l_img_comp->prec = (tmp & 0x7f) + 1; in opj_j2k_read_siz()
[all …]
Dt2.c364 opj_image_comp_t* l_img_comp = 00; in opj_t2_decode_packets() local
422 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets()
423l_img_comp->resno_decoded = opj_uint_max(l_current_pi->resno, l_img_comp->resno_decoded); in opj_t2_decode_packets()
435 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets()
436 if (l_img_comp->resno_decoded == 0) in opj_t2_decode_packets()
437l_img_comp->resno_decoded = p_tile->comps[l_current_pi->compno].minimum_num_resolutions - 1; in opj_t2_decode_packets()