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 …]
123 size_t mMaxBufferSize; member in android::FLACParser493 mMaxBufferSize(0), in FLACParser()637 mMaxBufferSize = getMaxBlockSize() * getChannels() * sizeof(short); in allocateBuffers()638 mGroup->add_buffer(new MediaBuffer(mMaxBufferSize)); in allocateBuffers()691 CHECK(bufferSize <= mMaxBufferSize); in readBuffer()