All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.opengl.ETC1 Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
package android.opengl;
public class ETC1
{
public  ETC1() { throw new RuntimeException("Stub!"); }
public static native  void encodeBlock(java.nio.Buffer in, int validPixelMask, java.nio.Buffer out);
public static native  void decodeBlock(java.nio.Buffer in, java.nio.Buffer out);
public static native  int getEncodedDataSize(int width, int height);
public static native  void encodeImage(java.nio.Buffer in, int width, int height, int pixelSize, int stride, java.nio.Buffer out);
public static native  void decodeImage(java.nio.Buffer in, java.nio.Buffer out, int width, int height, int pixelSize, int stride);
public static native  void formatHeader(java.nio.Buffer header, int width, int height);
public static native  boolean isValid(java.nio.Buffer header);
public static native  int getWidth(java.nio.Buffer header);
public static native  int getHeight(java.nio.Buffer header);
public static final int ENCODED_BLOCK_SIZE = 8;
public static final int DECODED_BLOCK_SIZE = 48;
public static final int ETC_PKM_HEADER_SIZE = 16;
public static final int ETC1_RGB8_OES = 36196;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy