public class YuvImage extends Object
| Constructor and Description |
|---|
YuvImage(byte[] yuv,
int format,
int width,
int height,
int[] strides) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compressToJpeg(Rect rectangle,
int quality,
OutputStream stream) |
int |
getHeight() |
int[] |
getStrides() |
int |
getWidth() |
byte[] |
getYuvData() |
int |
getYuvFormat() |
public YuvImage(byte[] yuv,
int format,
int width,
int height,
int[] strides)
public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream)
public byte[] getYuvData()
public int getYuvFormat()
public int[] getStrides()
public int getWidth()
public int getHeight()
Copyright © 2008-2013. All Rights Reserved.