Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/include/media/
DNdkImageReader.h54 typedef struct AImageReader AImageReader; typedef
96 /*out*/AImageReader** reader) __INTRODUCED_IN(24);
110 void AImageReader_delete(AImageReader* reader) __INTRODUCED_IN(24);
126 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) __INTROD…
144 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) __INTRODUCE…
162 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) __INTRODU…
177 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) __INTRODU…
192 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
230 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU…
275 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO…
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp44 const char* AImageReader::kCallbackFpKey = "Callback";
45 const char* AImageReader::kContextKey = "Context";
46 const char* AImageReader::kGraphicBufferKey = "GraphicBuffer";
53 AImageReader::isSupportedFormatAndUsage(int32_t format, uint64_t usage) { in isSupportedFormatAndUsage()
86 AImageReader::getNumPlanesForFormat(int32_t format) { in getNumPlanesForFormat()
115 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable()
116 sp<AImageReader> reader = mReader.promote(); in onFrameAvailable()
126 sp<AMessage> msg = new AMessage(AImageReader::kWhatImageAvailable, reader->mHandler); in onFrameAvailable()
127 msg->setPointer(AImageReader::kCallbackFpKey, (void *) mListener.onImageAvailable); in onFrameAvailable()
128 msg->setPointer(AImageReader::kContextKey, mListener.context); in onFrameAvailable()
[all …]
DNdkImageReaderPriv.h50 struct AImageReader : public RefBase { struct
55 AImageReader(int32_t width,
60 ~AImageReader();
110 CallbackHandler(AImageReader* reader) : mReader(reader) {} in CallbackHandler() argument
113 AImageReader* mReader;
130 explicit FrameListener(AImageReader* parent) : mReader(parent) {} in FrameListener() argument
138 const wp<AImageReader> mReader;
145 explicit BufferRemovedListener(AImageReader* parent) : mReader(parent) {} in BufferRemovedListener() argument
153 const 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 const sp<AImageReader> mReader;
DOWNERS2 # For AImage/AImageReader
DNdkImage.cpp34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage()
/frameworks/rs/
DrsGrallocConsumer.h51 static void onFrameAvailable(void* obj, AImageReader* reader);
60 AImageReader* mImgReader;
DrsGrallocConsumer.cpp75 void GrallocConsumer::onFrameAvailable(void* obj, AImageReader* reader) { in onFrameAvailable()
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp100 static void onImageAvailable(void *context, AImageReader *reader) { in onImageAvailable()
107 static void onBufferRemoved(void *, AImageReader *, AHardwareBuffer *) { in onBufferRemoved() argument
110 AImageReader *imageReader_ = nullptr;
201 AImageReader *imgReader = nullptr;
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp406 void HandleImageAvailable(AImageReader* reader) { in HandleImageAvailable()
510 static void onImageAvailable(void* obj, AImageReader* reader) { in onImageAvailable()
516 onBufferRemoved(void* /*obj*/, AImageReader* /*reader*/, AHardwareBuffer* /*buffer*/) { in onBufferRemoved() argument
531 AImageReader* mImgReader = nullptr;
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp348 AImageReader* reader = nullptr; in TEST_P()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal315 * These must be handles to ANativeWindows owned by AImageReader,