Home
last modified time | relevance | path

Searched refs:compressedBuffer (Results 1 – 12 of 12) sorted by relevance

/external/lz4/tests/
Dfuzzer.c312 char* const compressedBuffer = (char*)malloc(compressedBufferSize); in FUZ_test() local
344 if(!CNBuffer || !compressedBuffer || !decodedBuffer) { in FUZ_test()
389 compressedBuffer[targetSize] = endCheck; in FUZ_test()
390 ret = LZ4_compress_destSize(block, compressedBuffer, &srcSize, targetSize); in FUZ_test()
392 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test()
403 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
422 compressedBuffer[targetSize] = endCheck; in FUZ_test()
423 …ret = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLeve… in FUZ_test()
428 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_HC_destSize() overwrite dst … in FUZ_test()
438 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
[all …]
Dframetest.c179 void* const compressedBuffer = malloc(cBuffSize); in basicTests() local
190 if (!CNBuffer || !compressedBuffer || !decodedBuffer) { in basicTests()
207 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
216 CHECK( LZ4F_getFrameInfo(dCtx, &frame_info, compressedBuffer, &avail_in) ); in basicTests()
230 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
235 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
245 …CHECK( LZ4F_decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressedBuffe… in basicTests()
253 const BYTE* cBuff = (const BYTE*) compressedBuffer; in basicTests()
280 const BYTE* ip = (BYTE*)compressedBuffer; in basicTests()
318 memcpy(decodedBuffer, (char*)compressedBuffer+16, 32); /* save correct data */ in basicTests()
[all …]
Dfullbench.c81 char* compressedBuffer; member
445 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize; in fullSpeedBench()
498 …e = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunk… in fullSpeedBench()
532 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize; in fullSpeedBench()
537 … = LZ4_compress_default(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunk… in fullSpeedBench()
595 …int const decodedSize = decompressionFunction(chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].or… in fullSpeedBench()
/external/dng_sdk/source/
Ddng_read_image.cpp2168 AutoPtr<dng_memory_block> &compressedBuffer, in ReadTile() argument
2301 if (!expander.Expand (compressedBuffer->Buffer_uint8 (), in ReadTile()
2314 dng_stream subStream (compressedBuffer->Buffer_uint8 (), in ReadTile()
2333 (const Bytef *) compressedBuffer->Buffer (), in ReadTile()
2543 compressedBuffer.Get () ? compressedBuffer->Buffer_uint8 () : NULL)) in ReadTile()
2590 compressedBuffer.Get () ? compressedBuffer->Buffer_uint8 () : NULL)) in ReadTile()
2804 AutoPtr<dng_memory_block> compressedBuffer; in Process() local
2810 compressedBuffer.Reset (fHost.Allocate (fCompressedSize)); in Process()
2849 : compressedBuffer->Buffer (), in Process()
2861 printer.Process (compressedBuffer->Buffer (), in Process()
[all …]
Ddng_jpeg_image.cpp97 AutoPtr<dng_memory_block> compressedBuffer; in Process() local
142 compressedBuffer, in Process()
Ddng_read_image.h172 AutoPtr<dng_memory_block> &compressedBuffer,
Ddng_image_writer.cpp3715 AutoPtr<dng_memory_block> &compressedBuffer) in WriteData() argument
3794 uint8 *dBuffer = compressedBuffer->Buffer_uint8 (); in WriteData()
3811 uLongf dCount = compressedBuffer->LogicalSize (); in WriteData()
3840 if (dBytes > compressedBuffer->LogicalSize ()) in WriteData()
3866 temp.fData = compressedBuffer->Buffer (); in WriteData()
4173 AutoPtr<dng_memory_block> &compressedBuffer, in WriteTile() argument
4299 compressedBuffer); in WriteTile()
4392 AutoPtr<dng_memory_block> compressedBuffer; in Process() local
4399 compressedBuffer.Reset (fHost.Allocate (fCompressedSize)); in Process()
4455 compressedBuffer, in Process()
[all …]
Ddng_image_writer.h1226 AutoPtr<dng_memory_block> &compressedBuffer);
1234 AutoPtr<dng_memory_block> &compressedBuffer,
/external/lz4/programs/
Dbench.c171 void* const compressedBuffer = malloc(maxCompressedSize); in BMK_benchMem() local
178 if (!compressedBuffer || !resultBuffer || !blockTable) in BMK_benchMem()
199 char* cPtr = (char*)compressedBuffer; in BMK_benchMem()
220 RDG_genBuffer(compressedBuffer, maxCompressedSize, 0.10, 0.50, 1); in BMK_benchMem()
249 …if (!cCompleted) memset(compressedBuffer, 0xE5, maxCompressedSize); /* warm up and erase result b… in BMK_benchMem()
368 free(compressedBuffer); in BMK_benchMem()
/external/deqp/framework/qphelper/
DqpTestLog.c871 Buffer compressedBuffer; in qpTestLog_writeImage() local
883 Buffer_init(&compressedBuffer); in qpTestLog_writeImage()
899 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data); in qpTestLog_writeImage()
902 writeDataPtr = compressedBuffer.data; in qpTestLog_writeImage()
903 writeDataBytes = compressedBuffer.size; in qpTestLog_writeImage()
927 if (Buffer_resize(&compressedBuffer, (size_t)(packedStride*height))) in qpTestLog_writeImage()
931 …memcpy(&compressedBuffer.data[packedStride*row], &((const deUint8*)data)[row*stride], (size_t)(pix… in qpTestLog_writeImage()
936 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
953 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
977 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
[all …]
/external/lzma/Java/SevenZip/
DLzmaBench.java335 byte[] compressedBuffer = new byte[kCompressedBufferSize]; in LzmaBenchmark()
336 MyOutputStream compressedStream = new MyOutputStream(compressedBuffer); in LzmaBenchmark()
351 inputCompressedStream = new MyInputStream(compressedBuffer, compressedSize); in LzmaBenchmark()
/external/python/cpython2/Modules/
Dclmodule.c105 PyObject *compressedBuffer; in cl_CompressImage() local
114 compressedBuffer = PyString_FromStringAndSize(NULL, frameBufferSize); in cl_CompressImage()
115 if (compressedBuffer == NULL) in cl_CompressImage()
123 (void *) PyString_AsString(compressedBuffer)) in cl_CompressImage()
125 Py_DECREF(compressedBuffer); in cl_CompressImage()
133 Py_DECREF(compressedBuffer); in cl_CompressImage()
138 _PyString_Resize(&compressedBuffer, compressedBufferSize); in cl_CompressImage()
140 return compressedBuffer; in cl_CompressImage()
147 char *compressedBuffer; in cl_DecompressImage() local
152 &originalFormat, &compressedBuffer, in cl_DecompressImage()
[all …]