Searched refs:l_max (Results 1 – 2 of 2) sorted by relevance
1738 OPJ_INT32 l_min, l_max; in opj_tcd_dc_level_shift_decode() local1756 l_max = (1 << (l_img_comp->prec - 1)) - 1; in opj_tcd_dc_level_shift_decode()1760 l_max = (1 << l_img_comp->prec) - 1; in opj_tcd_dc_level_shift_decode()1768 … *l_current_ptr = opj_int_clamp(*l_current_ptr + l_tccp->m_dc_level_shift, l_min, l_max); in opj_tcd_dc_level_shift_decode()1778 …current_ptr = opj_int_clamp((OPJ_INT32)lrintf(l_value) + l_tccp->m_dc_level_shift, l_min, l_max); ; in opj_tcd_dc_level_shift_decode()
2615 OPJ_UINT32 l_max = 0; in opj_j2k_get_max_coc_size() local2624 l_max = opj_uint_max(l_max,opj_j2k_get_SPCod_SPCoc_size(p_j2k,i,j)); in opj_j2k_get_max_coc_size()2628 return 6 + l_max; in opj_j2k_get_max_coc_size()3116 OPJ_UINT32 l_max = 0; in opj_j2k_get_max_toc_size() local3123 l_max = opj_uint_max(l_max,l_tcp->m_nb_tile_parts); in opj_j2k_get_max_toc_size()3128 return 12 * l_max; in opj_j2k_get_max_toc_size()