Searched refs:minScale (Results 1 – 8 of 8) sorted by relevance
/external/aac/libAACenc/src/ |
D | band_nrg.cpp | 304 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()
|
D | adj_thr.cpp | 1015 int minScale = fixMin(CountLeadingBits(sfbThrExp), in FDKaacEnc_reduceThresholdsCBR() local 1021 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR() 1022 scaleValue(redVal_m, redVal_e + minScale))) - in FDKaacEnc_reduceThresholdsCBR() 1023 (FIXP_DBL)(minScale << (DFRACT_BITS - 1 - LD_DATA_SHIFT)); in FDKaacEnc_reduceThresholdsCBR() 1400 int minScale = in FDKaacEnc_correctThresh() local 1409 minScale) + in FDKaacEnc_correctThresh() 1410 scaleValue(redVal_m, redVal_e + minScale)) - in FDKaacEnc_correctThresh() 1411 (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/ |
D | AnimationActivity.java | 58 float minScale = view.getMinScale(); in play() local 59 float scale = (random.nextFloat() * (maxScale - minScale)) + minScale; in play()
|
/external/v8/tools/turbolizer/ |
D | graph-view.js | 960 minScale() { method in GraphView 965 var minScale = dimensions[0] / (width + GRAPH_MARGIN * 2); 967 if (minScaleYCandidate < minScale) { 968 minScale = minScaleYCandidate; 970 this.dragSvg.scaleExtent([minScale, 1.5]); 971 return minScale; 1020 scale = Math.max(graph.minScale(), scale); 1028 var minScale = graph.minScale(); 1030 translation = graph.getVisibleTranslation(translation, minScale); 1031 graph.translateClipped(translation, minScale);
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | SubsamplingScaleImageView.java | 161 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/tests/ |
D | MatrixTest.cpp | 255 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local 257 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 263 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 288 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale() 297 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
|
/external/skqp/tests/ |
D | MatrixTest.cpp | 255 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local 257 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 263 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 288 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale() 297 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
|
/external/deqp/framework/randomshaders/ |
D | rsgBinaryOps.cpp | 215 const float minScale = 0.25f; in operator ()() local 220 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()
|