FileDocCategorySizeDatePackage
ETC1.javaAPI DocAndroid 5.1 API1081Sat Mar 14 14:09:36 GMT 2015android.opengl

ETC1

public class ETC1 extends Object

Fields Summary
public static final int
DECODED_BLOCK_SIZE
public static final int
ENCODED_BLOCK_SIZE
public static final int
ETC1_RGB8_OES
public static final int
ETC_PKM_HEADER_SIZE
Constructors Summary
public ETC1()

 throw new RuntimeException("Stub!"); 
Methods Summary
public static native voiddecodeBlock(java.nio.Buffer in, java.nio.Buffer out)

public static native voiddecodeImage(java.nio.Buffer in, java.nio.Buffer out, int width, int height, int pixelSize, int stride)

public static native voidencodeBlock(java.nio.Buffer in, int validPixelMask, java.nio.Buffer out)

public static native voidencodeImage(java.nio.Buffer in, int width, int height, int pixelSize, int stride, java.nio.Buffer out)

public static native voidformatHeader(java.nio.Buffer header, int width, int height)

public static native intgetEncodedDataSize(int width, int height)

public static native intgetHeight(java.nio.Buffer header)

public static native intgetWidth(java.nio.Buffer header)

public static native booleanisValid(java.nio.Buffer header)