Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dband_nrg.cpp300 INT i, j, minScale; in FDKaacEnc_CalcBandNrgMSOpt() local
306 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i])-4; in FDKaacEnc_CalcBandNrgMSOpt()
307 minScale = fixMax(0, minScale); in FDKaacEnc_CalcBandNrgMSOpt()
309 if (minScale > 0) { in FDKaacEnc_CalcBandNrgMSOpt()
311 FIXP_DBL specL = mdctSpectrumLeft[j]<<(minScale-1); in FDKaacEnc_CalcBandNrgMSOpt()
312 FIXP_DBL specR = mdctSpectrumRight[j]<<(minScale-1); in FDKaacEnc_CalcBandNrgMSOpt()
339 INT minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]); in FDKaacEnc_CalcBandNrgMSOpt() local
340 INT scale = fixMax(0, 2*(minScale-4)); in FDKaacEnc_CalcBandNrgMSOpt()
Dadj_thr.cpp871 …int minScale = fixMin(CountLeadingBits(sfbThrExp), CountLeadingBits(redVal) - (DFRACT_BITS-1-redVa… in FDKaacEnc_reduceThresholdsCBR() local
874 …a = CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + scaleValue(redVal,(DFRACT_BITS-1-redValScali… in FDKaacEnc_reduceThresholdsCBR()
875 - (FIXP_DBL)(minScale<<(DFRACT_BITS-1-LD_DATA_SHIFT)); in FDKaacEnc_reduceThresholdsCBR()
1204 …int minScale = fixMin(CountLeadingBits(thrExp[elementId][ch][sfbGrp+sfb]), CountLeadingBits(redVal… in FDKaacEnc_correctThresh() local
1207 …xp[elementId][ch][sfbGrp+sfb], minScale) + scaleValue(redVal[elementId], (DFRACT_BITS-1-redValScal… in FDKaacEnc_correctThresh()
1208 … - (FIXP_DBL)(minScale<<(DFRACT_BITS-1-LD_DATA_SHIFT)); in FDKaacEnc_correctThresh()
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js252 var minScale = scaleEl.min;
254 var clampedScale = Math.min(maxScale, Math.max(minScale, scaleEl.value));
268 scaleEl.disabled = maxScale < minScale;
/external/skia/tests/
DMatrixTest.cpp202 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local
204 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
210 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
235 REPORTER_ASSERT(reporter, SkScalarDiv(minScale, d) < gVectorScaleTol); in test_matrix_min_max_scale()
244 REPORTER_ASSERT(reporter, SkScalarDiv(minScale, min) >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/chromium_org/third_party/skia/tests/
DMatrixTest.cpp202 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local
204 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
210 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
235 REPORTER_ASSERT(reporter, SkScalarDiv(minScale, d) < gVectorScaleTol); in test_matrix_min_max_scale()
244 REPORTER_ASSERT(reporter, SkScalarDiv(minScale, min) >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_transfer_controller.js503 var minScale = Math.min(
506 var srcWidth = Math.min(canvas.width * minScale, thumbnailImage.width);
507 var srcHeight = Math.min(canvas.height * minScale, thumbnailImage.height);
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp215 const float minScale = 0.25f; in operator ()() local
220 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()