/frameworks/av/media/ndk/include/media/ |
D | NdkImage.h | 51 typedef struct AImage AImage; typedef 578 void AImage_delete(AImage* image) __INTRODUCED_IN(24); 594 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width) __INTRODUCED_IN(24); 610 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height) __INTRODUCED_IN(24); 628 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format) __INTRODUCED_IN(24); 647 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect) __INTRODUCED_IN… 673 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs) __INTRODUCED_I… 693 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) __INTRODUCE… 723 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) __INTRODUCED_IN(24); 752 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) __INTRODUCED_IN(24); [all …]
|
D | NdkImageReader.h | 228 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU… 273 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO… 446 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26); 468 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26);
|
/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage() function in AImage 43 AImage::~AImage() { in ~AImage() 52 AImage::isClosed() const { in isClosed() 58 AImage::close(int releaseFenceFd) { in close() 74 AImage::free() { in free() 83 AImage::lockReader() const { in lockReader() 88 AImage::unlockReader() const { in unlockReader() 93 AImage::getWidth(int32_t* width) const { in getWidth() 107 AImage::getHeight(int32_t* height) const { in getHeight() 121 AImage::getFormat(int32_t* format) const { in getFormat() [all …]
|
D | NdkImageReaderPriv.h | 71 media_status_t acquireNextImage(/*out*/AImage** image, /*out*/int* fenceFd); 72 media_status_t acquireLatestImage(/*out*/AImage** image, /*out*/int* fenceFd); 84 friend struct AImage; // for grabing reader lock 90 media_status_t acquireImageLocked(/*out*/AImage** image, /*out*/int* fenceFd); 93 void releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache = true); 170 List<AImage*> mAcquiredImages;
|
D | NdkImagePriv.h | 54 struct AImage { struct 55 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, 89 ~AImage();
|
D | NdkImageReader.cpp | 384 AImage* image = *it; in close() 413 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked() 494 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked() 497 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked() 528 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache) { in releaseImageLocked() 560 AImage* readerCopy = *it; in releaseImageLocked() 618 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage() 624 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage() 630 AImage* prevImage = nullptr; in acquireLatestImage() 631 AImage* nextImage = nullptr; in acquireLatestImage() [all …]
|
D | OWNERS | 3 # For AImage/AImageReader
|
/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowTest.cpp | 82 AImage *outImage = nullptr; in HandleImageAvailable() 84 auto imageDeleter = [](AImage *img) { AImage_delete(img); }; in HandleImageAvailable() 85 std::unique_ptr<AImage, decltype(imageDeleter)> img(nullptr, imageDeleter); in HandleImageAvailable()
|
/frameworks/rs/ |
D | rsGrallocConsumer.h | 65 AImage *mImg;
|
D | rsGrallocConsumer.cpp | 112 AImage *img = mAcquiredBuffer[idx].mImg; in lockNextBuffer()
|
/frameworks/av/media/ndk/fuzzer/ |
D | ndk_image_reader_fuzzer.cpp | 40 AImage* img = nullptr; in process()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 533 AImage* outImage = nullptr; in HandleImageAvailable() 538 auto imageDeleter = [this](AImage* img) { in HandleImageAvailable() 545 std::unique_ptr<AImage, decltype(imageDeleter)> img(nullptr, imageDeleter); in HandleImageAvailable()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRenderer.cpp | 780 AImage* rawImage; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() 782 std::unique_ptr<AImage, decltype(&AImage_delete)> image(rawImage, AImage_delete); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|