Lines Matching refs:image

32  * <p>The ImageReader class allows direct application access to image data
38 * {@link android.renderscript.Allocation RenderScript Allocations}. The image
42 * <p>The image data is encapsulated in {@link Image} objects, and multiple such
46 * or {@link #acquireNextImage} call. Due to memory limits, an image source will
54 * Returned by nativeImageSetup when acquiring the image was successful.
77 * <p>The valid sizes and formats depend on the source of the image
114 "The image dimensions must be positive");
118 "Maximum outstanding image count must be at least 1");
160 * The default {@link ImageFormat image format} of {@link Image Images}.
182 * <p>An image is considered acquired after it's returned by a function from ImageReader, and
183 * until the Image is {@link Image#close closed} to release the image back to the ImageReader.
189 * enqueueing additional images may stall until at least one image has been released. </p>
203 * <p>Until valid image data is rendered into this {@link Surface}, the
218 * {@link Image images}. Returns {@code null} if no new image is available.
244 * @return latest frame of image data, or {@code null} if no image data is available.
248 Image image = acquireNextImage();
249 if (image == null) {
256 Image result = image;
257 image = null;
260 image.close();
261 image = next;
264 if (image != null) {
265 image.close();
283 * Attempts to acquire the next image from the underlying native implementation.
317 * no new image is available.
338 * @return a new frame of image data, or {@code null} if no image data is available.
367 "This image was not produced by an ImageReader");
372 "This image was not produced by this ImageReader");
381 * Register a listener to be invoked when a new image becomes available
412 * Callback interface for being notified that a new image is available.
415 * The onImageAvailable is called per image basis, that is, callback fires for every new frame
421 * Callback that is called when a new image is available from ImageReader.
700 // Need null check first, as the getBuffer() may not be called before an image