Home
last modified time | relevance | path

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

/frameworks/rs/
DrsGrallocConsumer.cpp29 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()
[all …]
DrsGrallocConsumer.h73 AcquiredBuffer *mAcquiredBuffer; variable