android.graphics
Class YuvImage

java.lang.Object
  extended by android.graphics.YuvImage

public class YuvImage
extends Object


Constructor Summary
YuvImage(byte[] yuv, int format, int width, int height, int[] strides)
           
 
Method Summary
 boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream)
           
 int getHeight()
           
 int[] getStrides()
           
 int getWidth()
           
 byte[] getYuvData()
           
 int getYuvFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuvImage

public YuvImage(byte[] yuv,
                int format,
                int width,
                int height,
                int[] strides)
Method Detail

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.