Home
last modified time | relevance | path

Searched refs:mGrowthLimit (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp36 mGrowthLimit(growthLimit) { in MediaBufferGroup()
40 : mGrowthLimit(growthLimit) { in MediaBufferGroup()
42 if (mGrowthLimit > 0 && buffers > mGrowthLimit) { in MediaBufferGroup()
44 buffers, mGrowthLimit); in MediaBufferGroup()
45 mGrowthLimit = buffers; in MediaBufferGroup()
113 mGrowthLimit > 0 in add_buffer()
114 && mBuffers.size() >= mGrowthLimit in add_buffer()
130 if (mBuffers.size() < mGrowthLimit) { in has_buffers()
162 && (free != mBuffers.end() || mBuffers.size() < mGrowthLimit)) { in acquire_buffer()
/frameworks/av/media/libstagefright/include/
DMediaBufferGroup.h64 size_t mGrowthLimit; // Do not automatically grow group larger than this. variable