Home
last modified time | relevance | path

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

/frameworks/av/include/ndk/
DNdkImage.h56 typedef struct AImage AImage; typedef
527 void AImage_delete(AImage* image);
541 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
555 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
571 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
588 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
612 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
630 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
658 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
685 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);
360 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd);
380 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
41 AImage::~AImage() { in ~AImage()
49 AImage::isClosed() const { in isClosed()
55 AImage::close(int releaseFenceFd) { in close()
74 AImage::free() { in free()
84 AImage::lockReader() const { in lockReader()
94 AImage::unlockReader() const { in unlockReader()
104 AImage::getWidth(int32_t* width) const { in getWidth()
118 AImage::getHeight(int32_t* height) const { in getHeight()
132 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.cpp342 AImage* image = *it; in ~AImageReader()
359 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked()
440 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
443 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
474 AImageReader::releaseImageLocked(AImage* image, int releaseFenceFd) { in releaseImageLocked()
500 AImage* readerCopy = *it; in releaseImageLocked()
536 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage()
542 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage()
548 AImage* prevImage = nullptr; in acquireLatestImage()
549 AImage* nextImage = nullptr; in acquireLatestImage()
[all …]
/frameworks/rs/
DrsGrallocConsumer.h65 AImage *mImg;
DrsGrallocConsumer.cpp109 AImage *img = mAcquiredBuffer[idx].mImg; in lockNextBuffer()