Lines Matching refs:mMaxFrames
37 mMaxFrames(roundup(reqFrames)),
38 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
93 // uses mMaxFrames not mReqFrames, so allows "over-filling" the pipe beyond requested limit
94 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront));
95 ALOG_ASSERT((0 <= ret) && (ret <= mMaxFrames));
112 size_t rear = mRear & (mMaxFrames - 1);
113 size_t part1 = mMaxFrames - rear;
119 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
137 size_t filled = (mMaxFrames - avail) + written;
226 size_t pendingFrames = (mRear - front) & (mMaxFrames - 1);