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()
327 size_t encodedSize = 0; in editEncodedSize() local333 encodedSize += get_varint_size(tag); in editEncodedSize()337 encodedSize++; in editEncodedSize()341 encodedSize += 8; in editEncodedSize()358 encodedSize += get_varint_size(childEncodedSize) + childEncodedSize; in editEncodedSize()361 encodedSize += 4; in editEncodedSize()370 return encodedSize; in editEncodedSize()
2298 int encodedSize = 0; in editEncodedSize() local2303 encodedSize += EncodedBuffer.getRawVarint32Size(tag); in editEncodedSize()2308 encodedSize++; in editEncodedSize()2310 encodedSize++; in editEncodedSize()2314 encodedSize += 8; in editEncodedSize()2338 encodedSize += EncodedBuffer.getRawVarint32Size(childEncodedSize) in editEncodedSize()2346 encodedSize += 4; in editEncodedSize()2356 return encodedSize; in editEncodedSize()