Searched defs:pixelSize (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
H A DETC1.java91 * pixel (x,y) is at pIn + pixelSize * x + stride * y;
94 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
98 int pixelSize, int stride, Buffer out);
104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
106 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
110 int width, int height, int pixelSize, int stride);
97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
H A DETC1Util.java83 int pixelSize = useShorts ? 2 : 3;
84 int stride = pixelSize * width;
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
188 * @param pixelSize the size of a pixel in bytes (2 or 3)
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ argument
/frameworks/base/opengl/libs/ETC1/
H A Detc1.cpp509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
514 if (pixelSize < 2 || pixelSize > 3) {
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
541 if (pixelSize == 3) {
549 p += pixelSize;
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
570 etc1_uint32 pixelSize, etc1_uint32 stride) {
571 if (pixelSize <
512 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) argument
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp881 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
886 jint pixelSize, jint stride, jobject out) {
887 if (pixelSize < 2 || pixelSize > 3) {
888 doThrowIAE(env, "pixelSize must be 2 or 3");
902 width, height, pixelSize,
913 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
919 jint pixelSize, jint stride) {
920 if (pixelSize < 2 || pixelSize >
884 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
916 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
[all...]

Completed in 883 milliseconds