• 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";
51 /*out*/ AImageReader**& reader);
55 AImageReader::isSupportedFormatAndUsage(int32_t format, uint64_t usage) { in isSupportedFormatAndUsage()
90 AImageReader::getNumPlanesForFormat(int32_t format) { in getNumPlanesForFormat()
121 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable()
122 sp<AImageReader> reader = mReader.promote(); in onFrameAvailable()
132 sp<AMessage> msg = new AMessage(AImageReader::kWhatImageAvailable, reader->mHandler); in onFrameAvailable()
133 msg->setPointer(AImageReader::kCallbackFpKey, (void *) mListener.onImageAvailable); in onFrameAvailable()
134 msg->setPointer(AImageReader::kContextKey, mListener.context); in onFrameAvailable()
139 AImageReader::FrameListener::setImageListener(AImageReader_ImageListener* listener) { in setImageListener()
151 AImageReader::BufferRemovedListener::onBufferFreed(const wp<GraphicBuffer>& graphicBuffer) { in onBufferFreed()
152 sp<AImageReader> reader = mReader.promote(); in onBufferFreed()
168 sp<AMessage> msg = new AMessage(AImageReader::kWhatBufferRemoved, reader->mHandler); in onBufferFreed()
170 AImageReader::kCallbackFpKey, (void*) mListener.onBufferRemoved); in onBufferFreed()
171 msg->setPointer(AImageReader::kContextKey, mListener.context); in onBufferFreed()
172 msg->setObject(AImageReader::kGraphicBufferKey, gBuffer); in onBufferFreed()
177 AImageReader::BufferRemovedListener::setBufferRemovedListener( in setBufferRemovedListener()
190 AImageReader::setImageListenerLocked(AImageReader_ImageListener* listener) { in setImageListenerLocked()
195 AImageReader::setImageListener(AImageReader_ImageListener* listener) { in setImageListener()
201 AImageReader::setBufferRemovedListenerLocked(AImageReader_BufferRemovedListener* listener) { in setBufferRemovedListenerLocked()
206 AImageReader::setBufferRemovedListener(AImageReader_BufferRemovedListener* listener) { in setBufferRemovedListener()
211 void AImageReader::CallbackHandler::onMessageReceived( in onMessageReceived()
267 AImageReader::AImageReader(int32_t width, in AImageReader() function in AImageReader
285 AImageReader::~AImageReader() { in ~AImageReader()
291 AImageReader::init() { in init()
362 void AImageReader::close() { in close()
413 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked()
511 AImageReader::getBufferItemLocked() { in getBufferItemLocked()
523 AImageReader::returnBufferItemLocked(BufferItem* buffer) { in returnBufferItemLocked()
528 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache) { in releaseImageLocked()
576 media_status_t AImageReader::getWindowNativeHandle(native_handle **handle) { in getWindowNativeHandle()
596 AImageReader::getBufferWidth(BufferItem* buffer) { in getBufferWidth()
607 AImageReader::getBufferHeight(BufferItem* buffer) { in getBufferHeight()
618 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage()
624 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage()
661 /*out*/ AImageReader**& reader) { in validateParameters()
685 if (!AImageReader::isSupportedFormatAndUsage(format, usage)) { in validateParameters()
723 /*out*/AImageReader** reader) { in AImageReader_new()
733 AImageReader *reader, /*out*/native_handle_t **handle) { in AImageReader_getWindowNativeHandle()
746 /*out*/ AImageReader** reader) { in AImageReader_newWithDataSpace()
758 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage()
767 AImageReader* tmpReader = new AImageReader( in AImageReader_newWithUsage()
785 void AImageReader_delete(AImageReader* reader) { in AImageReader_delete()
795 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) { in AImageReader_getWindow()
807 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) { in AImageReader_getWidth()
819 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) { in AImageReader_getHeight()
831 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) { in AImageReader_getFormat()
843 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) { in AImageReader_getMaxImages()
855 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) { in AImageReader_acquireNextImage()
861 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) { in AImageReader_acquireLatestImage()
868 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) { in AImageReader_acquireNextImageAsync()
880 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) { in AImageReader_acquireLatestImageAsync()
892 AImageReader* reader, AImageReader_ImageListener* listener) { in AImageReader_setImageListener()
905 AImageReader* reader, AImageReader_BufferRemovedListener* listener) { in AImageReader_setBufferRemovedListener()