Searched refs:encodedSize (Results 1 – 3 of 3) sorted by relevance
169 int encodedSize = ETC1.getEncodedDataSize(width, height); in createTexture() local170 … ByteBuffer dataBuffer = ByteBuffer.allocateDirect(encodedSize).order(ByteOrder.nativeOrder()); in createTexture()171 for (int i = 0; i < encodedSize; ) { in createTexture()172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture()217 int encodedSize = ETC1.getEncodedDataSize(width, height); in writeTexture() local218 for (int i = 0; i < encodedSize; ) { in writeTexture()219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in writeTexture()
355 size_t encodedSize = 0; in editEncodedSize() local361 encodedSize += get_varint_size(tag); in editEncodedSize()365 encodedSize++; in editEncodedSize()369 encodedSize += 8; in editEncodedSize()386 encodedSize += get_varint_size(childEncodedSize) + childEncodedSize; in editEncodedSize()389 encodedSize += 4; in editEncodedSize()398 return encodedSize; in editEncodedSize()
2368 int encodedSize = 0; in editEncodedSize() local2373 encodedSize += EncodedBuffer.getRawVarint32Size(tag); in editEncodedSize()2378 encodedSize++; in editEncodedSize()2380 encodedSize++; in editEncodedSize()2384 encodedSize += 8; in editEncodedSize()2408 encodedSize += EncodedBuffer.getRawVarint32Size(childEncodedSize) in editEncodedSize()2416 encodedSize += 4; in editEncodedSize()2426 return encodedSize; in editEncodedSize()