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.cpp358 AImageReader_delete(mImgReader); in ~ImageReaderTestCase()
364 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
365 ALOGE("Cannot re-initalize image reader, mImgReader=%p, mImgReaderAnw=%p", mImgReader, in initImageReader()
371 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
372 if (ret != AMEDIA_OK || mImgReader == nullptr) { in initImageReader()
373 ALOGE("Failed to create new AImageReader, ret=%d, mImgReader=%p", ret, mImgReader); in initImageReader()
377 ret = AImageReader_setImageListener(mImgReader, &mReaderAvailableCb); in initImageReader()
383 ret = AImageReader_setBufferRemovedListener(mImgReader, &mReaderDetachedCb); in initImageReader()
389 ret = AImageReader_getWindowNativeHandle(mImgReader, &mImgReaderAnw); in initImageReader()
531 AImageReader* mImgReader = nullptr; member in __anonf6f562510111::ImageReaderTestCase