Home
last modified time | relevance | path

Searched refs:downscale (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp842 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/
Dhwc_utils.cpp1754 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 …]
Dhwc_mdpcomp.cpp2798 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()
Dhwc_utils.h182 const int& transform, const int& downscale,
417 const ovutils::eTransform& orient, const int& downscale);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c888 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/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c888 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/
Dhwc_utils.cpp1503 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 …]
Dhwc_utils.h330 const ovutils::eTransform& orient, const int& downscale);
Dhwc_mdpcomp.cpp2103 const int downscale = 0; in configure() local
2136 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configure()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp1519 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 …]
Dhwc_utils.h350 const ovutils::eTransform& orient, const int& downscale);
Dhwc_mdpcomp.cpp2316 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/
Dresource_default.h130 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
Dresource_default.cpp870 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/
Dresource_default.h136 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.h137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
Dresource_default.cpp907 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/sm8150/display/sdm/libs/core/
Dresource_default.h142 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
Dresource_default.cpp899 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument
902 if (downscale <= max_down_scale) { in CalculateDecimation()
914 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
/hardware/qcom/sdm845/display/sdm/libs/core/
Dresource_default.h137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
Dresource_default.cpp908 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { in CalculateDecimation() argument
911 if (downscale <= max_down_scale) { in CalculateDecimation()
923 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.h137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
Dresource_default.cpp907 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/msm8994/liboverlay/
DoverlayRotator.h264 const uint32_t& downscale);