Lines Matching refs:opj_uint_min
1873 *end = opj_uint_min(*end, max_size); in opj_dwt_segment_grow()
1886 w, h, opj_uint_min(w, 64), opj_uint_min(h, 64)); in opj_dwt_init_sparse_array()
2073 win_tr_x0 = opj_uint_min(2 * win_ll_x0, 2 * win_hl_x0 + 1); in opj_dwt_decode_partial_tile()
2074 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()
2076 win_tr_x0 = opj_uint_min(2 * win_hl_x0, 2 * win_ll_x0 + 1); in opj_dwt_decode_partial_tile()
2077 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()
2081 win_tr_y0 = opj_uint_min(2 * win_ll_y0, 2 * win_lh_y0 + 1); in opj_dwt_decode_partial_tile()
2082 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()
2084 win_tr_y0 = opj_uint_min(2 * win_lh_y0, 2 * win_ll_y0 + 1); in opj_dwt_decode_partial_tile()
2085 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()
2132 OPJ_UINT32 nb_cols = opj_uint_min(4U, win_tr_x1 - i); in opj_dwt_decode_partial_tile()
2338 OPJ_UINT32 imax = opj_uint_min(end, m); in opj_v4dwt_decode_step2_sse()
2413 OPJ_UINT32 imax = opj_uint_min(end, m); in opj_v4dwt_decode_step2()
2794 win_tr_x0 = opj_uint_min(2 * win_ll_x0, 2 * win_hl_x0 + 1); in opj_dwt_decode_partial_97()
2795 win_tr_x1 = opj_uint_min(opj_uint_max(2 * win_ll_x1, 2 * win_hl_x1 + 1), rw); in opj_dwt_decode_partial_97()
2797 win_tr_x0 = opj_uint_min(2 * win_hl_x0, 2 * win_ll_x0 + 1); in opj_dwt_decode_partial_97()
2798 win_tr_x1 = opj_uint_min(opj_uint_max(2 * win_hl_x1, 2 * win_ll_x1 + 1), rw); in opj_dwt_decode_partial_97()
2802 win_tr_y0 = opj_uint_min(2 * win_ll_y0, 2 * win_lh_y0 + 1); in opj_dwt_decode_partial_97()
2803 win_tr_y1 = opj_uint_min(opj_uint_max(2 * win_ll_y1, 2 * win_lh_y1 + 1), rh); in opj_dwt_decode_partial_97()
2805 win_tr_y0 = opj_uint_min(2 * win_lh_y0, 2 * win_ll_y0 + 1); in opj_dwt_decode_partial_97()
2806 win_tr_y1 = opj_uint_min(opj_uint_max(2 * win_lh_y1, 2 * win_ll_y1 + 1), rh); in opj_dwt_decode_partial_97()
2817 opj_v4dwt_interleave_partial_h(&h, sa, j, opj_uint_min(4U, rh - j)); in opj_dwt_decode_partial_97()
2855 OPJ_UINT32 nb_elts = opj_uint_min(4U, win_tr_x1 - j); in opj_dwt_decode_partial_97()