Package com.digimarc.capture.camera
Class ImagePlane
java.lang.Object
com.digimarc.capture.camera.ImagePlane
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionImagePlane
(android.media.Image.Plane plane) ImagePlane
(ImagePlane plane) ImagePlane
(ByteBuffer plane, int pixelStride, int rowStride) -
Method Summary
Modifier and TypeMethodDescriptionstatic ImagePlane
allocate
(int capacity) void
attach
(android.media.Image.Plane plane) static ImagePlane
attachToPlane
(android.media.Image.Plane srcPlane) int
capacity()
void
copy
(android.media.Image.Plane plane) void
copy
(ImagePlane plane) void
rewind()
-
Field Details
-
mPlane
-
mPixelStride
public int mPixelStride -
mRowStride
public int mRowStride
-
-
Constructor Details
-
ImagePlane
-
ImagePlane
-
ImagePlane
public ImagePlane(@NonNull android.media.Image.Plane plane)
-
-
Method Details
-
attachToPlane
-
allocate
-
capacity
public int capacity() -
copy
public void copy(@NonNull android.media.Image.Plane plane) -
attach
public void attach(@NonNull android.media.Image.Plane plane) -
copy
-
rewind
public void rewind()
-