Home
last modified time | relevance | path

Searched refs:encodedImageSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DETC1Util.java193 int encodedImageSize = ETC1.getEncodedDataSize(width, height); in compressTexture() local
194 ByteBuffer compressedImage = ByteBuffer.allocateDirect(encodedImageSize). in compressTexture()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp910 jint encodedImageSize = etc1_get_encoded_data_size(width, height); in etc1_encodeImage() local
913 } else if (outB.remaining() < encodedImageSize) { in etc1_encodeImage()
941 jint encodedImageSize = etc1_get_encoded_data_size(width, height); in etc1_decodeImage() local
942 if (inB.remaining() < encodedImageSize) { in etc1_decodeImage()