/external/dng_sdk/source/ |
dng_mosaic_info.h | 132 virtual dng_point DownScale (uint32 minSize, 137 /// \param downScale Integer downsampling factor obtained from DownScale method. 140 virtual dng_point DstSize (const dng_point &downScale) const; 160 /// \param downScale Amount (in horizontal and vertical) by which to subsample image. 167 const dng_point &downScale, 175 /// \param downScale Amount (in horizontal and vertical) by which to subsample image. 182 const dng_point &downScale, 187 virtual bool IsSafeDownScale (const dng_point &downScale) const; 189 uint32 SizeForDownScale (const dng_point &downScale) const [all...] |
dng_mosaic_info.cpp | 1123 const dng_point &downScale, 1139 const dng_point &downScale, 1146 , fDownScale (downScale) 1534 bool dng_mosaic_info::IsSafeDownScale (const dng_point &downScale) const 1537 if (downScale.v >= fCFAPatternSize.v && 1538 downScale.h >= fCFAPatternSize.h) 1547 test.v = Min_int32 (downScale.v, fCFAPatternSize.v); 1548 test.h = Min_int32 (downScale.h, fCFAPatternSize.h); 1615 uint32 dng_mosaic_info::SizeForDownScale (const dng_point &downScale) const 1618 uint32 sizeV = Max_uint32 (1, (fCroppedSize.v + (downScale.v >> 1)) / downScale.v) [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...] |
/external/webrtc/webrtc/modules/video_coding/utility/ |
quality_scaler_unittest.cc | 127 EXPECT_TRUE(TriggerScale(kScaleDown)) << "No downscale within " << kNumSeconds 136 << "Downscale at high threshold which should keep scale."; 144 << "No downscale within " << kNumSeconds << " seconds."; 160 FAIL() << "No downscale within " << kNumSeconds << " seconds."; 194 EXPECT_TRUE(TriggerScale(kScaleDown)) << "No downscale within " 328 // original one. Then it will take only 75 samples to downscale (twice in 150
|
/external/skia/tests/ |
GrTextureMipMapInvalidationTest.cpp | 41 // Painting with downscale and medium filter quality should result in mipmap creation
|
/external/skqp/tests/ |
GrTextureMipMapInvalidationTest.cpp | 41 // Painting with downscale and medium filter quality should result in mipmap creation
|
/hardware/qcom/display/msm8084/libvirtual/ |
virtual.cpp | 125 // we wont use downscale feature because MAX MDP 141 /* Set External Display MDP Downscale mode indicator. Only set to 147 Furthermore, downscale mode is only valid when downscaling from 171 // MDP downscale property will be ignored to exercise DRC use case.
|
/hardware/qcom/display/msm8226/libvirtual/ |
virtual.cpp | 125 // we wont use downscale feature because MAX MDP 152 /* Set External Display MDP Downscale mode indicator. Only set to 158 Furthermore, downscale mode is only valid when downscaling from 180 // MDP downscale property will be ignored to exercise DRC use case.
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
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.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.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.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)));
|
/external/skia/src/shaders/ |
SkPictureShader.cpp | 223 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 224 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), 225 SkScalarFloorToScalar(scaledSize.height() * downScale));
|
/external/skqp/src/shaders/ |
SkPictureShader.cpp | 218 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 219 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), 220 SkScalarFloorToScalar(scaledSize.height() * 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/liboverlay/pipes/ |
overlayGenPipe.h | 87 //Whether we will do downscale opt. This is just a request. If the frame is
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.cpp | 190 // in performing video downscale. 199 // On our MTP 1080p playback case downscale after sqrt is coming to 1.87 202 // It is unable to downscale 1080p video to panel resolution on 8960. 384 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n",
|
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
overlayGenPipe.h | 88 //Whether we will do downscale opt. This is just a request. If the frame is
|
/hardware/qcom/display/msm8994/libhdmi/ |
hdmi.h | 116 // Downscale feature switch, set via system property
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
pooling.py | 36 strides: Integer, or None. Factor by which to downscale. 69 strides: Integer, or None. Factor by which to downscale. 103 factors by which to downscale (vertical, horizontal). 169 factors by which to downscale (vertical, horizontal). 235 factors by which to downscale (dim1, dim2, dim3). 297 factors by which to downscale (dim1, dim2, dim3).
|
/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...] |
/external/neven/Embedded/common/src/b_ImageEm/ |
Functions.c | 37 /** downscale by factor 2 (dstPtrA and srcPtrA may be identical) */ 148 /* compute downscale exponent */ 163 /* downscale image */ 225 /* downscale */ 480 /* compute downscale exponent */ 495 /* downscale image */ 557 /* downscale */
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
hw_info.cpp | 307 DLOGI("Upscale Ratio = %d, Downscale Ratio = %d, Blending Stages = %d", 378 } else if (!strncmp(tokens[0], "downscale", strlen("downscale"))) { 384 DLOGI("MDSS Rotator: Count = %d, Downscale = %d, Min_downscale = %f", 435 DLOGI("V4L2 Rotator: Count = %d, Downscale = %d, Min_downscale = %f, Downscale_compression = %d",
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
hw_info.cpp | 303 DLOGI("Upscale Ratio = %d, Downscale Ratio = %d, Blending Stages = %d", 374 } else if (!strncmp(tokens[0], "downscale", strlen("downscale"))) { 380 DLOGI("MDSS Rotator: Count = %d, Downscale = %d, Min_downscale = %f", 431 DLOGI("V4L2 Rotator: Count = %d, Downscale = %d, Min_downscale = %f, Downscale_compression = %d",
|