Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dimage.c123 const struct opj_cp * p_cp) in opj_image_comp_header_update() argument
130 l_x0 = opj_uint_max(p_cp->tx0, p_image_header->x0); in opj_image_comp_header_update()
131 l_y0 = opj_uint_max(p_cp->ty0, p_image_header->y0); in opj_image_comp_header_update()
132 l_x1 = p_cp->tx0 + (p_cp->tw - 1U) * in opj_image_comp_header_update()
133p_cp->tdx; /* validity of p_cp members used here checked in opj_j2k_read_siz. Can't overflow. */ in opj_image_comp_header_update()
134 l_y1 = p_cp->ty0 + (p_cp->th - 1U) * p_cp->tdy; /* can't overflow */ in opj_image_comp_header_update()
135 l_x1 = opj_uint_min(opj_uint_adds(l_x1, p_cp->tdx), in opj_image_comp_header_update()
137 l_y1 = opj_uint_min(opj_uint_adds(l_y1, p_cp->tdy), in opj_image_comp_header_update()
Dpi.c92 static void opj_pi_update_encode_poc_and_final(opj_cp_t *p_cp,
118 static void opj_pi_update_encode_not_poc(opj_cp_t *p_cp,
145 const opj_cp_t *p_cp,
177 const opj_cp_t *p_cp,
197 const opj_cp_t *p_cp,
739 const opj_cp_t *p_cp, in opj_get_encoding_parameters() argument
764 assert(p_cp != 00); in opj_get_encoding_parameters()
766 assert(p_tileno < p_cp->tw * p_cp->th); in opj_get_encoding_parameters()
769 l_tcp = &p_cp->tcps [p_tileno]; in opj_get_encoding_parameters()
774 p = p_tileno % p_cp->tw; in opj_get_encoding_parameters()
[all …]
Dimage.h62 const struct opj_cp* p_cp);
Dt2.h127 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp);
Dpi.h138 opj_cp_t *p_cp,
Dj2k.c219 static void opj_j2k_cp_destroy(opj_cp_t *p_cp);
794 static OPJ_BOOL opj_j2k_merge_ppm(opj_cp_t *p_cp, opj_event_mgr_t * p_manager);
3863 static OPJ_BOOL opj_j2k_merge_ppm(opj_cp_t *p_cp, opj_event_mgr_t * p_manager) in opj_j2k_merge_ppm() argument
3868 assert(p_cp != 00); in opj_j2k_merge_ppm()
3870 assert(p_cp->ppm_buffer == NULL); in opj_j2k_merge_ppm()
3872 if (p_cp->ppm == 0U) { in opj_j2k_merge_ppm()
3878 for (i = 0U; i < p_cp->ppm_markers_count; ++i) { in opj_j2k_merge_ppm()
3879 if (p_cp->ppm_markers[i].m_data != in opj_j2k_merge_ppm()
3882 OPJ_UINT32 l_data_size = p_cp->ppm_markers[i].m_data_size; in opj_j2k_merge_ppm()
3883 const OPJ_BYTE* l_data = p_cp->ppm_markers[i].m_data; in opj_j2k_merge_ppm()
[all …]
Dtcd.h320 opj_cp_t * p_cp,
Dt2.c580 opj_t2_t* opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp) in opj_t2_create() argument
589 l_t2->cp = p_cp; in opj_t2_create()
Dtcd.c645 opj_cp_t * p_cp, in opj_tcd_init() argument
649 p_tcd->cp = p_cp; in opj_tcd_init()
664 p_tcd->tp_pos = p_cp->m_specific_param.m_enc.m_tp_pos; in opj_tcd_init()