Home
last modified time | relevance | path

Searched refs:NUM_FRAMES (Results 1 – 5 of 5) sorted by relevance

/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveBenchmark.java29 private static final int NUM_FRAMES = 100; field in GLPrimitiveBenchmark
42 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testFullPipelineOffscreen()
50 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testFullPipelineOnscreen()
58 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testPixelOutputOffscreen()
66 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testPixelOutputOnscreen()
74 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testShaderPerfOffscreen()
82 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testShaderPerfOnscreen()
90 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testContextSwitchOffscreen()
98 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testContextSwitchOnscreen()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLReferenceBenchmark.java32 private static final int NUM_FRAMES = NUM_FRAMES_PER_SCENE * NUM_SCENES; field in GLReferenceBenchmark
45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, NUM_FRAMES); in testReferenceBenchmark()
61 for (int i = 0; i < NUM_FRAMES - 1; i++) { in testReferenceBenchmark()
65 double updateAverage = updateSum / NUM_FRAMES; in testReferenceBenchmark()
66 double renderAverage = renderSum / NUM_FRAMES; in testReferenceBenchmark()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java324 static final int NUM_FRAMES = 50; field in AdaptivePlaybackTest
344 for (int i = NUM_FRAMES / 2; i > 0; --i, state >>= 1) { in addTests()
411 for (int i = NUM_FRAMES; i > 0; i--) { in addTests()
466 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests()
541 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests()
694 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) {
699 lastSequence = (segmentSize << 1) + 1 > NUM_FRAMES;
701 lastSequence = segmentSize >= NUM_FRAMES;
1380 private static final int NUM_FRAMES = AdaptivePlaybackTest.NUM_FRAMES;
1388 Media media = Media.read(context, resources[i], NUM_FRAMES);
[all …]
DEncodeDecodeTest.java63 private static final int NUM_FRAMES = 30; // two seconds of video field in EncodeDecodeTest
606 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer()
813 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer()
814 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromBuffer()
859 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface()
1007 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface()
1008 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromSurfaceToSurface()
DDecodeEditEncodeTest.java62 private static final int NUM_FRAMES = 30; // two seconds of video field in DecodeEditEncodeTest
270 if (generateIndex == NUM_FRAMES) { in generateVideoData()
342 assertEquals("Frame count", NUM_FRAMES + 1, outputCount); in generateVideoData()