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.cpp263 const size_t mNumFrames; // total frames in main() member in main::Provider
272 mNumFrames(frames), in main()
278 if (requestedFrames > mNumFrames - mNextFrame) { in main()
279 buffer->frameCount = mNumFrames - mNextFrame; in main()
294 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
/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/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp58 const size_t mNumFrames; // total frames member in Provider
65 mNumFrames(frames), in Provider()
70 if (buffer->frameCount > mNumFrames - mNextFrame) { in getNextBuffer()
71 buffer->frameCount = mNumFrames - mNextFrame; in getNextBuffer()
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp187 int* numFrames = const_cast<int*>(mNumFrames); in updateStatsLocked()
219 mNumFrames[i] = 0; in resetFrameCountersLocked()
225 if (mNumFrames[i] > 0) { in logStatsLocked()
226 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; field in Encoder
149 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in encode()
295 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in onInputAvailable()
306 if (mNumInputFrame >= mNumFrames - 1 || bytesToRead == 0) { in onInputAvailable()