/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...] |
/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;
|
/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);
|
/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/msm8084/libhwcomposer/ |
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...] |
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...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
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...] |
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...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
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...] |
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...] |