Lines Matching defs:AImageReader
50 struct AImageReader : public RefBase { struct
91 // Called by AImage/~AImageReader to close image. Caller is responsible to grab AImage::mLock argument
110 CallbackHandler(AImageReader* reader) : mReader(reader) {} in CallbackHandler() argument
125 // TODO(jwcai) Seems completely unused in AImageReader class. argument
130 explicit FrameListener(AImageReader* parent) : mReader(parent) {} in FrameListener() argument
145 explicit BufferRemovedListener(AImageReader* parent) : mReader(parent) {} in BufferRemovedListener() argument
156 sp<BufferRemovedListener> mBufferRemovedListener;
158 int mHalFormat;
159 android_dataspace mHalDataSpace;
160 uint64_t mHalUsage;
162 sp<IGraphicBufferProducer> mProducer;
163 sp<Surface> mSurface;
164 sp<BufferItemConsumer> mBufferItemConsumer;
165 sp<ANativeWindow> mWindow;
166 native_handle_t* mWindowHandle = nullptr;
168 List<AImage*> mAcquiredImages;
169 bool mIsClosed = false;
171 Mutex mLock;