/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 45 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy() 73 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer() 142 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in obtainBuffer() 145 "shutting down", filled, mFrameCount); in obtainBuffer() 156 size_t avail = mIsOut ? mFrameCount - filled : filled; in obtainBuffer() 170 if (part1 > buffer->mFrameCount) { in obtainBuffer() 171 part1 = buffer->mFrameCount; in obtainBuffer() 173 buffer->mFrameCount = part1; in obtainBuffer() 263 buffer->mFrameCount = 0; in obtainBuffer() 285 size_t stepCount = buffer->mFrameCount; in releaseBuffer() [all …]
|
D | AudioRecord.cpp | 254 mLatency = (1000*mFrameCount) / sampleRate; in set() 565 mFrameCount = frameCount; in openRecord_l() 573 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in openRecord_l() 651 buffer.mFrameCount = 0; in obtainBuffer() 672 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer() 678 audioBuffer->frameCount = buffer.mFrameCount; in obtainBuffer() 679 audioBuffer->size = buffer.mFrameCount * mFrameSize; in obtainBuffer() 697 buffer.mFrameCount = stepCount; in releaseBuffer()
|
D | AudioTrack.cpp | 725 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop() 812 if (position > mFrameCount) { in setPosition() 830 mStaticProxy->setLoop(position, mFrameCount, 0); in setPosition() 899 mStaticProxy->setLoop(0, mFrameCount, 0); in reload() 1223 mFrameCount = frameCount; in createTrack_l() 1320 buffer.mFrameCount = 0; in obtainBuffer() 1335 buffer.mFrameCount = 0; in obtainBuffer() 1348 buffer.mFrameCount = audioBuffer->frameCount; in obtainBuffer() 1354 audioBuffer->frameCount = buffer.mFrameCount; in obtainBuffer() 1355 audioBuffer->size = buffer.mFrameCount * mFrameSizeAF; in obtainBuffer() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Interpolator.java | 25 mFrameCount = 2; in Interpolator() 31 mFrameCount = frameCount; in Interpolator() 51 mFrameCount = frameCount; in reset() 56 return mFrameCount; in getKeyFrameCount() 88 if (index < 0 || index >= mFrameCount) { in setKeyFrame() 153 private int mFrameCount; field in Interpolator
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.cpp | 23 mFrameCount(0) { in RepeaterSource() 42 int64_t nextTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in setFrameRate() 44 mFrameCount = 0; in setFrameRate() 61 mFrameCount = 0; in start() 129 bufferTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in read() 159 ++mFrameCount; in read() 168 mFrameCount = 0; in read()
|
D | RepeaterSource.h | 58 int32_t mFrameCount; member
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 92 const size_t frameCount = current->mFrameCount; in onStateChange() 126 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange() 151 dumpState->mFrameCount = frameCount; in onStateChange() 161 const size_t frameCount = current->mFrameCount; in onWork() 215 mReadSequence(0), mFramesRead(0), mReadErrors(0), mSampleRate(0), mFrameCount(0) in FastCaptureDumpState()
|
D | Tracks.cpp | 92 mFrameCount(frameCount), in TrackBase() 256 buf.mFrameCount = buffer->frameCount; in releaseBuffer() 576 mFrameCount, in dump() 600 buf.mFrameCount = desiredFrames; in getNextBuffer() 602 buffer->frameCount = buf.mFrameCount; in getNextBuffer() 604 if (buf.mFrameCount == 0) { in getNextBuffer() 645 if (framesReady() >= mFrameCount || in isReady() 714 buffer.mFrameCount = 1; in start() 1674 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize, in OutputTrack() 1728 if (mFrameCount > frames) { in write() [all …]
|
D | FastMixer.cpp | 141 const size_t frameCount = current->mFrameCount; in onStateChange() 170 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) { in onStateChange() 214 dumpState->mFrameCount = frameCount; in onStateChange() 326 const size_t frameCount = current->mFrameCount; in onWork() 466 mSampleRate(0), mFrameCount(0), in FastMixerDumpState() 546 double mixPeriodSec = (double) mFrameCount / (double) mSampleRate; in dump() 553 mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, in dump()
|
D | FastCaptureState.cpp | 22 mInputSource(NULL), mInputSourceGen(0), mPipeSink(NULL), mPipeSinkGen(0), mFrameCount(0) in FastCaptureState()
|
D | FastCaptureState.h | 37 size_t mFrameCount; // number of frames per fast capture buffer member
|
D | FastMixerState.cpp | 34 mFrameCount(0), mTeeSink(NULL) in FastMixerState()
|
D | FastMixerState.h | 65 size_t mFrameCount; // number of frames per fast mix buffer member
|
D | FastCapture.h | 37 size_t mFrameCount; member
|
D | FastMixerDumpState.h | 80 size_t mFrameCount; member
|
D | Threads.cpp | 587 dprintf(fd, " HAL frame count: %zu\n", mFrameCount); in dumpBase() 1385 (frameCount >= mFrameCount)) in createTrack_l() 1410 frameCount = mFrameCount * sFastTrackMultiplier; in createTrack_l() 1413 frameCount, mFrameCount); in createTrack_l() 1419 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, in createTrack_l() 1836 mFrameCount = mBufferSize / mFrameSize; in readOutputParameters_l() 1837 if (mFrameCount & 15) { in readOutputParameters_l() 1839 mFrameCount); in readOutputParameters_l() 1876 multiplier = (double) minNormalFrameCount / (double) mFrameCount; in readOutputParameters_l() 1880 if (2 * mFrameCount <= maxNormalFrameCount) { in readOutputParameters_l() [all …]
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequence.java | 32 private final int mFrameCount; field in FrameSequence 38 public int getFrameCount() { return mFrameCount; } in getFrameCount() 56 mFrameCount = frameCount; in FrameSequence()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 149 mFrameCount = 0; in start() 231 if (mFrameCount == 0) { in read() 236 ++mFrameCount; in read() 238 } else if (mFrameCount == 1) { in read() 322 ((mFrameCount - 1) * 1000000LL * kNumSamplesPerFrame) / mSampleRate; in read() 328 ++mFrameCount; in read()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 493 private int mFrameCount; field in BackDropperFilter 693 mFrameCount = 0; in allocateFrames() 710 mFrameCount = 0; in process() 755 if (mFrameCount <= mLearningDuration) { in process() 759 if (mFrameCount == mLearningDuration - mLearningVerifyDuration) { in process() 768 } else if (mFrameCount > mLearningDuration - mLearningVerifyDuration) { in process() 778 if (mFrameCount == mLearningDuration) { in process() 810 if (mFrameCount < mLearningDuration - mLearningVerifyDuration || in process() 840 mFrameCount++; in process() 843 if (mFrameCount % 30 == 0) { in process()
|
/frameworks/av/services/camera/libcameraservice/device2/ |
D | Camera2Device.cpp | 632 mFrameCount(0), in MetadataQueue() 729 ATRACE_INT("cam2_request", mFrameCount); in dequeue() 738 *frameCount.data.i32 = mFrameCount; in dequeue() 740 mFrameCount++; in dequeue() 857 result.appendFormat(" Current frame number: %d\n", mFrameCount); in dump() 1011 mFrameCount(0), in StreamAdapter() 1150 mFrameCount = 0; in connectToDevice() 1267 mFrameCount, mLastTimestamp); in dump() 1314 stream->mFrameCount++; in enqueue_buffer() 1316 stream->mId, stream->mFrameCount, (void*)(*buffer), timestamp); in enqueue_buffer() [all …]
|
D | Camera2Device.h | 147 int mFrameCount; variable 249 uint32_t mFrameCount; variable 337 uint32_t mFrameCount; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3IOStreamBase.cpp | 39 mFrameCount(0), in Camera3IOStreamBase() 77 mFrameCount, mLastTimestamp); in dump()
|
D | Camera3IOStreamBase.h | 56 uint32_t mFrameCount; variable
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 223 size_t frameCount() const { return mFrameCount; } in frameCount() 485 size_t mFrameCount; // corresponds to current IAudioRecord, value is variable
|
/frameworks/av/media/libstagefright/include/ |
D | AACEncoder.h | 54 int32_t mFrameCount; variable
|