Home
last modified time | relevance | path

Searched refs:opj_uint_min (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dimage.c120 …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.c332 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_rpcl()
333 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_rpcl()
419 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_pcrl()
420 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_pcrl()
434 …for (pi->resno = pi->poc.resno0; pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); p… in opj_pi_next_pcrl()
505 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_cprl()
506 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_cprl()
516 …for (pi->resno = pi->poc.resno0; pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); p… in opj_pi_next_cprl()
646 *p_dx_min = opj_uint_min(*p_dx_min, l_dx); in opj_get_encoding_parameters()
647 *p_dy_min = opj_uint_min(*p_dy_min, l_dy); in opj_get_encoding_parameters()
[all …]
Dopj_intmath.h64 static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b) { in opj_uint_min() function
Dtcd.c490 …OPJ_UINT32 maxlen = tcd_tcp->rates[layno] ? opj_uint_min(((OPJ_UINT32) ceil(tcd_tcp->rates[layno])… in opj_tcd_rateallocate()
708 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), l_image->x1); in opj_tcd_init_tile()
711 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), l_image->y1); in opj_tcd_init_tile()
846 cblkwidthexpn = opj_uint_min(l_tccp->cblkw, cbgwidthexpn); in opj_tcd_init_tile()
847 cblkheightexpn = opj_uint_min(l_tccp->cblkh, cbgheightexpn); in opj_tcd_init_tile()
Dj2k.c3262 l_current_poc->layno1 = opj_uint_min(l_current_poc->layno1, l_tcp->numlayers); in opj_j2k_read_poc()
3272 l_current_poc->compno1 = opj_uint_min(l_current_poc->compno1, l_nb_comp); in opj_j2k_read_poc()