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()
359 size_t encodedSize = 0; in editEncodedSize() local365 encodedSize += get_varint_size(tag); in editEncodedSize()369 encodedSize++; in editEncodedSize()373 encodedSize += 8; in editEncodedSize()390 encodedSize += get_varint_size(childEncodedSize) + childEncodedSize; in editEncodedSize()393 encodedSize += 4; in editEncodedSize()402 return encodedSize; in editEncodedSize()
2373 int encodedSize = 0; in editEncodedSize() local2378 encodedSize += EncodedBuffer.getRawVarint32Size(tag); in editEncodedSize()2383 encodedSize++; in editEncodedSize()2385 encodedSize++; in editEncodedSize()2389 encodedSize += 8; in editEncodedSize()2413 encodedSize += EncodedBuffer.getRawVarint32Size(childEncodedSize) in editEncodedSize()2421 encodedSize += 4; in editEncodedSize()2431 return encodedSize; in editEncodedSize()