/hardware/qcom/display/msm8994/liboverlay/ |
overlayMdssRot.cpp | 128 void MdssRot::setDownscale(int downscale) { 129 mDownscale = downscale; 389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH)); local 391 downscale = (uint32_t) powf(2.0f, floorf(log2f((float)downscale))); 393 if(downscale < 2 or downscale > 32) return 0; 396 //be aligned to downscale. Progressively try with smaller downscale to see 399 Dim dsAdjCrop = getDownscaleAdjustedCrop(adjCrop, downscale); [all...] |
overlayRotator.h | 107 /* Returns downscale by successfully applying constraints 173 /* Applies downscale by taking areas 174 * Returns a log(downscale) 176 * - downscale should be a power of 2 177 * - Max downscale is 1/8 248 * Returns actual downscale (not a log value) 250 * - downscale should be a power of 2 251 * - Max downscale is 1/32 252 * - Equal downscale is applied in both directions 253 * - {srcW, srcH} mod downscale = [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.cpp | 819 //No 90 component and no rot-downscale then flips done by MDP 842 const int& downscale) { 846 rot->setDownscale(downscale); 949 int downscale = 0; local 957 downscale = getDownscaleFactor( 962 if(downscale) { 978 setMdpFlags(layer, mdpFlags, downscale); 981 if(isYuvBuffer(hnd) && //if 90 component or downscale, use rot 982 ((transform & HWC_TRANSFORM_ROT_90) || downscale || forceRot)) { 1030 const int downscale = 0; local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/ |
resource_default.h | 137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { 910 if (downscale <= max_down_scale) { 914 DLOGE("Downscaling exceeds the maximum MDP downscale limit but decimation not enabled"); 918 // Decimation is the remaining downscale factor after doing max SDE downscale. 920 // For ex: If a pipe needs downscale of 8 but max_down_scale is 4 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale)));
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
resource_default.h | 137 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { 910 if (downscale <= max_down_scale) { 914 DLOGE("Downscaling exceeds the maximum MDP downscale limit but decimation not enabled"); 918 // Decimation is the remaining downscale factor after doing max SDE downscale. 920 // For ex: If a pipe needs downscale of 8 but max_down_scale is 4 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale)));
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
resource_default.h | 130 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
resource_default.cpp | 870 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { 873 if (downscale <= max_down_scale) { 877 DLOGE("Downscaling exceeds the maximum MDP downscale limit but decimation not enabled"); 881 // Decimation is the remaining downscale factor after doing max SDE downscale. 883 // For ex: If a pipe needs downscale of 8 but max_down_scale is 4 885 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale)));
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
resource_default.h | 136 DisplayError CalculateDecimation(float downscale, uint8_t *decimation);
|
resource_default.cpp | 907 DisplayError ResourceDefault::CalculateDecimation(float downscale, uint8_t *decimation) { 910 if (downscale <= max_down_scale) { 914 DLOGE("Downscaling exceeds the maximum MDP downscale limit but decimation not enabled"); 918 // Decimation is the remaining downscale factor after doing max SDE downscale. 920 // For ex: If a pipe needs downscale of 8 but max_down_scale is 4 922 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale)));
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.cpp | 1870 int downscale = 0; local 2008 int downscale = getRotDownscale(ctx, layer); local 2108 int downscale = getRotDownscale(ctx, layer); local 2236 const int downscale = 0; local [all...] |
hwc_utils.h | 182 const int& transform, const int& downscale, 417 const ovutils::eTransform& orient, const int& downscale);
|
hwc_mdpcomp.cpp | 439 * maximum downscale support is overlay pipe downscale. 450 * 2. exceeds maximum downscale limit 2798 const uint32_t downscale = getRotDownscale(ctx, layer); local 2873 int downscale = getRotDownscale(ctx, layer); local [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 271 // Read the system property to determine if downscale feature is enabled. 391 // if downscale Mode is enabled for external, need to query 628 // if downscale is enabled, map the co-ordinates to new 1646 int downscale = 0; local 1753 const int downscale = 0; local 1898 const int downscale = 0; local [all...] |
hwc_utils.h | 95 // External Display is in MDP Downscale mode indicator 330 const ovutils::eTransform& orient, const int& downscale); 556 // Downscale feature switch, set via system property
|
hwc_mdpcomp.cpp | 356 * maximum downscale support is overlay pipe downscale. 367 * 2. exceeds maximum downscale limit 691 // in such usecase, decimation gets used for downscale and there will be 698 // check for action safe flag and downscale mode which requires scaling. 2103 const int downscale = 0; local [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.cpp | 284 // Read the system property to determine if downscale feature is enabled. 406 // if downscale Mode is enabled for external, need to query 615 // if downscale is enabled, map the co-ordinates to new 1651 int downscale = 0; local 1758 const int downscale = 0; local 1902 const int downscale = 0; local [all...] |
hwc_utils.h | 96 // External Display is in MDP Downscale mode indicator 350 const ovutils::eTransform& orient, const int& downscale); 589 // Downscale feature switch, set via system property
|
hwc_mdpcomp.cpp | 381 * maximum downscale support is overlay pipe downscale. 392 * 2. exceeds maximum downscale limit 704 // in such usecase, decimation gets used for downscale and there will be 711 // check for action safe flag and downscale mode which requires scaling. 2316 const int downscale = 0; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 747 //long downscale, sqrt_downscale, downsclimit; 763 //downscale = 851995103L; 888 long upscale, downscale, upsclimit, downsclimit; local 906 downscale = 836504283L; 907 // int32(0.92/downscale*2^30) 931 x0 = inv_q30_mult(x0, downscale); 957 xx = inv_q30_mult( xx, downscale);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 747 //long downscale, sqrt_downscale, downsclimit; 763 //downscale = 851995103L; 888 long upscale, downscale, upsclimit, downsclimit; local 906 downscale = 836504283L; 907 // int32(0.92/downscale*2^30) 931 x0 = inv_q30_mult(x0, downscale); 957 xx = inv_q30_mult( xx, downscale);
|
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 464 // downscale which could take long. 472 int downscale = ceil(sqrt(thumbPixels / (float)maxPixels)); local 473 dst_width = thumbWidth / downscale; 474 dst_height = thumbHeight /downscale;
|