Home
last modified time | relevance | path

Searched refs:l_image (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
D0026-use_opj_uint_ceildiv.patch9 - l_cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->x1 - l_cp->tx0),
11 - l_cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->y1 - l_cp->ty0),
13 + l_cp->tw = opj_uint_ceildiv(l_image->x1 - l_cp->tx0, l_cp->tdx);
14 + l_cp->th = opj_uint_ceildiv(l_image->y1 - l_cp->ty0, l_cp->tdy);
74 @@ -11161,10 +11151,8 @@ static void opj_get_tile_dimensions(opj_image_t * l_image,
78 - *l_offset_x = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)l_image->x0,
80 - *l_offset_y = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)l_image->y0,
82 + *l_offset_x = opj_uint_ceildiv(l_image->x0, l_img_comp->dx);
83 + *l_offset_y = opj_uint_ceildiv(l_image->y0, l_img_comp->dy);
84 *l_image_width = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)l_image->x1 -
[all …]
Dj2k.c375 static void opj_get_tile_dimensions(opj_image_t * l_image,
1948 opj_image_t * l_image = 00; in opj_j2k_write_siz() local
1957 l_image = p_j2k->m_private_image; in opj_j2k_write_siz()
1959 l_size_len = 40 + 3 * l_image->numcomps; in opj_j2k_write_siz()
1960 l_img_comp = l_image->comps; in opj_j2k_write_siz()
1989 opj_write_bytes(l_current_ptr, l_image->x1, 4); /* Xsiz */ in opj_j2k_write_siz()
1992 opj_write_bytes(l_current_ptr, l_image->y1, 4); /* Ysiz */ in opj_j2k_write_siz()
1995 opj_write_bytes(l_current_ptr, l_image->x0, 4); /* X0siz */ in opj_j2k_write_siz()
1998 opj_write_bytes(l_current_ptr, l_image->y0, 4); /* Y0siz */ in opj_j2k_write_siz()
2013 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */ in opj_j2k_write_siz()
[all …]
Dt2.c239 opj_image_t *l_image = p_t2->image; in opj_t2_encode_packets() local
244 l_image->numcomps : 1; in opj_t2_encode_packets()
247 l_pi = opj_pi_initialise_encode(l_image, l_cp, p_tile_no, p_t2_mode); in opj_t2_encode_packets()
386 opj_image_t *l_image = p_t2->image; in opj_t2_decode_packets() local
408 l_pi = opj_pi_create_decode(l_image, l_cp, p_tile_no); in opj_t2_decode_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()
498 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets()
512 l_img_comp = &(l_image->comps[l_current_pi->compno]); in opj_t2_decode_packets()
Dtcd.c736 opj_image_t *l_image = 00; in opj_tcd_init_tile() local
761 l_image = p_tcd->image; in opj_tcd_init_tile()
771 l_tile->x0 = (OPJ_INT32)opj_uint_max(l_tx0, l_image->x0); in opj_tcd_init_tile()
773 l_image->x1); in opj_tcd_init_tile()
781 l_tile->y0 = (OPJ_INT32)opj_uint_max(l_ty0, l_image->y0); in opj_tcd_init_tile()
783 l_image->y1); in opj_tcd_init_tile()