Home
last modified time | relevance | path

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

/cts/tests/openglperf2/jni/reference/
DGLReference.cpp26 JNIEnv* env, jclass /*clazz*/, jobject assetManager, jobject surface, jint numFrames, in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() argument
31 if (numFrames > (ReferenceRenderer::FRAMES_PER_SCENE * ReferenceRenderer::NUM_SCENES)) { in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
42 double updates[numFrames]; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
43 double renders[numFrames]; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
44 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
54 env->SetDoubleArrayRegion(updateTimes, 0, numFrames, updates); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
55 env->SetDoubleArrayRegion(renderTimes, 0, numFrames, renders); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java55 public void setPCM16Buff(short[] smpl16Buff, int numChans, int numFrames) { in setPCM16Buff() argument
60 mNumFrames = numFrames; in setPCM16Buff()
67 public void setPCMFloatBuff(float[] smplFloatBuff, int numChans, int numFrames) { in setPCMFloatBuff() argument
72 mNumFrames = numFrames; in setPCMFloatBuff()
116 private void drawChannel16(Canvas cvs, short[] samples, int numFrames, int numChans, in drawChannel16() argument
122 for (int frame = 0; frame < numFrames; frame++) { in drawChannel16()
145 private void drawChannelFloat(Canvas cvs, float[] samples, int numFrames, int numChans, in drawChannelFloat() argument
151 for (int frame = 0; frame < numFrames; frame++) { in drawChannelFloat()
DWaveTableFloatFiller.java65 public int fill(float[] buffer, int numFrames, int numChans) { in fill() argument
68 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in fill()
87 return numFrames; in fill()
DAudioFiller.java36 public int fill(float[] buffer, int numFrames, int numChans); in fill() argument
/cts/tests/tests/media/libndkaudio/
DWaveTableOscillator.cpp47 int WaveTableOscillator::getData(long time, float* outBuff, int numFrames, in getData() argument
60 for (int dstIndex = 0; dstIndex < numFrames; ++dstIndex) { in getData()
78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData()
99 return numFrames; in getData()
DAudioSink.h27 virtual bool put(float * buff, int numFrames, int numChannels) =0;
DWaveTableOscillator.h34 int getData(long time, float* outBuff, int numFrames, int outChans);
DAudioSource.h37 virtual int getData(long time, float * buff, int numFrames,
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_callback.cpp93 void updateFrameCount(int32_t numFrames) { in updateFrameCount()
94 if (numFrames != expectedFramesPerCallback) { in updateFrameCount()
96 actualFramesPerCallback = numFrames; in updateFrameCount()
99 actualFramesPerCallback = numFrames; in updateFrameCount()
133 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames);
137 AAudioStream* /*stream*/, void *userData, void* /*audioData*/, int32_t numFrames) { in MyDataCallbackProc() argument
139 myData->updateFrameCount(numFrames); in MyDataCallbackProc()
221 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames);
226 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames) { in MyDataCallbackProc() argument
228 int32_t numSamples = channelCount * numFrames; in MyDataCallbackProc()
[all …]
/cts/tests/openglperf2/jni/primitive/
DGLPrimitive.cpp43 JNIEnv* env, jclass /*clazz*/, jint workload, jint numFrames, jdoubleArray frameTimes) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark() argument
56 numFrames /= Renderer::OFFSCREEN_INNER_FRAMES; in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
60 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveBenchmark.java121 private void runBenchmark(BenchmarkName benchmark, boolean offscreen, int numFrames, in runBenchmark() argument
127 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralRecordActivity.java57 int numFrames = smplFloatBuff.length / numChans; in connectWaveView() local
58 mWaveView.setPCMFloatBuff(smplFloatBuff, numChans, numFrames); in connectWaveView()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_encoder_jni.cpp293 int32_t numFrames, in runNativeEncoderTest() argument
323 hasDynamicSyncRequest ? numFrames / fps : 1 /*sec*/); in runNativeEncoderTest()
335 std::unique_ptr<RunConfig> runConfig = std::make_unique<RunConfig>(numFrames, config); in runNativeEncoderTest()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java74 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument
76 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()
77 final double rad = numCycles * 2.0 * Math.PI / numFrames; in createSineWavesShort()
DAdaptivePlaybackTest.java1204 private Media(MediaFormat format, MediaFormat adaptiveFormat, int numFrames) {
1209 mFrames = new Frame[numFrames];
1287 public static Media read(Context context, int video, int numFrames)
1295 extractor.getTrackFormat(0), extractor.getTrackFormat(0), numFrames);
1309 for (int ix = 0; ix < numFrames; ix++) {
/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1000 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() local
1004 numFrames); in testReprocessRequestKeys()
1005 setupReprocessableSession(/*previewSurface*/null, numFrames); in testReprocessRequestKeys()
1008 ArrayList<CaptureRequest> reprocessRequests = new ArrayList<>(numFrames); in testReprocessRequestKeys()
1010 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
1037 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java93 int numFrames, in startBenchmark() argument
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1632 int numFrames = 0; in doStagefrightTestRawBlob() local
1634 numFrames = frameSizes.length; in doStagefrightTestRawBlob()
1637 if (0 == numFrames) { in doStagefrightTestRawBlob()
1645 for (int j = 0; j < numFrames; j++) { in doStagefrightTestRawBlob()
1651 if(j == (numFrames - 1)) { in doStagefrightTestRawBlob()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java645 RunResult(int numFrames, double durationMs) { in RunResult() argument
646 mNumFrames = numFrames; in RunResult()
651 RunResult(int numFrames, double durationMs, double rmsError) { in RunResult() argument
652 mNumFrames = numFrames; in RunResult()