Home
last modified time | relevance | path

Searched refs:numFrames (Results 1 – 21 of 21) 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/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()
222 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames);
227 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames) { in MyDataCallbackProc() argument
229 int32_t numSamples = channelCount * numFrames; in MyDataCallbackProc()
[all …]
/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;
DAudioSource.h37 virtual int getData(long time, float * buff, int numFrames,
DWaveTableOscillator.h34 int getData(long time, float* outBuff, int numFrames, int outChans);
/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.java61 int numFrames = smplFloatBuff.length / numChans; in connectWaveView() local
62 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/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1072 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() local
1076 numFrames); in testReprocessRequestKeys()
1077 setupReprocessableSession(/*previewSurface*/null, numFrames); in testReprocessRequestKeys()
1080 ArrayList<CaptureRequest> reprocessRequests = new ArrayList<>(numFrames); in testReprocessRequestKeys()
1082 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
1109 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java103 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument
105 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()
106 final double rad = numCycles * 2.0 * Math.PI / numFrames; in createSineWavesShort()
DAdaptivePlaybackTest.java1254 private Media(MediaFormat format, MediaFormat adaptiveFormat, int numFrames) {
1259 mFrames = new Frame[numFrames];
1346 public static Media read(Context context, int video, int numFrames)
1354 extractor.getTrackFormat(0), extractor.getTrackFormat(0), numFrames);
1369 for (int ix = 0; ix < numFrames; ix++) {
DMediaMuxerTest.java865 private void checkNumFramesTimestamp(long seekTimeUs, long offsetTimeUs, int numFrames, in checkNumFramesTimestamp() argument
871 while (numFrames-- > 0 ) { in checkNumFramesTimestamp()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java93 int numFrames, in startBenchmark() argument
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java2463 int numFrames = 0; in doStagefrightTestRawBlob() local
2465 numFrames = frameSizes.length; in doStagefrightTestRawBlob()
2468 if (0 == numFrames) { in doStagefrightTestRawBlob()
2476 for (int j = 0; j < numFrames; j++) { in doStagefrightTestRawBlob()
2482 if(j == (numFrames - 1)) { in doStagefrightTestRawBlob()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java674 RunResult(int numFrames, double durationMs) { in RunResult() argument
675 mNumFrames = numFrames; in RunResult()
680 RunResult(int numFrames, double durationMs, double rmsError) { in RunResult() argument
681 mNumFrames = numFrames; in RunResult()