public class ETC1 extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DECODED_BLOCK_SIZE |
static int |
ENCODED_BLOCK_SIZE |
static int |
ETC_PKM_HEADER_SIZE |
static int |
ETC1_RGB8_OES |
| Constructor and Description |
|---|
ETC1() |
| Modifier and Type | Method and Description |
|---|---|
static void |
decodeBlock(Buffer in,
Buffer out) |
static void |
decodeImage(Buffer in,
Buffer out,
int width,
int height,
int pixelSize,
int stride) |
static void |
encodeBlock(Buffer in,
int validPixelMask,
Buffer out) |
static void |
encodeImage(Buffer in,
int width,
int height,
int pixelSize,
int stride,
Buffer out) |
static void |
formatHeader(Buffer header,
int width,
int height) |
static int |
getEncodedDataSize(int width,
int height) |
static int |
getHeight(Buffer header) |
static int |
getWidth(Buffer header) |
static boolean |
isValid(Buffer header) |
public static final int ENCODED_BLOCK_SIZE
public static final int DECODED_BLOCK_SIZE
public static final int ETC_PKM_HEADER_SIZE
public static final int ETC1_RGB8_OES
public static int getEncodedDataSize(int width,
int height)
public static void encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out)
public static void decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride)
public static void formatHeader(Buffer header, int width, int height)
public static boolean isValid(Buffer header)
public static int getWidth(Buffer header)
public static int getHeight(Buffer header)
Copyright © 2008-2013. All Rights Reserved.