Searched refs:pixelSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 83 int pixelSize = useShorts ? 2 : 3; in loadTexture() local 84 int stride = pixelSize * width; in loadTexture() 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); in loadTexture() 192 …public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int … in compressTexture() argument 196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage); in compressTexture()
|
D | ETC1.java | 98 int pixelSize, int stride, Buffer out); in encodeImage() argument 110 int width, int height, int pixelSize, int stride); in decodeImage() argument
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument 514 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image() 540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image() 541 if (pixelSize == 3) { in etc1_encode_image() 549 p += pixelSize; in etc1_encode_image() 570 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument 571 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image() 593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image() 594 if (pixelSize == 3) { in etc1_decode_image()
|
/frameworks/native/opengl/include/ETC1/ |
D | etc1.h | 68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 80 etc1_uint32 pixelSize, etc1_uint32 stride);
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 892 jint pixelSize, jint stride, jobject out) { in etc1_encodeImage() argument 893 if (pixelSize < 2 || pixelSize > 3) { in etc1_encodeImage() 908 width, height, pixelSize, in etc1_encodeImage() 925 jint pixelSize, jint stride) { in etc1_decodeImage() argument 926 if (pixelSize < 2 || pixelSize > 3) { in etc1_decodeImage() 942 width, height, pixelSize, in etc1_decodeImage()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 370 long pixelSize = getByteCount(); in copyPixelsToBuffer() local 372 if (bufferSize < pixelSize) { in copyPixelsToBuffer() 380 position += pixelSize >> shift; in copyPixelsToBuffer()
|