Home
last modified time | relevance | path

Searched refs:minScale (Results 1 – 13 of 13) sorted by relevance

/external/aac/libAACenc/src/
Dband_nrg.cpp304 INT i, j, minScale; in FDKaacEnc_CalcBandNrgMSOpt() local
309 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]) - 4; in FDKaacEnc_CalcBandNrgMSOpt()
310 minScale = fixMax(0, minScale); in FDKaacEnc_CalcBandNrgMSOpt()
312 if (minScale > 0) { in FDKaacEnc_CalcBandNrgMSOpt()
314 FIXP_DBL specL = mdctSpectrumLeft[j] << (minScale - 1); in FDKaacEnc_CalcBandNrgMSOpt()
315 FIXP_DBL specR = mdctSpectrumRight[j] << (minScale - 1); in FDKaacEnc_CalcBandNrgMSOpt()
341 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]); in FDKaacEnc_CalcBandNrgMSOpt()
342 INT scale = fixMax(0, 2 * (minScale - 4)); in FDKaacEnc_CalcBandNrgMSOpt()
Dadj_thr.cpp1013 int minScale = fixMin(CountLeadingBits(sfbThrExp), in FDKaacEnc_reduceThresholdsCBR() local
1019 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR()
1020 scaleValue(redVal_m, redVal_e + minScale))) - in FDKaacEnc_reduceThresholdsCBR()
1021 (FIXP_DBL)(minScale << (DFRACT_BITS - 1 - LD_DATA_SHIFT)); in FDKaacEnc_reduceThresholdsCBR()
1390 int minScale = in FDKaacEnc_correctThresh() local
1399 minScale) + in FDKaacEnc_correctThresh()
1400 scaleValue(redVal_m, redVal_e + minScale)) - in FDKaacEnc_correctThresh()
1401 (FIXP_DBL)(minScale << (DFRACT_BITS - 1 - LD_DATA_SHIFT)); in FDKaacEnc_correctThresh()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/
DAnimationActivity.java58 float minScale = view.getMinScale(); in play() local
59 float scale = (random.nextFloat() * (maxScale - minScale)) + minScale; in play()
/external/skia/src/core/
DSkStrikeSpec.cpp180 SkScalar minScale, maxScale; in MakeSDFT() local
181 std::tie(minScale, maxScale) = control.computeSDFMinMaxScale(font.getSize(), deviceMatrix); in MakeSDFT()
186 return std::make_tuple(std::move(strikeSpec), minScale, maxScale); in MakeSDFT()
DSkGlyphRunPainter.h151 SkScalar minScale,
DSkGlyphRunPainter.cpp250 const auto& [strikeSpec, minScale, maxScale] = in processGlyphRun()
271 fDrawable.drawable(), strikeSpec, runFont, minScale, maxScale); in processGlyphRun()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DPlayerFragment.kt279 val minScale = minScale() in <lambda>() constant
281 val scale = minScale + progress / 100f * (maxScale - minScale) in <lambda>()
495 private fun minScale() = 0.05f in <lambda>() method in com.airbnb.lottie.samples.PlayerFragment
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java161 private float minScale = minScale(); field in SubsamplingScaleImageView
748 if (scale <= minScale()) { in onTouchEventInternal()
751 scaleStart = minScale(); in onTouchEventInternal()
805 scale = Math.max(minScale(), Math.min(maxScale, scale * multiplier)); in onTouchEventInternal()
951 boolean zoomIn = (scale <= doubleTapZoomScale * 0.9) || scale == minScale; in doubleTapZoom()
952 float targetScale = zoomIn ? doubleTapZoomScale : minScale(); in doubleTapZoom()
1114 ….ENGLISH, "%.2f", scale) + " (" + String.format(Locale.ENGLISH, "%.2f", minScale()) + " - " + Stri… in onDraw()
2251 private float minScale() { in minScale() method
2256 } else if (minimumScaleType == SCALE_TYPE_CUSTOM && minScale > 0) { in minScale()
2257 return minScale; in minScale()
[all …]
/external/skia/src/gpu/text/
DGrTextBlob.h257 SkScalar minScale,
305 SkScalar minScale, SkScalar maxScale) override;
DGrTextBlob.cpp1620 SkScalar minScale, in processSourceSDFT() argument
1623 fMaxMinScale = std::max(minScale, fMaxMinScale); in processSourceSDFT()
2401 SkScalar minScale, SkScalar maxScale) { in processSourceSDFT() argument
/external/skia/tests/
DMatrixTest.cpp268 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local
270 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
276 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
301 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale()
310 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/skqp/tests/
DMatrixTest.cpp261 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local
263 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
269 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
294 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale()
303 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp465 const float minScale = 0.25f; in operator ()() local
470 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()