/frameworks/av/media/ndk/include/media/ |
D | NdkImageReader.h | 54 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/ |
D | NdkImageReader.cpp | 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() [all …]
|
D | NdkImageReaderPriv.h | 50 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;
|
D | NdkImagePriv.h | 55 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;
|
D | OWNERS | 3 # For AImage/AImageReader
|
D | NdkImage.cpp | 34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage()
|
/frameworks/av/media/ndk/fuzzer/ |
D | ndk_image_reader_fuzzer.cpp | 34 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/ |
D | rsGrallocConsumer.h | 51 static void onFrameAvailable(void* obj, AImageReader* reader); 60 AImageReader* mImgReader;
|
D | rsGrallocConsumer.cpp | 75 void GrallocConsumer::onFrameAvailable(void* obj, AImageReader* reader) { in onFrameAvailable()
|
/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowTest.cpp | 106 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/ |
D | VtsHalCameraServiceV2_0TargetTest.cpp | 92 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()
|
D | VtsAidlCameraServiceTargetTest.cpp | 88 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/ |
D | AImageReaderVendorTest.cpp | 530 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/ |
D | android_graphics_HardwareRenderer.cpp | 737 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/ |
D | types.hal | 315 * These must be handles to ANativeWindows owned by AImageReader,
|