Home
last modified time | relevance | path

Searched refs:AImageReader (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/ndk/include/media/
DNdkImageReader.h51 typedef struct AImageReader AImageReader; typedef
91 /*out*/AImageReader** reader);
103 void AImageReader_delete(AImageReader* reader);
117 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window);
133 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width);
149 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height);
162 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format);
175 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages);
211 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image);
255 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image);
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp42 const char* AImageReader::kCallbackFpKey = "Callback";
43 const char* AImageReader::kContextKey = "Context";
44 const char* AImageReader::kGraphicBufferKey = "GraphicBuffer";
47 AImageReader::isSupportedFormatAndUsage(int32_t format, uint64_t usage) { in isSupportedFormatAndUsage()
76 AImageReader::getNumPlanesForFormat(int32_t format) { in getNumPlanesForFormat()
101 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable()
103 sp<AImageReader> reader = mReader.promote(); in onFrameAvailable()
112 sp<AMessage> msg = new AMessage(AImageReader::kWhatImageAvailable, reader->mHandler); in onFrameAvailable()
113 msg->setPointer(AImageReader::kCallbackFpKey, (void *) mListener.onImageAvailable); in onFrameAvailable()
114 msg->setPointer(AImageReader::kContextKey, mListener.context); in onFrameAvailable()
[all …]
DNdkImageReaderPriv.h50 struct AImageReader : public RefBase { struct
55 AImageReader(int32_t width,
60 ~AImageReader();
107 CallbackHandler(AImageReader* reader) : mReader(reader) {} in CallbackHandler() argument
110 AImageReader* mReader;
127 explicit FrameListener(AImageReader* parent) : mReader(parent) {} in FrameListener() argument
135 wp<AImageReader> mReader;
142 explicit BufferRemovedListener(AImageReader* parent) : mReader(parent) {} in BufferRemovedListener() argument
150 wp<AImageReader> mReader;
DNdkImagePriv.h35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
70 friend struct AImageReader; // for reader to access mBuffer
75 wp<AImageReader> mReader;
DOWNERS2 # For AImage/AImageReader
DNdkImage.cpp34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage()
60 sp<AImageReader> reader = mReader.promote(); in close()
86 sp<AImageReader> reader = mReader.promote(); in lockReader()
96 sp<AImageReader> reader = mReader.promote(); in unlockReader()
/frameworks/rs/
DrsGrallocConsumer.h51 static void onFrameAvailable(void* obj, AImageReader* reader);
60 AImageReader* mImgReader;
DrsGrallocConsumer.cpp72 void GrallocConsumer::onFrameAvailable(void* obj, AImageReader* reader) { in onFrameAvailable()