Lines Matching refs:image

54  * AImage is an opaque type that provides access to image generated by {@link AImageReader}.
193 * 16 bits per pixel raw camera sensor image format, usually representing a single-channel
194 * Bayer-mosaic image.
197 * values of the raw pixel data, the color space of the image, and all other
198 * needed information to interpret a raw sensor image must be queried from
199 * the {@link ACameraDevice} which produced the image.</p>
204 * Private raw camera sensor image format, a single channel image with implementation depedent
207 * <p>AIMAGE_FORMAT_RAW_PRIVATE is a format for unprocessed raw image buffers coming from an
208 * image sensor. The actual structure of buffers of this format is implementation-dependent.</p>
219 * from an image sensor.
222 * In an image buffer with this format, starting from the first pixel of
312 * will be no padding bytes at the end of each row, the entire image data is
337 * from an image sensor.
340 * In an image buffer with this format, starting from the first pixel of each
408 * will be no padding bytes at the end of each row, the entire image data is
428 * Android dense depth image format.
446 * AImage_getPlaneData(image, 0, (uint8_t**)&data, &dataLength);
485 * AImage_getPlaneData(image, 0, (uint8_t**)&data, &dataLength);
496 * Android private opaque image format.
517 * Return the image back the the system and delete the AImage object from memory.
519 * <p>Do NOT use the image pointer after this method returns.
525 * @param image The {@link AImage} to be deleted.
527 void AImage_delete(AImage* image);
532 * @param image the {@link AImage} of interest.
533 * @param width the width of the image will be filled here if the method call succeeeds.
537 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or width is NULL.</li>
539 * image has been deleted.</li></ul>
541 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
546 * @param image the {@link AImage} of interest.
547 * @param height the height of the image will be filled here if the method call succeeeds.
551 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or height is NULL.</li>
553 * image has been deleted.</li></ul>
555 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
562 * @param image the {@link AImage} of interest.
563 * @param format the format of the image will be filled here if the method call succeeeds.
567 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or format is NULL.</li>
569 * image has been deleted.</li></ul>
571 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
576 * <p>The crop rectangle specifies the region of valid pixels in the image, using coordinates in the
579 * @param image the {@link AImage} of interest.
580 * @param rect the cropped rectangle of the image will be filled here if the method call succeeeds.
584 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or rect is NULL.</li>
586 * image has been deleted.</li></ul>
588 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
603 * @param image the {@link AImage} of interest.
604 * @param timestampNs the timestamp of the image will be filled here if the method call succeeeds.
608 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or timestampNs is NULL.</li>
610 * image has been deleted.</li></ul>
612 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
620 * @param image the {@link AImage} of interest.
621 * @param numPlanes the number of planes of the image will be filled here if the method call
626 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or numPlanes is NULL.</li>
628 * image has been deleted.</li></ul>
630 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
636 * larger than the size of a single pixel to account for interleaved image data or padded formats.
642 * @param image the {@link AImage} of interest.
643 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
644 * @param pixelStride the pixel stride of the image will be filled here if the method call succeeeds.
648 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or pixelStride is NULL, or planeIdx
651 * image.</li>
653 * image has been deleted.</li>
658 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
663 * <p>This is the distance between the start of two consecutive rows of pixels in the image. Note
669 * @param image the {@link AImage} of interest.
670 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
671 * @param rowStride the row stride of the image will be filled here if the method call succeeeds.
675 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or rowStride is NULL, or planeIdx
678 * image.</li>
680 * image has been deleted.</li>
685 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
688 * Get the data pointer of the input image for direct application access.
694 * @param image the {@link AImage} of interest.
695 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
696 * @param data the data pointer of the image will be filled here if the method call succeeeds.
701 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image, data or dataLength is NULL, or
704 * image has been deleted.</li>
709 const AImage* image, int planeIdx,
717 * Return the image back the the system and delete the AImage object from memory asynchronously.
719 * <p>Similar to {@link AImage_delete}, do NOT use the image pointer after this method returns.
720 * However, the caller can still hold on to the {@link AHardwareBuffer} returned from this image and
724 * @param image The {@link AImage} to be deleted.
730 void AImage_deleteAsync(AImage* image, int releaseFenceFd);
733 * Get the hardware buffer handle of the input image intended for GPU and/or hardware access.
748 * @param image the {@link AImage} of interest.
753 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or buffer is NULL</li></ul>
757 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer);