Lines Matching refs:l_pdy
797 OPJ_UINT32 l_pdx, l_pdy; in opj_get_encoding_parameters() local
817 l_pdy = l_tccp->prch[resno]; in opj_get_encoding_parameters()
820 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
835 l_py0 = opj_int_floordivpow2(l_ry0, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_encoding_parameters()
838 py1 = opj_int_ceildivpow2(l_ry1, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_encoding_parameters()
841 l_ph = (l_ry0 == l_ry1) ? 0 : (OPJ_UINT32)((py1 - l_py0) >> l_pdy); in opj_get_encoding_parameters()
925 OPJ_UINT32 l_pdx, l_pdy, l_pw, l_ph; in opj_get_all_encoding_parameters() local
947 l_pdy = l_tccp->prch[resno]; in opj_get_all_encoding_parameters()
949 *lResolutionPtr++ = l_pdy; in opj_get_all_encoding_parameters()
956 if (l_pdy + l_level_no < 32 && in opj_get_all_encoding_parameters()
957 l_img_comp->dy <= UINT_MAX / (1u << (l_pdy + l_level_no))) { in opj_get_all_encoding_parameters()
958 l_dy = l_img_comp->dy * (1u << (l_pdy + l_level_no)); in opj_get_all_encoding_parameters()
968 l_py0 = opj_int_floordivpow2(l_ry0, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_all_encoding_parameters()
970 py1 = opj_int_ceildivpow2(l_ry1, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_all_encoding_parameters()
972 l_ph = (l_ry0 == l_ry1) ? 0 : (OPJ_UINT32)((py1 - l_py0) >> l_pdy); in opj_get_all_encoding_parameters()