android.graphics
Class YuvImage
java.lang.Object
android.graphics.YuvImage
public class YuvImage
- extends Object
Constructor Summary |
YuvImage(byte[] yuv,
int format,
int width,
int height,
int[] strides)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YuvImage
public YuvImage(byte[] yuv,
int format,
int width,
int height,
int[] strides)
compressToJpeg
public boolean compressToJpeg(Rect rectangle,
int quality,
OutputStream stream)
getYuvData
public byte[] getYuvData()
getYuvFormat
public int getYuvFormat()
getStrides
public int[] getStrides()
getWidth
public int getWidth()
getHeight
public int getHeight()
Copyright © 2008-2012. All Rights Reserved.