Home
last modified time | relevance | path

Searched refs:AImageReader (Results 1 – 15 of 15) 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";
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()
[all …]
DNdkImageReaderPriv.h50 struct AImageReader : public RefBase { struct
55 AImageReader(int32_t width,
62 ~AImageReader();
111 CallbackHandler(AImageReader* reader) : mReader(reader) {} in CallbackHandler() argument
114 AImageReader* mReader;
134 explicit FrameListener(AImageReader* parent) : mReader(parent) {} in FrameListener() argument
142 const wp<AImageReader> mReader;
149 explicit BufferRemovedListener(AImageReader* parent) : mReader(parent) {} in BufferRemovedListener() argument
157 const wp<AImageReader> mReader;
DNdkImagePriv.h55 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
91 friend struct AImageReader; // for reader to access mBuffer
96 const sp<AImageReader> mReader;
DOWNERS3 # For AImage/AImageReader
DNdkImage.cpp34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage()
/frameworks/av/media/ndk/fuzzer/
Dndk_image_reader_fuzzer.cpp34 static void onImageAvailable(void*, AImageReader*){}; in onImageAvailable() argument
35 static void onBufferRemoved(void*, AImageReader*, AHardwareBuffer*){}; in onBufferRemoved() argument
39 AImageReader* reader = nullptr; in process()
/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/
DAImageReaderWindowTest.cpp106 static void onImageAvailable(void *context, AImageReader *reader) { in onImageAvailable()
113 static void onBufferRemoved(void *, AImageReader *, AHardwareBuffer *) { in onBufferRemoved() argument
172 AImageReader *imageReader_ = nullptr;
232 AImageReader *imgReader = nullptr;
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp92 using scoped_unique_image_reader = std::unique_ptr<AImageReader, decltype(&AImageReader_delete)>;
423 AImageReader* reader = nullptr; in TEST_P()
435 AImageReader* reader = nullptr; in TEST_P()
452 AImageReader* reader = nullptr; in TEST_P()
DVtsAidlCameraServiceTargetTest.cpp88 using scoped_unique_image_reader = std::unique_ptr<AImageReader, decltype(&AImageReader_delete)>;
436 AImageReader* reader = nullptr; in BasicCameraTests()
463 AImageReader* reader = nullptr; in BasicCameraTests()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp530 void HandleImageAvailable(AImageReader* reader) { in HandleImageAvailable()
634 static void onImageAvailable(void* obj, AImageReader* reader) { in onImageAvailable()
640 onBufferRemoved(void* /*obj*/, AImageReader* /*reader*/, AHardwareBuffer* /*buffer*/) { in onBufferRemoved() argument
655 AImageReader* mImgReader = nullptr;
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp737 AImageReader* rawReader; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
743 std::unique_ptr<AImageReader, decltype(&AImageReader_delete)> reader(rawReader, in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal315 * These must be handles to ANativeWindows owned by AImageReader,