Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 11 of 11) sorted by relevance

/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderMinMaxTest.java127 android.util.Range<Double> rates = caps.getSupportedFrameRatesFor(minW, minHForMinW); in applyMinMaxRanges() local
128 int frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges()
131 rates = caps.getSupportedFrameRatesFor(maxW, maxHForMaxW); in applyMinMaxRanges()
132 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges()
137 rates = caps.getSupportedFrameRatesFor(minWForMinH, minH); in applyMinMaxRanges()
138 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges()
145 rates = caps.getSupportedFrameRatesFor(maxWForMaxH, maxH); in applyMinMaxRanges()
146 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges()
153 rates = caps.getSupportedFrameRatesFor(minW, maxHForMinW); in applyMinMaxRanges()
154 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges()
[all …]
DVideoEncoderQualityRegressionTestBase.java134 double[][] rates = new double[cfgsUnion.size()][cfgsUnion.get(0).length]; in getQualityRegressionForCfgs() local
154 rates[i][j] = achievedBitRate; in getQualityRegressionForCfgs()
162 double bdRate = nativeGetBDRate(psnrs[0], rates[0], psnrs[1], rates[1], false, retMsg); in getQualityRegressionForCfgs()
167 retMsg.append(String.format("{%f, %f},\n", rates[i][j], psnrs[i][j])); in getQualityRegressionForCfgs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DAudioStringsHelper.java61 static public String buildRatesStr(int[] rates) { in buildRatesStr() argument
63 for(int rateIndex = 0; rateIndex < rates.length; rateIndex++) { in buildRatesStr()
64 builder.append(getRateString(rates[rateIndex])); in buildRatesStr()
65 if (rateIndex < rates.length - 1) { in buildRatesStr()
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/
DReferenceConfig.java70 PrimitiveIterator.OfDouble rates = in deserialize() local
82 while (rates.hasNext() && vmafs.hasNext()) { in deserialize()
83 curveBuilder.addPoint(RateDistortionPoint.create(rates.next(), vmafs.next())); in deserialize()
87 if (rates.hasNext() || vmafs.hasNext()) { in deserialize()
/cts/tests/sensor/jni/
Dandroid_hardware_cts_SensorNativeTest.cpp54 std::vector<int32_t> rates = { in test() local
60 for (auto r : rates) { in test()
/cts/tests/videocodec/jni/
DNativeVideoQualityUtils.cpp57 std::vector<double> polyFit(std::vector<double>& rates, std::vector<double>& qualities, int order) { in polyFit() argument
59 Eigen::MatrixXd X(rates.size(), order + 1); in polyFit()
61 for (int i = 0; i < rates.size(); ++i) { in polyFit()
66 element *= rates[i]; in polyFit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralAttributesActivity.java122 private static void formatRates(int[] rates, TextView tx) { in formatRates() argument
125 for (int rate : rates) { in formatRates()
/cts/tests/mediapc/common/
DREADME.md31 we will use a GTE operator. We will additionally be storing I/O rates as
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java1378 float[] rates = { 0.25f, 0.5f, 1.0f, 2.0f }; in testPlaybackRate() local
1379 for (float playbackRate : rates) { in testPlaybackRate()
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerTest.java804 int[] rates = status.getTsDataRate(); in testFrontendStatus() local
805 assertNotNull(rates); in testFrontendStatus()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerTest.java803 int[] rates = status.getTsDataRate(); in testFrontendStatus() local
804 assertNotNull(rates); in testFrontendStatus()