Home
last modified time | relevance | path

Searched refs:p_cp (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dimage.c109 void opj_image_comp_header_update(opj_image_t * p_image_header, const struct opj_cp * p_cp) in opj_image_comp_header_update() argument
116 l_x0 = opj_uint_max(p_cp->tx0 , p_image_header->x0); in opj_image_comp_header_update()
117 l_y0 = opj_uint_max(p_cp->ty0 , p_image_header->y0); in opj_image_comp_header_update()
118 …l_x1 = p_cp->tx0 + (p_cp->tw - 1U) * p_cp->tdx; /* validity of p_cp members used here checked in o… in opj_image_comp_header_update()
119 l_y1 = p_cp->ty0 + (p_cp->th - 1U) * p_cp->tdy; /* can't overflow */ in opj_image_comp_header_update()
120 …l_x1 = opj_uint_min(opj_uint_adds(l_x1, p_cp->tdx), p_image_header->x1); /* use add saturated to p… in opj_image_comp_header_update()
121 …l_y1 = opj_uint_min(opj_uint_adds(l_y1, p_cp->tdy), p_image_header->y1); /* use add saturated to p… in opj_image_comp_header_update()
Dpi.c93 static void opj_pi_update_encode_poc_and_final ( opj_cp_t *p_cp,
119 static void opj_pi_update_encode_not_poc ( opj_cp_t *p_cp,
146 const opj_cp_t *p_cp,
178 const opj_cp_t *p_cp,
198 const opj_cp_t *p_cp,
566 const opj_cp_t *p_cp, in opj_get_encoding_parameters() argument
588 assert(p_cp != 00); in opj_get_encoding_parameters()
590 assert(p_tileno < p_cp->tw * p_cp->th); in opj_get_encoding_parameters()
593 l_tcp = &p_cp->tcps [p_tileno]; in opj_get_encoding_parameters()
598 p = p_tileno % p_cp->tw; in opj_get_encoding_parameters()
[all …]
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);
Dj2k.c213 static void opj_j2k_cp_destroy (opj_cp_t *p_cp);
742 static OPJ_BOOL opj_j2k_merge_ppm ( opj_cp_t *p_cp, opj_event_mgr_t * p_manager );
3583 static OPJ_BOOL opj_j2k_merge_ppm ( opj_cp_t *p_cp, opj_event_mgr_t * p_manager ) in opj_j2k_merge_ppm() argument
3588 assert(p_cp != 00); in opj_j2k_merge_ppm()
3590 assert(p_cp->ppm_buffer == NULL); in opj_j2k_merge_ppm()
3592 if (p_cp->ppm == 0U) { in opj_j2k_merge_ppm()
3598 for (i = 0U; i < p_cp->ppm_markers_count; ++i) { in opj_j2k_merge_ppm()
3599 if (p_cp->ppm_markers[i].m_data != NULL) { /* standard doesn't seem to require contiguous Zppm */ in opj_j2k_merge_ppm()
3601 OPJ_UINT32 l_data_size = p_cp->ppm_markers[i].m_data_size; in opj_j2k_merge_ppm()
3602 const OPJ_BYTE* l_data = p_cp->ppm_markers[i].m_data; in opj_j2k_merge_ppm()
[all …]
Dpi.h136 opj_cp_t *p_cp,
Dtcd.h257 opj_cp_t * p_cp );
Dt2.c500 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp) in opj_t2_create() argument
509 l_t2->cp = p_cp; in opj_t2_create()
Dtcd.c590 opj_cp_t * p_cp ) in opj_tcd_init() argument
593 p_tcd->cp = p_cp; in opj_tcd_init()
606 p_tcd->tp_pos = p_cp->m_specific_param.m_enc.m_tp_pos; in opj_tcd_init()