The Android Developer Challenge is back! Submit your idea before December 2.

ImageProxy.PlaneProxy

public static interface ImageProxy.PlaneProxy

androidx.camera.core.ImageProxy.PlaneProxy


A plane proxy which has an analogous interface as Image.Plane.

Summary

Public methods

abstract ByteBuffer getBuffer()

Returns the pixels buffer.

abstract int getPixelStride()

Returns the pixel stride.

abstract int getRowStride()

Returns the row stride.

Public methods

getBuffer

public abstract ByteBuffer getBuffer ()

Returns the pixels buffer.

@see Image.Plane.getBuffer().

Returns
ByteBuffer

getPixelStride

public abstract int getPixelStride ()

Returns the pixel stride.

@see Image.Plane.getPixelStride().

Returns
int

getRowStride

public abstract int getRowStride ()

Returns the row stride.

@see Image.Plane.getRowStride().

Returns
int