Home
last modified time | relevance | path

Searched refs:mImgReader (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/
DrsGrallocConsumer.cpp50 mNumAlloc, &mImgReader); in GrallocConsumer()
51 if (ret != AMEDIA_OK || mImgReader == nullptr) { in GrallocConsumer()
55 ret = AImageReader_getWindow(mImgReader, &mNativeWindow); in GrallocConsumer()
61 ret = AImageReader_setImageListener(mImgReader, &mReaderCb); in GrallocConsumer()
69 AImageReader_delete(mImgReader); in ~GrallocConsumer()
105 ret = AImageReader_acquireNextImage(mImgReader, &(mAcquiredBuffer[idx].mImg)); in lockNextBuffer()
108 __FUNCTION__, mImgReader, ret, mAcquiredBuffer[idx].mImg); in lockNextBuffer()
DrsGrallocConsumer.h60 AImageReader* mImgReader; variable
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp356 AImageReader_delete(mImgReader); in ~ImageReaderTestCase()
362 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
363 ALOGE("Cannot re-initalize image reader, mImgReader=%p, mImgReaderAnw=%p", mImgReader, in initImageReader()
369 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
370 if (ret != AMEDIA_OK || mImgReader == nullptr) { in initImageReader()
371 ALOGE("Failed to create new AImageReader, ret=%d, mImgReader=%p", ret, mImgReader); in initImageReader()
375 ret = AImageReader_setImageListener(mImgReader, &mReaderAvailableCb); in initImageReader()
381 ret = AImageReader_setBufferRemovedListener(mImgReader, &mReaderDetachedCb); in initImageReader()
387 ret = AImageReader_getWindowNativeHandle(mImgReader, &mImgReaderAnw); in initImageReader()
529 AImageReader* mImgReader = nullptr; member in __anon8dd8b5b30111::ImageReaderTestCase