Home
last modified time | relevance | path

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

/frameworks/av/include/ndk/
DNdkImage.h48 typedef struct AImage AImage; typedef
428 void AImage_delete(AImage* image);
442 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
456 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
472 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
489 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
513 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
531 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
557 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
582 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
[all …]
DNdkImageReader.h207 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image);
251 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image);
/frameworks/av/media/ndk/
DNdkImage.cpp32 AImage::AImage(AImageReader* reader, int32_t format, in AImage() function in AImage
41 AImage::~AImage() { in ~AImage()
49 AImage::isClosed() const { in isClosed()
55 AImage::close() { in close()
73 AImage::free() { in free()
83 AImage::lockReader() const { in lockReader()
93 AImage::unlockReader() const { in unlockReader()
103 AImage::getWidth(int32_t* width) const { in getWidth()
117 AImage::getHeight(int32_t* height) const { in getHeight()
131 AImage::getFormat(int32_t* format) const { in getFormat()
[all …]
DNdkImageReaderPriv.h64 media_status_t acquireNextImage(/*out*/AImage** image);
65 media_status_t acquireLatestImage(/*out*/AImage** image);
76 friend struct AImage; // for grabing reader lock
78 media_status_t acquireCpuConsumerImageLocked(/*out*/AImage** image);
83 void releaseImageLocked(AImage* image);
136 List<AImage*> mAcquiredImages;
DNdkImageReader.cpp236 AImage* image = *it; in ~AImageReader()
253 AImageReader::acquireCpuConsumerImageLocked(/*out*/AImage** image) { in acquireCpuConsumerImageLocked()
329 *image = new AImage(this, mFormat, buffer, buffer->timestamp, in acquireCpuConsumerImageLocked()
332 *image = new AImage(this, mFormat, buffer, buffer->timestamp, in acquireCpuConsumerImageLocked()
357 AImageReader::releaseImageLocked(AImage* image) { in releaseImageLocked()
373 AImage* readerCopy = *it; in releaseImageLocked()
407 AImageReader::acquireNextImage(/*out*/AImage** image) { in acquireNextImage()
413 AImageReader::acquireLatestImage(/*out*/AImage** image) { in acquireLatestImage()
419 AImage* prevImage = nullptr; in acquireLatestImage()
420 AImage* nextImage = nullptr; in acquireLatestImage()
[all …]
DNdkImagePriv.h33 struct AImage { struct
34 AImage(AImageReader* reader, int32_t format,
63 ~AImage();