Home
last modified time | relevance | path

Searched refs:compressedData (Results 1 – 16 of 16) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DKTXTextureData.java52 private ByteBuffer compressedData; field in KTXTextureData
69 return compressedData != null; in isPrepared()
74 if (compressedData != null) throw new GdxRuntimeException("Already prepared"); in prepare()
83 compressedData = BufferUtils.newUnsafeByteBuffer(fileSize); in prepare()
86 compressedData.put(buffer, 0, readBytes); in prepare()
87 compressedData.position(0); in prepare()
88 compressedData.limit(compressedData.capacity()); in prepare()
95 compressedData = ByteBuffer.wrap(file.readBytes()); in prepare()
97 if (compressedData.get() != (byte)0x0AB) throw new GdxRuntimeException("Invalid KTX Header"); in prepare()
98 if (compressedData.get() != (byte)0x04B) throw new GdxRuntimeException("Invalid KTX Header"); in prepare()
[all …]
DETC1.java51 public final ByteBuffer compressedData; field in ETC1.ETC1Data
55 public ETC1Data (int width, int height, ByteBuffer compressedData, int dataOffset) { in ETC1Data() argument
58 this.compressedData = compressedData; in ETC1Data()
69 compressedData = BufferUtils.newUnsafeByteBuffer(fileSize); in ETC1Data()
72 compressedData.put(buffer, 0, readBytes); in ETC1Data()
74 compressedData.position(0); in ETC1Data()
75 compressedData.limit(compressedData.capacity()); in ETC1Data()
82 width = getWidthPKM(compressedData, 0); in ETC1Data()
83 height = getHeightPKM(compressedData, 0); in ETC1Data()
85 compressedData.position(dataOffset); in ETC1Data()
[all …]
DETC1TextureData.java84 …ompressedTexImage2D(target, 0, ETC1.ETC1_RGB8_OES, width, height, 0, data.compressedData.capacity() in consumeCustomData()
85 - data.dataOffset, data.compressedData); in consumeCustomData()
/external/skia/src/pdf/
DSkPDFStream.cpp37 SkDynamicMemoryWStream compressedData; in setData() local
38 SkDeflateWStream deflateWStream(&compressedData); in setData()
41 size_t length = compressedData.bytesWritten(); in setData()
52 fCompressedData.reset(compressedData.detachAsStream()); in setData()
/external/libgdx/gdx/jni/
Dcom.badlogic.gdx.graphics.glutils.ETC1.cpp86 …char* compressedData = (char*)(obj_compressedData?env->GetDirectBufferAddress(obj_compressedData):… in Java_com_badlogic_gdx_graphics_glutils_ETC1_decodeImage() local
93 if (compressedData == 0 || decodedData == 0) { in Java_com_badlogic_gdx_graphics_glutils_ETC1_decodeImage()
109 etc1_decode_image((etc1_byte*)compressedData + offset, in Java_com_badlogic_gdx_graphics_glutils_ETC1_decodeImage()
123 etc1_byte* compressedData = (etc1_byte*)malloc(compressedSize); in wrapped_Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImage() local
124 …image((etc1_byte*)imageData + offset, width, height, pixelSize, width * pixelSize, compressedData); in wrapped_Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImage()
125 return env->NewDirectByteBuffer(compressedData, compressedSize); in wrapped_Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImage()
/external/libvncserver/libvncclient/
Dtight.c528 uint8_t *compressedData; in DecompressJpegRectBPP() local
539 compressedData = malloc(compressedLen); in DecompressJpegRectBPP()
540 if (compressedData == NULL) { in DecompressJpegRectBPP()
545 if (!ReadFromRFBServer(client, (char*)compressedData, compressedLen)) { in DecompressJpegRectBPP()
546 free(compressedData); in DecompressJpegRectBPP()
554 JpegSetSrcManager(&cinfo, compressedData, compressedLen); in DecompressJpegRectBPP()
564 free(compressedData); in DecompressJpegRectBPP()
588 free(compressedData); in DecompressJpegRectBPP()
661 uint8_t *compressedData, in JpegSetSrcManager() argument
665 client->jpegBufferPtr = compressedData; in JpegSetSrcManager()
Drfbproto.c265 static void JpegSetSrcManager(j_decompress_ptr cinfo, uint8_t *compressedData,
/external/zlib/src/contrib/dotzlib/DotZLib/
DUnitTests.cs180 private ArrayList compressedData = new ArrayList(); field in DotZLibTests.DeflateInflateTests
189 compressedData.Add(data[i+startIndex]); in CDataAvail()
195 compressedData.Clear(); in Deflate_Compress()
234 inf.Add((byte[])compressedData.ToArray(typeof(byte))); in Inflate_Expand()
/external/clang/test/CodeGenObjC/
Ddebug-info-block-line.m32 - (NSData *)compressedData; method in ASBase64
79 NSString *encoded = [[data compressedData] encodedString:18];
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DCMSObjectIdentifiers.java23 … static final ASN1ObjectIdentifier compressedData = PKCSObjectIdentifiers.id_ct_compressedData; field
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDefaultDeflateCompatibilityWindow.java349 byte[] compressedData = buffer.toByteArray(); in getSystemValues()
351 byte[] sha256OfCompressedData = digester.digest(compressedData); in getSystemValues()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/ktx/
DKTXProcessor.java349 if (etcData != null) return etcData.compressedData.limit() - etcData.dataOffset; in getSize()
356 etcData.compressedData.position(etcData.dataOffset); in getBytes()
357 etcData.compressedData.get(result); in getBytes()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DDeflateCompressorTest.java63 private byte[] uncompressWithJavaInflater(boolean nowrap, byte[] compressedData) in uncompressWithJavaInflater() argument
67 new InflaterInputStream(new ByteArrayInputStream(compressedData), inflater); in uncompressWithJavaInflater()
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py404 compressedData = zlib.compress(data, self.zlibCompressionLevel)
405 if self.uncompressed or len(compressedData) >= self.origLength:
410 rawData = compressedData
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp749 deUint8* const compressedData = (deUint8*)compressedLevel->getData(); in populateCompressedLevels() local
754 …tcu::astc::generateRandomValidBlocks(compressedData, compressedLevel->getDataSize()/tcu::astc::BLO… in populateCompressedLevels()
761 compressedData[byteNdx] = 0xFF & random.getUint32(); in populateCompressedLevels()
/external/boringssl/src/crypto/obj/
Dobjects.txt259 id-smime-ct 9 : id-smime-ct-compressedData