Home
last modified time | relevance | path

Searched refs:AImage (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/ndk/include/media/
DNdkImage.h51 typedef struct AImage AImage; typedef
577 void AImage_delete(AImage* image) __INTRODUCED_IN(24);
593 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width) __INTRODUCED_IN(24);
609 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height) __INTRODUCED_IN(24);
627 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format) __INTRODUCED_IN(24);
646 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect) __INTRODUCED_IN…
672 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs) __INTRODUCED_I…
692 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) __INTRODUCE…
722 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) __INTRODUCED_IN(24);
751 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) __INTRODUCED_IN(24);
[all …]
DNdkImageReader.h230 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU…
275 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO…
414 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26);
436 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26);
/frameworks/av/media/ndk/
DNdkImage.cpp34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage() function in AImage
41 AImage::~AImage() { in ~AImage()
50 AImage::isClosed() const { in isClosed()
56 AImage::close(int releaseFenceFd) { in close()
72 AImage::free() { in free()
81 AImage::lockReader() const { in lockReader()
86 AImage::unlockReader() const { in unlockReader()
91 AImage::getWidth(int32_t* width) const { in getWidth()
105 AImage::getHeight(int32_t* height) const { in getHeight()
119 AImage::getFormat(int32_t* format) const { in getFormat()
[all …]
DNdkImageReaderPriv.h69 media_status_t acquireNextImage(/*out*/AImage** image, /*out*/int* fenceFd);
70 media_status_t acquireLatestImage(/*out*/AImage** image, /*out*/int* fenceFd);
83 friend struct AImage; // for grabing reader lock
89 media_status_t acquireImageLocked(/*out*/AImage** image, /*out*/int* fenceFd);
92 void releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache = true);
168 List<AImage*> mAcquiredImages;
DNdkImagePriv.h34 struct AImage { struct
35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
68 ~AImage();
DNdkImageReader.cpp377 AImage* image = *it; in close()
406 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked()
487 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
490 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
521 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd, bool clearCache) { in releaseImageLocked()
553 AImage* readerCopy = *it; in releaseImageLocked()
608 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage()
614 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage()
620 AImage* prevImage = nullptr; in acquireLatestImage()
621 AImage* nextImage = nullptr; in acquireLatestImage()
[all …]
DOWNERS2 # For AImage/AImageReader
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp76 AImage *outImage = nullptr; in HandleImageAvailable()
78 auto imageDeleter = [](AImage *img) { AImage_delete(img); }; in HandleImageAvailable()
79 std::unique_ptr<AImage, decltype(imageDeleter)> img(nullptr, imageDeleter); in HandleImageAvailable()
/frameworks/rs/
DrsGrallocConsumer.h65 AImage *mImg;
DrsGrallocConsumer.cpp112 AImage *img = mAcquiredBuffer[idx].mImg; in lockNextBuffer()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp409 AImage* outImage = nullptr; in HandleImageAvailable()
414 auto imageDeleter = [this](AImage* img) { in HandleImageAvailable()
421 std::unique_ptr<AImage, decltype(imageDeleter)> img(nullptr, imageDeleter); in HandleImageAvailable()