/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | NativeAudioAnalyzer.cpp | 29 int32_t NativeAudioAnalyzer::readFormattedData(int32_t numFrames) { in readFormattedData() argument 33 numFrames, in readFormattedData() 37 numFrames, in readFormattedData() 60 int32_t numFrames in dataCallbackProc() argument 68 if (numFrames > mInputFramesMaximum) { in dataCallbackProc() 69 … ALOGE("%s() numFrames:%d > mInputFramesMaximum:%d", __func__, numFrames, mInputFramesMaximum); in dataCallbackProc() 74 if (numFrames > mMaxNumFrames) { in dataCallbackProc() 75 mMaxNumFrames = numFrames; in dataCallbackProc() 77 if (numFrames < mMinNumFrames) { in dataCallbackProc() 78 mMinNumFrames = numFrames; in dataCallbackProc() [all …]
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | NativeAudioSink.java | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSinkPtr, numFrames, numChans); in init() 44 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 45 pushN(mNativeSinkPtr, audioData, numFrames, numChans); in push() 48 private native void initN(long nativeSinkPtr, int numFrames, int numChans); in initN() argument 51 private native void pushN(long nativeSinkPtr, float[] audioData, int numFrames, int numChans); in pushN() argument
|
D | AudioSink.java | 24 public void init(int numFrames, int numChans) {} in init() argument 37 abstract public void push(final float[] audioData, int numFrames, int numChans); in push() argument
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | NativeAudioSource.java | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSourcePtr, numFrames, numChans); in init() 45 public int pull(float[] audioData, int numFrames, int numChans) { in pull() argument 46 return pullN(mNativeSourcePtr, audioData, numFrames, numChans); in pull() 49 private native void initN(long nativeSourcePtr, int numFrames, int numChans); in initN() argument 52 private native int pullN(long nativeSourcePtr, float[] audioData, int numFrames, int numChans); in pullN() argument
|
D | AudioSource.java | 26 public void init(int numFrames, int numChans) {} in init() argument 52 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
|
/cts/tests/openglperf2/jni/reference/ |
D | GLReference.cpp | 26 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/jni/megaaudio/player/ |
D | BlipAudioSource.cpp | 36 int BlipAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 43 memset(buffer, 0, numFrames * numChans * sizeof(float)); in pull() 45 WaveTableSource::pull(buffer, numFrames, numChans); in pull() 46 mNumPendingPulseFrames -= numFrames; in pull() 48 return numFrames; in pull()
|
D | SilenceAudioSource.cpp | 20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 21 memset(buffer, 0, sizeof(float) * numFrames * numChans); in pull() 22 return numFrames; in pull()
|
D | NoiseAudioSource.cpp | 26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 27 int numSamples = numFrames * numChans; in pull() 32 return numFrames; in pull()
|
D | NativeAudioSource.cpp | 52 int numFrames = audioSource->pull(sAudioBuffer, num_frames, num_chans); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() local 55 env->SetFloatArrayRegion(audio_data, 0, numFrames * num_chans, sAudioBuffer); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() 57 return numFrames; in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN()
|
D | AudioSource.h | 44 virtual void init(int numFrames, int numChans) {} in init() argument 63 virtual int pull(float* buffer, int numFrames, int numChans) = 0;
|
D | JavaSourceProxy.cpp | 83 void JavaSourceProxy::init(int numFrames, int numChans) { in init() argument 86 mJavaBuffer = env->NewFloatArray(numFrames * numChans); in init() 110 int JavaSourceProxy::pull(float* buffer, int numFrames, int numChans) { in pull() argument 113 … int numFilledFrames = env->CallIntMethod(mSourceObj, sMidPull, mJavaBuffer, numFrames, numChans); in pull()
|
D | JavaSourceProxy.h | 34 virtual void init(int numFrames, int numChans); 41 virtual int pull(float* buffer, int numFrames, int numChans);
|
D | WaveTableSource.cpp | 54 int WaveTableSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 57 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull() 78 return numFrames; in pull()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/ |
D | BlipAudioSource.java | 54 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 58 super.pull(buffer, numFrames, numChans); in pull() 59 mNumPendingPulseFrames -= numFrames; in pull() 61 return numFrames; in pull()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 55 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()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | AImageDecoderTest.kt | 156 numFrames: Int, in <lambda>() 197 assertTrue(i < numFrames, "Unexpected frame $i in $image") in <lambda>() 201 assertEquals(i, numFrames, "Expected $numFrames frames in $image; found $i") in <lambda>() 224 fun testDecodeFrames(image: String, frameName: String, numFrames: Int) { in <lambda>() 225 decodeAndCropFrames(image, frameName, numFrames, 1.0f, Crop.None, .955) in <lambda>() 230 fun testDecodeFramesScaleDown(image: String, frameName: String, numFrames: Int) { in <lambda>() 234 decodeAndCropFrames(image, frameName, numFrames, .5f, Crop.None, .749, in <lambda>() 240 fun testDecodeFramesScaleDown2(image: String, frameName: String, numFrames: Int) { in <lambda>() 241 decodeAndCropFrames(image, frameName, numFrames, .75f, Crop.None, .749) in <lambda>() 246 fun testDecodeFramesScaleUp(image: String, frameName: String, numFrames: Int) { in <lambda>() [all …]
|
/cts/tests/tests/media/audio/jni/ |
D | WaveTableOscillator.cpp | 47 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()
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | AudioSink.h | 24 virtual void init(int numFrames, int numChannels) {} in init() argument 28 virtual void push(float* audioData, int numFrames, int numChannels) = 0;
|
D | AppCallbackAudioSink.cpp | 32 void AppCallbackAudioSink::init(int numFrames, int numChannels) { in init() argument 40 mAudioDataArrayLength = numChannels * numFrames; in init() 67 void AppCallbackAudioSink::push(float* audioData, int numFrames, int numChannels) { in push() argument 81 env->CallVoidMethod(mCallbackObj, mMIDonDataReady, mAudioDataArray, numFrames); in push()
|
D | AppCallbackAudioSink.h | 28 virtual void init(int numFrames, int numChannels) override; 32 virtual void push(float* audioData, int numFrames, int numChannels) override;
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | SilenceAudioSource.java | 31 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 34 return numFrames; in pull()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/sinks/ |
D | AppCallbackAudioSink.java | 30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 31 mCallback.onDataReady(audioData, numFrames); in push()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_callback.cpp | 129 void updateFrameCount(int32_t numFrames) { in updateFrameCount() 130 if (numFrames != expectedFramesPerCallback) { in updateFrameCount() 132 actualFramesPerCallback = numFrames; in updateFrameCount() 135 actualFramesPerCallback = numFrames; in updateFrameCount() 191 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 195 AAudioStream* /*stream*/, void *userData, void* /*audioData*/, int32_t numFrames) { in MyDataCallbackProc() argument 197 myData->updateFrameCount(numFrames); in MyDataCallbackProc() 327 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 335 int32_t numFrames) { in MyDataCallbackProc() argument 337 int32_t numSamples = channelCount * numFrames; in MyDataCallbackProc() [all …]
|
/cts/tests/openglperf2/jni/primitive/ |
D | GLPrimitive.cpp | 43 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()
|