Lines Matching refs:mAcquiredBuffer
29 mAcquiredBuffer = new AcquiredBuffer[numAlloc]; in GrallocConsumer()
71 delete[] mAcquiredBuffer; in ~GrallocConsumer()
98 if (mAcquiredBuffer[idx].mImg != nullptr) { in lockNextBuffer()
105 ret = AImageReader_acquireNextImage(mImgReader, &(mAcquiredBuffer[idx].mImg)); in lockNextBuffer()
106 if (ret != AMEDIA_OK || mAcquiredBuffer[idx].mImg == nullptr) { in lockNextBuffer()
108 __FUNCTION__, mImgReader, ret, mAcquiredBuffer[idx].mImg); in lockNextBuffer()
112 AImage *img = mAcquiredBuffer[idx].mImg; in lockNextBuffer()
159 mAcquiredBuffer[idx].mBufferPointer = data; in lockNextBuffer()
241 if (mAcquiredBuffer[idx].mImg == nullptr) { in unlockBuffer()
245 AImage_delete(mAcquiredBuffer[idx].mImg); in unlockBuffer()
246 mAcquiredBuffer[idx].mImg = nullptr; in unlockBuffer()