Lines Matching full:aimage
54 * AImage is an opaque type that provides access to image generated by {@link AImageReader}.
56 typedef struct AImage AImage;
72 * @see AImage
90 * @see AImage
108 * @see AImage
127 * @see AImage
145 * @see AImage
174 * <p>For example, the {@link AImage} object can provide data
179 * @see AImage
317 * For example, the {@link AImage} object can provide data in this format from a
325 * @see AImage
413 * For example, the {@link AImage} object can provide data in this format from a
421 * @see AImage
440 * of a DEPTH16-format {@link AImage}, and converts the confidence to a floating-point value
481 * format {@link AImage}:
517 * Return the image back the the system and delete the AImage object from memory.
520 * Note that if the parent {@link AImageReader} is closed, all the {@link AImage} objects acquired
523 * {@link AImage} objects to fully delete the {@link AImage} object from memory.</p>
525 * @param image The {@link AImage} to be deleted.
527 void AImage_delete(AImage* image);
530 * Query the width of the input {@link AImage}.
532 * @param image the {@link AImage} of interest.
541 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
544 * Query the height of the input {@link AImage}.
546 * @param image the {@link AImage} of interest.
555 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
558 * Query the format of the input {@link AImage}.
562 * @param image the {@link AImage} of interest.
571 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
574 * Query the cropped rectangle of the input {@link AImage}.
579 * @param image the {@link AImage} of interest.
588 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
591 * Query the timestamp of the input {@link AImage}.
603 * @param image the {@link AImage} of interest.
612 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
615 * Query the number of planes of the input {@link AImage}.
617 * <p>The number of plane of an {@link AImage} is determined by its format, which can be queried by
620 * @param image the {@link AImage} of interest.
630 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
633 * Query the pixel stride of the input {@link AImage}.
642 * @param image the {@link AImage} of interest.
654 * <li>{@link AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE} if the {@link AImage} cannot be locked
658 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
661 * Query the row stride of the input {@link AImage}.
669 * @param image the {@link AImage} of interest.
681 * <li>{@link AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE} if the {@link AImage} cannot be locked
685 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
690 * <p>Note that once the {@link AImage} or the parent {@link AImageReader} is deleted, the data
692 * {@link AImage} or the parent {@link AImageReader} is deleted.</p>
694 * @param image the {@link AImage} of interest.
705 * <li>{@link AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE} if the {@link AImage} cannot be locked
709 const AImage* image, int planeIdx,
717 * Return the image back the the system and delete the AImage object from memory asynchronously.
724 * @param image The {@link AImage} to be deleted.
730 void AImage_deleteAsync(AImage* image, int releaseFenceFd);
736 * automatically. Once the {@link AImage} or the parent {@link AImageReader} is deleted, the
741 * the {@link AImage} or the parent {@link AImageReader} is deleted, it must call {@link
748 * @param image the {@link AImage} of interest.
757 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer);