Home
last modified time | relevance | path

Searched refs:CodecMetrics (Results 1 – 9 of 9) sorted by relevance

/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DCodecMetrics.java22 public abstract class CodecMetrics { class
24 public static CodecMetrics getMetrics(double fps, double fdps) { in getMetrics()
/cts/tests/mediapc/src/android/mediapc/cts/
DMultiCodecPerfTestBase.java22 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
33 import android.mediapc.cts.common.CodecMetrics;
177 protected CodecMetrics invokeWithThread(int maxInstances, Collection<? extends in invokeWithThread()
178 Callable<CodecMetrics>> testList) throws ExecutionException, InterruptedException { in invokeWithThread()
183 List<Future<CodecMetrics>> resultList = pool.invokeAll(testList); in invokeWithThread()
184 for (Future<CodecMetrics> result : resultList) { in invokeWithThread()
185 CodecMetrics metrics = result.get(); in invokeWithThread()
DMultiTranscoderPerfTest.java26 import android.mediapc.cts.common.CodecMetrics;
220 List<Future<CodecMetrics>> decodeResultList = null; in testCodec()
233 List<Future<CodecMetrics>> transcodeResultList = pool.invokeAll(transcodeList); in testCodec()
234 for (Future<CodecMetrics> result : transcodeResultList) { in testCodec()
244 for (Future<CodecMetrics> result : decodeResultList) { in testCodec()
DMultiEncoderPerfTest.java24 import android.mediapc.cts.common.CodecMetrics;
164 CodecMetrics result = invokeWithThread(maxInstances, testList); in testCodec()
DCodecTranscoderTestBase.java19 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
30 import android.mediapc.cts.common.CodecMetrics;
396 class Transcode extends CodecTranscoderTestBase implements Callable<CodecMetrics> {
411 public CodecMetrics doTranscode() throws Exception { in doTranscode()
445 public CodecMetrics call() throws Exception { in call()
526 public CodecMetrics doTranscode() throws Exception { in doTranscode()
DCodecTestBase.java21 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
38 import android.mediapc.cts.common.CodecMetrics;
919 class Decode extends CodecDecoderTestBase implements Callable<CodecMetrics> {
961 public CodecMetrics doDecode() throws Exception { in doDecode()
1005 public CodecMetrics call() throws Exception { in call()
1037 class Encode extends CodecEncoderTestBase implements Callable<CodecMetrics> {
1089 public CodecMetrics doEncode() throws Exception { in doEncode()
1115 public CodecMetrics call() throws Exception { in call()
DMultiEncoderPairPerfTest.java24 import android.mediapc.cts.common.CodecMetrics;
194 CodecMetrics result = invokeWithThread(maxInstances, testList); in testCodec()
DMultiDecoderPerfTest.java24 import android.mediapc.cts.common.CodecMetrics;
197 CodecMetrics result = invokeWithThread(maxInstances, testList); in testCodec()
DMultiDecoderPairPerfTest.java24 import android.mediapc.cts.common.CodecMetrics;
281 CodecMetrics result = invokeWithThread(maxInstances, testList); in testCodec()