• Home
  • Raw
  • Download

Lines Matching refs:AImageReader

43 const char* AImageReader::kCallbackFpKey = "Callback";
44 const char* AImageReader::kContextKey = "Context";
45 const char* AImageReader::kGraphicBufferKey = "GraphicBuffer";
52 AImageReader::isSupportedFormatAndUsage(int32_t format, uint64_t usage) { in isSupportedFormatAndUsage()
87 AImageReader::getNumPlanesForFormat(int32_t format) { in getNumPlanesForFormat()
118 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable()
119 sp<AImageReader> reader = mReader.promote(); in onFrameAvailable()
129 sp<AMessage> msg = new AMessage(AImageReader::kWhatImageAvailable, reader->mHandler); in onFrameAvailable()
130 msg->setPointer(AImageReader::kCallbackFpKey, (void *) mListener.onImageAvailable); in onFrameAvailable()
131 msg->setPointer(AImageReader::kContextKey, mListener.context); in onFrameAvailable()
136 AImageReader::FrameListener::setImageListener(AImageReader_ImageListener* listener) { in setImageListener()
148 AImageReader::BufferRemovedListener::onBufferFreed(const wp<GraphicBuffer>& graphicBuffer) { in onBufferFreed()
149 sp<AImageReader> reader = mReader.promote(); in onBufferFreed()
165 sp<AMessage> msg = new AMessage(AImageReader::kWhatBufferRemoved, reader->mHandler); in onBufferFreed()
167 AImageReader::kCallbackFpKey, (void*) mListener.onBufferRemoved); in onBufferFreed()
168 msg->setPointer(AImageReader::kContextKey, mListener.context); in onBufferFreed()
169 msg->setObject(AImageReader::kGraphicBufferKey, gBuffer); in onBufferFreed()
174 AImageReader::BufferRemovedListener::setBufferRemovedListener( in setBufferRemovedListener()
187 AImageReader::setImageListenerLocked(AImageReader_ImageListener* listener) { in setImageListenerLocked()
192 AImageReader::setImageListener(AImageReader_ImageListener* listener) { in setImageListener()
198 AImageReader::setBufferRemovedListenerLocked(AImageReader_BufferRemovedListener* listener) { in setBufferRemovedListenerLocked()
203 AImageReader::setBufferRemovedListener(AImageReader_BufferRemovedListener* listener) { in setBufferRemovedListener()
208 void AImageReader::CallbackHandler::onMessageReceived( in onMessageReceived()
264 AImageReader::AImageReader(int32_t width, in AImageReader() function in AImageReader
278 AImageReader::~AImageReader() { in ~AImageReader()
284 AImageReader::init() { in init()
358 void AImageReader::close() { in close()
409 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked()
507 AImageReader::getBufferItemLocked() { in getBufferItemLocked()
519 AImageReader::returnBufferItemLocked(BufferItem* buffer) { in returnBufferItemLocked()
524 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache) { in releaseImageLocked()
569 media_status_t AImageReader::getWindowNativeHandle(native_handle **handle) { in getWindowNativeHandle()
589 AImageReader::getBufferWidth(BufferItem* buffer) { in getBufferWidth()
600 AImageReader::getBufferHeight(BufferItem* buffer) { in getBufferHeight()
611 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage()
617 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage()
681 /*out*/AImageReader** reader) { in AImageReader_new()
691 AImageReader *reader, /*out*/native_handle_t **handle) { in AImageReader_getWindowNativeHandle()
703 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage()
724 if (!AImageReader::isSupportedFormatAndUsage(format, usage)) { in AImageReader_newWithUsage()
735 AImageReader* tmpReader = new AImageReader( in AImageReader_newWithUsage()
753 void AImageReader_delete(AImageReader* reader) { in AImageReader_delete()
763 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) { in AImageReader_getWindow()
775 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) { in AImageReader_getWidth()
787 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) { in AImageReader_getHeight()
799 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) { in AImageReader_getFormat()
811 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) { in AImageReader_getMaxImages()
823 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) { in AImageReader_acquireNextImage()
829 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) { in AImageReader_acquireLatestImage()
836 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) { in AImageReader_acquireNextImageAsync()
848 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) { in AImageReader_acquireLatestImageAsync()
860 AImageReader* reader, AImageReader_ImageListener* listener) { in AImageReader_setImageListener()
873 AImageReader* reader, AImageReader_BufferRemovedListener* listener) { in AImageReader_setBufferRemovedListener()