Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Ddwt.c1875 *end = opj_uint_min(*end, max_size); in opj_dwt_segment_grow()
1888 w, h, opj_uint_min(w, 64), opj_uint_min(h, 64)); in opj_dwt_init_sparse_array()
2075 win_tr_x0 = opj_uint_min(2 * win_ll_x0, 2 * win_hl_x0 + 1); in opj_dwt_decode_partial_tile()
2076 win_tr_x1 = opj_uint_min(opj_uint_max(2 * win_ll_x1, 2 * win_hl_x1 + 1), rw); in opj_dwt_decode_partial_tile()
2078 win_tr_x0 = opj_uint_min(2 * win_hl_x0, 2 * win_ll_x0 + 1); in opj_dwt_decode_partial_tile()
2079 win_tr_x1 = opj_uint_min(opj_uint_max(2 * win_hl_x1, 2 * win_ll_x1 + 1), rw); in opj_dwt_decode_partial_tile()
2083 win_tr_y0 = opj_uint_min(2 * win_ll_y0, 2 * win_lh_y0 + 1); in opj_dwt_decode_partial_tile()
2084 win_tr_y1 = opj_uint_min(opj_uint_max(2 * win_ll_y1, 2 * win_lh_y1 + 1), rh); in opj_dwt_decode_partial_tile()
2086 win_tr_y0 = opj_uint_min(2 * win_lh_y0, 2 * win_ll_y0 + 1); in opj_dwt_decode_partial_tile()
2087 win_tr_y1 = opj_uint_min(opj_uint_max(2 * win_lh_y1, 2 * win_ll_y1 + 1), rh); in opj_dwt_decode_partial_tile()
[all …]
Dpi.c359 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_rpcl()
364 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_rpcl()
495 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_pcrl()
500 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_pcrl()
521 … pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); pi->resno++) { in opj_pi_next_pcrl()
631 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_cprl()
636 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_cprl()
653 … pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); pi->resno++) { in opj_pi_next_cprl()
823 *p_dx_min = opj_uint_min(*p_dx_min, l_dx); in opj_get_encoding_parameters()
824 *p_dy_min = opj_uint_min(*p_dy_min, l_dy); in opj_get_encoding_parameters()
[all …]
Dimage.c135 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()
Dsparse_array.c133 y_incr = opj_uint_min(y_incr, y1 - y); in opj_sparse_array_int32_read_or_write()
141 x_incr = opj_uint_min(x_incr, x1 - x); in opj_sparse_array_int32_read_or_write()
Dtcd.c542 OPJ_UINT32 maxlen = tcd_tcp->rates[layno] > 0.0f ? opj_uint_min((( in opj_tcd_rateallocate()
772 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), in opj_tcd_init_tile()
782 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), in opj_tcd_init_tile()
954 cblkwidthexpn = opj_uint_min(l_tccp->cblkw, cbgwidthexpn); in opj_tcd_init_tile()
955 cblkheightexpn = opj_uint_min(l_tccp->cblkh, cbgheightexpn); in opj_tcd_init_tile()
1562 tilec->win_x1 = opj_uint_min( in opj_tcd_decode_tile()
1565 tilec->win_y1 = opj_uint_min( in opj_tcd_decode_tile()
2717 OPJ_UINT32 tcx1 = opj_uint_min( in opj_tcd_is_subband_area_of_interest()
2720 OPJ_UINT32 tcy1 = opj_uint_min( in opj_tcd_is_subband_area_of_interest()
2790 OPJ_UINT32 tcx1 = opj_uint_min( in opj_tcd_is_whole_tilecomp_decoding()
[all …]
Dopj_intmath.h65 static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_min() function
Dj2k.c3520 l_current_poc->layno1 = opj_uint_min(l_current_poc->layno1, l_tcp->numlayers); in opj_j2k_read_poc()
3533 l_current_poc->compno1 = opj_uint_min(l_current_poc->compno1, l_nb_comp); in opj_j2k_read_poc()