/external/pdfium/third_party/libopenjpeg20/ |
D | 0026-use_opj_uint_ceildiv.patch | 49 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 52 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 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); 65 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 67 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 69 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); [all …]
|
D | 0025-opj_j2k_add_mct_null_data.patch | 5 @@ -6201,7 +6201,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 7 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps 8 * p_image->numcomps; 14 @@ -6222,7 +6222,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 17 p_image->numcomps;
|
D | 0036-opj_j2k_update_image_dimensions.patch | 5 @@ -9223,32 +9223,30 @@ static OPJ_BOOL opj_j2k_update_image_dimensions(opj_image_t* p_image, 7 l_img_comp = p_image->comps; 8 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 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);
|
D | opj_codec.h | 52 opj_image_t **p_image, 58 opj_image_t * p_image, 95 opj_image_t * p_image, 105 opj_image_t *p_image, 127 struct opj_image * p_image, 149 struct opj_image * p_image,
|
D | openjpeg.c | 239 opj_image_t *p_image, in opj_create_decompress() 327 opj_image_t *p_image, in opj_create_decompress() 420 opj_image_t **p_image) in opj_read_header() argument 434 p_image, in opj_read_header() 473 opj_image_t* p_image) in opj_decode() argument 485 p_image, in opj_decode() 493 opj_image_t* p_image, in opj_set_decode_area() argument 507 p_image, in opj_set_decode_area() 574 opj_image_t *p_image, in opj_get_decoded_tile() argument 588 p_image, in opj_get_decoded_tile() [all …]
|
D | jp2.h | 257 opj_image_t* p_image, 299 opj_image_t * p_image, 333 opj_image_t ** p_image, 440 opj_image_t* p_image, 450 opj_image_t* p_image,
|
D | pi.c | 144 static void opj_get_encoding_parameters(const opj_image_t *p_image, 176 static void opj_get_all_encoding_parameters(const opj_image_t *p_image, 196 static opj_pi_iterator_t * opj_pi_create(const opj_image_t *p_image, 738 static void opj_get_encoding_parameters(const opj_image_t *p_image, in opj_get_encoding_parameters() argument 765 assert(p_image != 00); in opj_get_encoding_parameters() 770 l_img_comp = p_image->comps; in opj_get_encoding_parameters() 780 *p_tx0 = (OPJ_INT32)opj_uint_max(l_tx0, p_image->x0); in opj_get_encoding_parameters() 781 *p_tx1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, p_cp->tdx), p_image->x1); in opj_get_encoding_parameters() 784 *p_ty0 = (OPJ_INT32)opj_uint_max(l_ty0, p_image->y0); in opj_get_encoding_parameters() 785 *p_ty1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, p_cp->tdy), p_image->y1); in opj_get_encoding_parameters() [all …]
|
D | j2k.h | 653 opj_image_t** p_image, 743 opj_image_t* p_image, 816 opj_image_t *p_image, 822 opj_image_t* p_image, 866 opj_image_t * p_image, 877 OPJ_BOOL opj_j2k_setup_mct_encoding(opj_tcp_t * p_tcp, opj_image_t * p_image);
|
D | jp2.c | 1610 opj_image_t* p_image, in opj_jp2_decode() argument 1613 if (!p_image) { in opj_jp2_decode() 1618 if (! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager)) { in opj_jp2_decode() 1630 if (!opj_jp2_check_color(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode() 1636 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_decode() 1638 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_decode() 1640 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_decode() 1642 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_decode() 1644 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_decode() 1646 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_decode() [all …]
|
D | j2k.c | 1108 static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 6204 static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, in opj_j2k_add_mct() argument 6231 if (l_mcc_record->m_nb_comps != p_image->numcomps) { in opj_j2k_add_mct() 6239 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps in opj_j2k_add_mct() 6240 * p_image->numcomps; in opj_j2k_add_mct() 6245 l_nb_elem = p_image->numcomps * p_image->numcomps; in opj_j2k_add_mct() 6261 p_image->numcomps; in opj_j2k_add_mct() 6266 l_nb_elem = p_image->numcomps; in opj_j2k_add_mct() 6280 for (i = 0; i < p_image->numcomps; ++i) { in opj_j2k_add_mct() 7491 opj_image_t** p_image, in opj_j2k_read_header() argument [all …]
|
D | image.h | 61 void opj_image_comp_header_update(opj_image_t * p_image,
|
D | openjpeg.h | 1341 opj_image_t **p_image); 1397 opj_image_t* p_image, 1411 opj_image_t *p_image); 1425 opj_image_t *p_image, 1556 opj_image_t * p_image,
|
D | t2.h | 127 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp);
|
D | pi.h | 137 void opj_pi_update_encoding_parameters(const opj_image_t *p_image,
|
D | tcd.h | 319 opj_image_t * p_image,
|
D | t2.c | 580 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp) in opj_t2_create() argument 588 l_t2->image = p_image; in opj_t2_create()
|
D | tcd.c | 644 opj_image_t * p_image, in opj_tcd_init() argument 648 p_tcd->image = p_image; in opj_tcd_init() 658 p_image->numcomps, sizeof(opj_tcd_tilecomp_t)); in opj_tcd_init() 663 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; in opj_tcd_init()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_wayland.c | 969 __DRIimage *p_image; in create_wl_buffer() local 973 p_image = dri2_dpy->image->fromPlanar(image, i, NULL); in create_wl_buffer() 974 if (!p_image) { in create_wl_buffer() 976 p_image = image; in create_wl_buffer() 979 query = dri2_dpy->image->queryImage(p_image, in create_wl_buffer() 982 query &= dri2_dpy->image->queryImage(p_image, in create_wl_buffer() 985 query &= dri2_dpy->image->queryImage(p_image, in create_wl_buffer() 988 if (image != p_image) in create_wl_buffer() 989 dri2_dpy->image->destroyImage(p_image); in create_wl_buffer()
|