Home
last modified time | relevance | path

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

/cts/suite/cts/deviceTests/opengl/jni/reference/
DGLReference.cpp26 JNIEnv* env, jclass /*clazz*/, jobject assetManager, jobject surface, jint numFrames, in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() argument
31 if (numFrames > (ReferenceRenderer::FRAMES_PER_SCENE * ReferenceRenderer::NUM_SCENES)) { in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
42 double updates[numFrames]; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
43 double renders[numFrames]; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
44 for (int i = 0; i < numFrames && success; i++) { in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
54 env->SetDoubleArrayRegion(updateTimes, 0, numFrames, updates); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
55 env->SetDoubleArrayRegion(renderTimes, 0, numFrames, renders); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
/cts/suite/cts/deviceTests/opengl/jni/primitive/
DGLPrimitive.cpp42 JNIEnv* env, jclass /*clazz*/, jint workload, jint numFrames, jdoubleArray frameTimes) { in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() argument
55 numFrames /= Renderer::OFFSCREEN_INNER_FRAMES; in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark()
59 for (int i = 0; i < numFrames && success; i++) { in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveBenchmark.java111 private void runBenchmark(BenchmarkName benchmark, boolean offscreen, int numFrames, in runBenchmark() argument
117 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, numFrames); in runBenchmark()
DGLPrimitiveActivity.java108 private static native boolean startBenchmark(int workload, int numFrames, double[] frameTimes); in startBenchmark() argument
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java998 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() local
1002 numFrames); in testReprocessRequestKeys()
1003 setupReprocessableSession(/*previewSurface*/null, numFrames); in testReprocessRequestKeys()
1006 ArrayList<CaptureRequest> reprocessRequests = new ArrayList<>(numFrames); in testReprocessRequestKeys()
1008 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
1035 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLGameActivity.java92 int numFrames, in startBenchmark() argument
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1213 private Media(MediaFormat format, MediaFormat adaptiveFormat, int numFrames) {
1218 mFrames = new Frame[numFrames];
1296 public static Media read(Context context, int video, int numFrames)
1304 extractor.getTrackFormat(0), extractor.getTrackFormat(0), numFrames);
1318 for (int ix = 0; ix < numFrames; ix++) {