public class ETC1 extends Object
| 构造器 | 说明 |
|---|---|
ETC1() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static int |
etc1GetEncodedDataSize(int width,
int height) |
This method is used to return encode data size.
|
static int |
etc1PkmGetHeight(Buffer header) |
This method is used to return pkm height.
|
static int |
etc1PkmGetWidth(Buffer header) |
This method is used to return pkm width.
|
static boolean |
isValid(Buffer header) |
This method is used to check whether the head is valid.
|
public static boolean isValid(Buffer header)
header - Indicates the Buffer header.public static int etc1PkmGetWidth(Buffer header)
header - Indicates the Buffer header.public static int etc1PkmGetHeight(Buffer header)
header - Indicates the Buffer header.public static int etc1GetEncodedDataSize(int width,
int height)
height - Indicates the encoded data width.width - Indicates the encoded data height.