Searched refs:mMaxBufferSize (Results 1 – 4 of 4) sorted by relevance
27 private final int mMaxBufferSize; field in BufferPool34 mMaxBufferSize = maxBufferSize; in BufferPool()83 if (capacity > mMaxBufferSize) { in chooseCapacity()84 if (needed > mMaxBufferSize) { in chooseCapacity()86 + " is larger than maximum buffer size " + mMaxBufferSize + "."); in chooseCapacity()88 capacity = mMaxBufferSize; in chooseCapacity()
168 size_t mMaxBufferSize; variable174 RingBuffer<T>::RingBuffer(size_t length) : mFrontIdx{0}, mMaxBufferSize{length} {} in RingBuffer()266 if (mBuffer.size() < mMaxBufferSize) { in add()268 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize); in add()273 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize); in add()278 if (mBuffer.size() != mMaxBufferSize) { in add()280 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize); in add()286 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize); in add()292 if (mBuffer.size() != mMaxBufferSize) { in emplace()294 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize); in emplace()[all …]
144 size_t mMaxBufferSize; member in android::FLACParser454 mMaxBufferSize(0), in FLACParser()569 mMaxBufferSize = getMaxBlockSize() * getChannels() * getOutputSampleSize(); in allocateBuffers()570 AMediaFormat_setInt32(mTrackMetadata, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, mMaxBufferSize); in allocateBuffers()571 mGroup->add_buffer(mMaxBufferSize); in allocateBuffers()621 CHECK(bufferSize <= mMaxBufferSize); in readBuffer()