Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/include/media/
DNdkImageReader.h54 typedef struct AImageReader AImageReader; typedef
94 /*out*/AImageReader** reader) __INTRODUCED_IN(24);
108 void AImageReader_delete(AImageReader* reader) __INTRODUCED_IN(24);
124 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) __INTROD…
142 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) __INTRODUCE…
160 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) __INTRODU…
175 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) __INTRODU…
190 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
228 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU…
273 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO…
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp43 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()
[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.h55 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
90 friend struct AImageReader; // for reader to access mBuffer
95 const sp<AImageReader> mReader;
DOWNERS3 # For AImage/AImageReader
DNdkImage.cpp33 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.cpp462 void HandleImageAvailable(AImageReader* reader) { in HandleImageAvailable()
566 static void onImageAvailable(void* obj, AImageReader* reader) { in onImageAvailable()
572 onBufferRemoved(void* /*obj*/, AImageReader* /*reader*/, AHardwareBuffer* /*buffer*/) { in onBufferRemoved() argument
587 AImageReader* mImgReader = nullptr;
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp697 AImageReader* rawReader; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
703 std::unique_ptr<AImageReader, decltype(&AImageReader_delete)> reader(rawReader, in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp420 AImageReader* reader = nullptr; in TEST_P()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal315 * These must be handles to ANativeWindows owned by AImageReader,