Home
last modified time | relevance | path

Searched refs:p_image (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
D0026-use_opj_uint_ceildiv.patch42 - 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);
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);
56 + l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy);
[all …]
D0025-opj_j2k_add_mct_null_data.patch5 @@ -5715,7 +5715,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, OPJ…
8 …l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps * p_image->numcom…
14 @@ -5734,7 +5734,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, OPJ…
17 l_data_size = MCT_ELEMENT_SIZE[l_offset_array->m_element_type] * p_image->numcomps;
Dopj_codec.h55 opj_image_t **p_image,
61 opj_image_t * p_image,
98 opj_image_t * p_image,
108 opj_image_t *p_image,
125 struct opj_image * p_image,
147 struct opj_image * p_image,
Dpi.c145 static void opj_get_encoding_parameters(const opj_image_t *p_image,
177 static void opj_get_all_encoding_parameters(const opj_image_t *p_image,
197 static opj_pi_iterator_t * opj_pi_create( const opj_image_t *p_image,
565 static void opj_get_encoding_parameters( const opj_image_t *p_image, in opj_get_encoding_parameters() argument
589 assert(p_image != 00); in opj_get_encoding_parameters()
594 l_img_comp = p_image->comps; in opj_get_encoding_parameters()
602 *p_tx0 = opj_int_max((OPJ_INT32)(p_cp->tx0 + p * p_cp->tdx), (OPJ_INT32)p_image->x0); in opj_get_encoding_parameters()
603 *p_tx1 = opj_int_min((OPJ_INT32)(p_cp->tx0 + (p + 1) * p_cp->tdx), (OPJ_INT32)p_image->x1); in opj_get_encoding_parameters()
604 *p_ty0 = opj_int_max((OPJ_INT32)(p_cp->ty0 + q * p_cp->tdy), (OPJ_INT32)p_image->y0); in opj_get_encoding_parameters()
605 *p_ty1 = opj_int_min((OPJ_INT32)(p_cp->ty0 + (q + 1) * p_cp->tdy), (OPJ_INT32)p_image->y1); in opj_get_encoding_parameters()
[all …]
Dopenjpeg.c233 opj_image_t *p_image, in opj_create_decompress()
309 opj_image_t *p_image, in opj_create_decompress()
379 opj_image_t **p_image ) in opj_read_header() argument
393 p_image, in opj_read_header()
402 opj_image_t* p_image) in opj_decode() argument
414 p_image, in opj_decode()
422 opj_image_t* p_image, in opj_set_decode_area() argument
435 p_image, in opj_set_decode_area()
500 opj_image_t *p_image, in opj_get_decoded_tile() argument
513 p_image, in opj_get_decoded_tile()
[all …]
Djp2.h257 opj_image_t* p_image,
299 opj_image_t * p_image,
333 opj_image_t ** p_image,
425 opj_image_t* p_image,
435 opj_image_t* p_image,
Djp2.c1495 opj_image_t* p_image, in opj_jp2_decode() argument
1498 if (!p_image) in opj_jp2_decode()
1502 if( ! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager) ) { in opj_jp2_decode()
1508 if (!opj_jp2_check_color(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1514 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_decode()
1516 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_decode()
1518 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_decode()
1520 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_decode()
1522 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_decode()
1524 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_decode()
[all …]
Dj2k.h653 opj_image_t** p_image,
728 opj_image_t* p_image,
799 opj_image_t *p_image,
805 opj_image_t* p_image,
849 opj_image_t * p_image,
860 OPJ_BOOL opj_j2k_setup_mct_encoding (opj_tcp_t * p_tcp, opj_image_t * p_image);
D0000-use-colorspace.patch10 + else if (p_image->pdfium_use_colorspace)
11 opj_jp2_apply_pclr(p_image, &(jp2->color));
Dj2k.c1049 static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, OPJ_UINT32 p_index);
5689 static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, OPJ_UINT32 p_index) in opj_j2k_add_mct() argument
5715 if (l_mcc_record->m_nb_comps != p_image->numcomps) { in opj_j2k_add_mct()
5723 …l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps * p_image->numcom… in opj_j2k_add_mct()
5728 l_nb_elem = p_image->numcomps * p_image->numcomps; in opj_j2k_add_mct()
5742 l_data_size = MCT_ELEMENT_SIZE[l_offset_array->m_element_type] * p_image->numcomps; in opj_j2k_add_mct()
5747 l_nb_elem = p_image->numcomps; in opj_j2k_add_mct()
5760 for (i=0;i<p_image->numcomps;++i) { in opj_j2k_add_mct()
6742 opj_image_t** p_image, in opj_j2k_read_header() argument
6784 *p_image = opj_image_create0(); in opj_j2k_read_header()
[all …]
Dopenjpeg.h1279 opj_image_t **p_image);
1294 opj_image_t* p_image,
1308 opj_image_t *p_image);
1322 opj_image_t *p_image,
1449 opj_image_t * p_image,
Dimage.h61 void opj_image_comp_header_update(opj_image_t * p_image, const struct opj_cp* p_cp);
Dt2.h121 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp);
D0002-packet-iterator.patch13 @@ -1236,7 +1237,13 @@ opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,
Dpi.h135 void opj_pi_update_encoding_parameters( const opj_image_t *p_image,
Dtcd.h256 opj_image_t * p_image,
Dtcd.c589 opj_image_t * p_image, in opj_tcd_init() argument
592 p_tcd->image = p_image; in opj_tcd_init()
600 …p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(p_image->numcomps,sizeof(opj_tc… in opj_tcd_init()
605 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; in opj_tcd_init()
Dt2.c500 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp) in opj_t2_create() argument
508 l_t2->image = p_image; in opj_t2_create()