Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h105 mNumFrames(frames),
112 : mAddr(NULL), mNumFrames(0), mFrameSize(0),
125 if (requestedFrames > mNumFrames - mNextFrame) {
126 buffer->frameCount = mNumFrames - mNextFrame;
141 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount);
177 return mNumFrames;
183 size_t mNumFrames; // total frames
260 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
268 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
283 (void) sf_readf_float(sf, (float *) mAddr, mNumFrames);
[all …]
Dtest-resampler.cpp264 const size_t mNumFrames; // total frames in main() member in main::Provider
273 mNumFrames(frames), in main()
279 if (requestedFrames > mNumFrames - mNextFrame) { in main()
280 buffer->frameCount = mNumFrames - mNextFrame; in main()
295 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_fuzz_utils.h27 const size_t mNumFrames; // total frames variable
34 mNumFrames(frames), in Provider()
39 if (buffer->frameCount > mNumFrames - mNextFrame) { in getNextBuffer()
40 buffer->frameCount = mNumFrames - mNextFrame; in getNextBuffer()
/frameworks/base/core/java/android/hardware/display/
DDisplayedContentSample.java23 private long mNumFrames; field in DisplayedContentSample
53 mNumFrames = numFrames; in DisplayedContentSample()
94 return mNumFrames; in getNumFrames()
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp183 int* numFrames = const_cast<int*>(mNumFrames); in updateStatsLocked()
215 mNumFrames[i] = 0; in resetFrameCountersLocked()
221 if (mNumFrames[i] > 0) { in logStatsLocked()
222 EventLog::logFrameDurations(name, mNumFrames, NUM_FRAME_BUCKETS); in logStatsLocked()
DFrameTracker.h150 int32_t mNumFrames[NUM_FRAME_BUCKETS]; variable
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java47 private int mNumFrames = 0; field in Encoder
229 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in encode()
396 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in onInputAvailable()
407 if (mNumInputFrame >= mNumFrames - 1 || bytesToRead == 0) { in onInputAvailable()