/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/distancefield/ |
DistanceFieldGenerator.java | 44 private int downscale = 1; field in class:DistanceFieldGenerator 62 return downscale; 66 * Sets the factor by which to downscale the image during processing. 72 * @param downscale a positive integer 73 * @throws IllegalArgumentException if downscale is not positive 75 public void setDownscale(int downscale) { 76 if (downscale <= 0) 77 throw new IllegalArgumentException("downscale must be positive"); 78 this.downscale = downscale; [all...] |
/hardware/qcom/display/msm8909/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/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 | 817 //No 90 component and no rot-downscale then flips done by MDP 840 const int& downscale) { 844 rot->setDownscale(downscale); 947 int downscale = 0; local 955 downscale = getDownscaleFactor( 960 if(downscale) { 976 setMdpFlags(layer, mdpFlags, downscale); 979 if(isYuvBuffer(hnd) && //if 90 component or downscale, use rot 980 ((transform & HWC_TRANSFORM_ROT_90) || downscale || forceRot)) { 1028 const int downscale = 0; local [all...] |
/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/msmcobalt/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/msm8909/libhwcomposer/ |
hwc_utils.cpp | 1948 int downscale = 0; local 2086 int downscale = getRotDownscale(ctx, layer); local 2187 int downscale = getRotDownscale(ctx, layer); local 2315 const int downscale = 0; local [all...] |
hwc_utils.h | 186 const int& transform, const int& downscale, 393 const ovutils::eTransform& orient, const int& downscale);
|
hwc_mdpcomp.cpp | 435 * maximum downscale support is overlay pipe downscale. 446 * 2. exceeds maximum downscale limit 786 // in such usecase, decimation gets used for downscale and there will be 2693 int downscale = getRotDownscale(ctx, layer); local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.cpp | 1868 int downscale = 0; local 2006 int downscale = getRotDownscale(ctx, layer); local 2106 int downscale = getRotDownscale(ctx, layer); local 2234 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 1644 int downscale = 0; local 1751 const int downscale = 0; local 1896 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 1649 int downscale = 0; local 1756 const int downscale = 0; local 1900 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);
|