Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Methods |
static
byte[]
|
convertARGB_8888toA_8(int[] pPixelsARGB_8888)
|
static
short[]
|
convertARGB_8888toRGBA_4444(int[] pPixelsARGB_8888)
|
static
short[]
|
convertARGB_8888toRGBA_4444(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
|
static
int[]
|
convertARGB_8888toRGBA_8888(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
|
static
int[]
|
convertARGB_8888toRGBA_8888(int[] pPixelsARGB_8888)
|
static
short[]
|
convertARGB_8888toRGB_565(int[] pPixelsARGB_8888)
|
static
short[]
|
convertARGB_8888toRGB_565(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
|
static
int[]
|
convertRGBA_8888toARGB_8888(int[] pPixelsRGBA_8888)
|
static
int[]
|
convertRGBA_8888toARGB_8888(int[] pPixelsRGBA_8888, ByteOrder pByteOrder)
|
static
int[]
|
convertRGBA_8888toARGB_8888_FlippedVertical(int[] pPixelsRGBA_8888, int pWidth, int pHeight, ByteOrder pByteOrder)
|
static
int[]
|
convertRGBA_8888toARGB_8888_FlippedVertical(int[] pPixelsRGBA_8888, int pWidth, int pHeight)
|
static
Buffer
|
getPixels(Bitmap pBitmap, PixelFormat pPixelFormat)
TODO These conversions could be done in native code!
|
static
Buffer
|
getPixels(Bitmap pBitmap, PixelFormat pPixelFormat, ByteOrder pByteOrder)
|
static
int[]
|
getPixelsARGB_8888(Bitmap pBitmap)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
byte[]
convertARGB_8888toA_8
(int[] pPixelsARGB_8888)
public
static
short[]
convertARGB_8888toRGBA_4444
(int[] pPixelsARGB_8888)
public
static
short[]
convertARGB_8888toRGBA_4444
(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
public
static
int[]
convertARGB_8888toRGBA_8888
(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
public
static
int[]
convertARGB_8888toRGBA_8888
(int[] pPixelsARGB_8888)
public
static
short[]
convertARGB_8888toRGB_565
(int[] pPixelsARGB_8888)
public
static
short[]
convertARGB_8888toRGB_565
(int[] pPixelsARGB_8888, ByteOrder pByteOrder)
public
static
int[]
convertRGBA_8888toARGB_8888
(int[] pPixelsRGBA_8888)
public
static
int[]
convertRGBA_8888toARGB_8888
(int[] pPixelsRGBA_8888, ByteOrder pByteOrder)
public
static
int[]
convertRGBA_8888toARGB_8888_FlippedVertical
(int[] pPixelsRGBA_8888, int pWidth, int pHeight, ByteOrder pByteOrder)
public
static
int[]
convertRGBA_8888toARGB_8888_FlippedVertical
(int[] pPixelsRGBA_8888, int pWidth, int pHeight)
public
static
Buffer
getPixels
(Bitmap pBitmap, PixelFormat pPixelFormat)
TODO These conversions could be done in native code!
public
static
int[]
getPixelsARGB_8888
(Bitmap pBitmap)