Searched defs:pixelSize (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.java | 91 * 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 D | ETC1Util.java | 83 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 196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 509 // 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 D | util.cpp | 887 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 892 jint pixelSize, jint stride, jobject out) { 893 if (pixelSize < 2 || pixelSize > 3) { 894 doThrowIAE(env, "pixelSize must be 2 or 3"); 908 width, height, pixelSize, 919 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 925 jint pixelSize, jint stride) { 926 if (pixelSize < 2 || pixelSize > 890 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument 922 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument [all...] |
Completed in 398 milliseconds