/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdssRot.cpp | 128 void MdssRot::setDownscale(int downscale) { in setDownscale() argument 129 mDownscale = downscale; in setDownscale() 389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH)); in getDownscaleFactor() local 391 downscale = (uint32_t) powf(2.0f, floorf(log2f((float)downscale))); in getDownscaleFactor() 393 if(downscale < 2 or downscale > 32) return 0; in getDownscaleFactor() 399 Dim dsAdjCrop = getDownscaleAdjustedCrop(adjCrop, downscale); in getDownscaleFactor() 400 while(downscale > 2 and (adjCrop.w > dsAdjCrop.w or in getDownscaleFactor() 402 downscale /= 2; in getDownscaleFactor() 403 dsAdjCrop = getDownscaleAdjustedCrop(adjCrop, downscale); in getDownscaleFactor() 407 return downscale; in getDownscaleFactor() [all …]
|
D | overlayRotator.h | 264 const uint32_t& downscale);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 842 const int& downscale) { in configRotator() argument 846 rot->setDownscale(downscale); in configRotator() 949 int downscale = 0; in configureLowRes() local 957 downscale = getDownscaleFactor( in configureLowRes() 962 if(downscale) { in configureLowRes() 978 setMdpFlags(layer, mdpFlags, downscale); in configureLowRes() 982 ((transform & HWC_TRANSFORM_ROT_90) || downscale || forceRot)) { in configureLowRes() 988 if(configRotator(*rot, whf, origWhf, mdpFlags, orient, downscale) < 0) in configureLowRes() 1030 const int downscale = 0; in configureHighRes() local 1045 if(configRotator(*rot, whf, origWhf, mdpFlagsL, orient, downscale) < 0) in configureHighRes()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 1754 const eTransform& orient, const int& downscale) { in configRotator() argument 1773 rot->setDownscale(downscale); in configRotator() 1870 int downscale = 0; in getRotDownscale() local 1888 downscale = Rotator::getDownscaleFactor(crop.right - crop.left, in getRotDownscale() 1899 downscale = Rotator::getDownscaleFactor(adjCrop.w, adjCrop.h, pos.w, in getRotDownscale() 1903 return downscale; in getRotDownscale() 2008 int downscale = getRotDownscale(ctx, layer); in configureNonSplit() local 2009 setMdpFlags(ctx, layer, mdpFlags, downscale, transform); in configureNonSplit() 2012 if((has90Transform(layer) or downscale) and isRotationDoable(ctx, hnd)) { in configureNonSplit() 2016 BwcPM::setBwc(ctx, dpy, hnd, crop, dst, transform, downscale, in configureNonSplit() [all …]
|
D | hwc_mdpcomp.cpp | 2798 const uint32_t downscale = getRotDownscale(ctx, layer); in acquireMDPPipes() local 2799 if(downscale) { in acquireMDPPipes() 2800 cropWidth /= downscale; in acquireMDPPipes() 2801 cropHeight /= downscale; in acquireMDPPipes() 2873 int downscale = getRotDownscale(ctx, layer); in configure() local 2875 setMdpFlags(ctx, layer, mdpFlags, downscale, transform); in configure() 2882 if((has90Transform(layer) or downscale) and isRotationDoable(ctx, hnd)) { in configure() 2888 BwcPM::setBwc(ctx, mDpy, hnd, crop, dst, transform, downscale, in configure() 2892 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configure()
|
D | hwc_utils.h | 182 const int& transform, const int& downscale, 417 const ovutils::eTransform& orient, const int& downscale);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 888 long upscale, downscale, upsclimit, downsclimit; in inv_one_over_x() local 906 downscale = 836504283L; in inv_one_over_x() 931 x0 = inv_q30_mult(x0, downscale); in inv_one_over_x() 957 xx = inv_q30_mult( xx, downscale); in inv_one_over_x()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 888 long upscale, downscale, upsclimit, downsclimit; in inv_one_over_x() local 906 downscale = 836504283L; in inv_one_over_x() 931 x0 = inv_q30_mult(x0, downscale); in inv_one_over_x() 957 xx = inv_q30_mult( xx, downscale); in inv_one_over_x()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 1503 const eTransform& orient, const int& downscale) { in configRotator() argument 1532 rot->setDownscale(downscale); in configRotator() 1646 int downscale = 0; in configureNonSplit() local 1663 downscale = getDownscaleFactor( in configureNonSplit() 1668 if(downscale) { in configureNonSplit() 1673 setMdpFlags(layer, mdpFlags, downscale, transform); in configureNonSplit() 1676 ((transform & HWC_TRANSFORM_ROT_90) || downscale)) { in configureNonSplit() 1683 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configureNonSplit() 1753 const int downscale = 0; in configureSplit() local 1789 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSplit() [all …]
|
D | hwc_utils.h | 330 const ovutils::eTransform& orient, const int& downscale);
|
D | hwc_mdpcomp.cpp | 2103 const int downscale = 0; in configure() local 2136 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configure()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 1519 const eTransform& orient, const int& downscale) { in configRotator() argument 1538 rot->setDownscale(downscale); in configRotator() 1651 int downscale = 0; in configureNonSplit() local 1668 downscale = getDownscaleFactor( in configureNonSplit() 1673 if(downscale) { in configureNonSplit() 1678 setMdpFlags(ctx, layer, mdpFlags, downscale, transform); in configureNonSplit() 1681 if((has90Transform(layer) && isRotationDoable(ctx, hnd)) || downscale) { in configureNonSplit() 1689 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configureNonSplit() 1758 const int downscale = 0; in configureSplit() local 1794 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSplit() [all …]
|
D | hwc_utils.h | 350 const ovutils::eTransform& orient, const int& downscale);
|
D | hwc_mdpcomp.cpp | 2316 const int downscale = 0; in configure() local 2349 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configure()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.h | 130 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
D | resource_default.cpp | 870 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument 873 if (downscale <= max_down_scale) { in CalculateDecimation() 885 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.h | 136 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
D | resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument 910 if (downscale <= max_down_scale) { in CalculateDecimation() 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.h | 137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
D | resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument 910 if (downscale <= max_down_scale) { in CalculateDecimation() 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | resource_default.h | 137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
D | resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument 910 if (downscale <= max_down_scale) { in CalculateDecimation() 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.h | 137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
D | resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument 910 if (downscale <= max_down_scale) { in CalculateDecimation() 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
|