Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/include/media/
DNdkImage.h52 typedef struct AImage AImage; typedef
532 void AImage_delete(AImage* image);
546 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
560 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
576 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
593 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
617 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
635 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
663 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
690 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
[all …]
DNdkImageReader.h211 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image);
255 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image);
387 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd);
407 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd);
/frameworks/av/media/ndk/
DNdkImage.cpp34 AImage::AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, in AImage() function in AImage
40 AImage::~AImage() { in ~AImage()
49 AImage::isClosed() const { in isClosed()
55 AImage::close(int releaseFenceFd) { in close()
76 AImage::free() { in free()
85 AImage::lockReader() const { in lockReader()
95 AImage::unlockReader() const { in unlockReader()
105 AImage::getWidth(int32_t* width) const { in getWidth()
119 AImage::getHeight(int32_t* height) const { in getHeight()
133 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);
80 friend struct AImage; // for grabing reader lock
86 media_status_t acquireImageLocked(/*out*/AImage** image, /*out*/int* fenceFd);
89 void releaseImageLocked(AImage* image, int releaseFenceFd);
164 List<AImage*> mAcquiredImages;
DNdkImagePriv.h34 struct AImage { struct
35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
68 ~AImage();
DNdkImageReader.cpp351 AImage* image = *it; in ~AImageReader()
369 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked()
450 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
453 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
484 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd) { in releaseImageLocked()
512 AImage* readerCopy = *it; in releaseImageLocked()
548 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage()
554 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage()
560 AImage* prevImage = nullptr; in acquireLatestImage()
561 AImage* nextImage = nullptr; in acquireLatestImage()
[all …]
DOWNERS2 # For AImage/AImageReader
/frameworks/rs/
DrsGrallocConsumer.h65 AImage *mImg;
DrsGrallocConsumer.cpp109 AImage *img = mAcquiredBuffer[idx].mImg; in lockNextBuffer()