Home
last modified time | relevance | path

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

/third_party/lz4/tests/
Dframetest.c177 void* const compressedBuffer = malloc(cBuffSize); in basicTests() local
188 if (!CNBuffer || !compressedBuffer || !decodedBuffer) { in basicTests()
223 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
232 size_t const fhs = LZ4F_headerSize(compressedBuffer, LZ4F_MIN_SIZE_TO_KNOW_HEADER_LENGTH); in basicTests()
235 CHECK( LZ4F_getFrameInfo(dCtx, &frame_info, compressedBuffer, &avail_in) ); in basicTests()
250 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
255 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
265 …CHECK( LZ4F_decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressedBuffe… in basicTests()
273 const BYTE* cBuff = (const BYTE*) compressedBuffer; in basicTests()
300 const BYTE* ip = (BYTE*)compressedBuffer; in basicTests()
[all …]
Dfuzzer.c324 char* const compressedBuffer = (char*)malloc(compressedBufferSize); in FUZ_test() local
357 if(!CNBuffer || !compressedBuffer || !decodedBuffer || !LZ4dictHC) { in FUZ_test()
402 compressedBuffer[targetSize] = endCheck; in FUZ_test()
403 cSize = LZ4_compress_destSize(block, compressedBuffer, &srcSize, targetSize); in FUZ_test()
405 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test()
415 … { int const dSize = LZ4_decompress_safe(compressedBuffer, decodedBuffer, cSize, srcSize); in FUZ_test()
433 compressedBuffer[targetSize] = endCheck; in FUZ_test()
434 …cSize = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLe… in FUZ_test()
439 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_HC_destSize() overwrite dst … in FUZ_test()
448 … { int const dSize = LZ4_decompress_safe(compressedBuffer, decodedBuffer, cSize, srcSize); in FUZ_test()
[all …]
Dfullbench.c82 char* compressedBuffer; member
536 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize; in fullSpeedBench()
589 …e = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunk… in fullSpeedBench()
630 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize; in fullSpeedBench()
635 … = LZ4_compress_default(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunk… in fullSpeedBench()
699 …int const decodedSize = decompressionFunction(chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].or… in fullSpeedBench()
/third_party/skia/third_party/externals/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,
/third_party/vk-gl-cts/framework/qphelper/
DqpTestLog.c893 Buffer compressedBuffer; in qpTestLog_writeImage() local
905 Buffer_init(&compressedBuffer); in qpTestLog_writeImage()
921 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data); in qpTestLog_writeImage()
924 writeDataPtr = compressedBuffer.data; in qpTestLog_writeImage()
925 writeDataBytes = compressedBuffer.size; in qpTestLog_writeImage()
949 if (Buffer_resize(&compressedBuffer, (size_t)(packedStride*height))) in qpTestLog_writeImage()
953 …memcpy(&compressedBuffer.data[packedStride*row], &((const deUint8*)data)[row*stride], (size_t)(pix… in qpTestLog_writeImage()
958 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
975 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
999 Buffer_deinit(&compressedBuffer); in qpTestLog_writeImage()
[all …]
/third_party/lz4/programs/
Dbench.c328 void* const compressedBuffer = malloc(maxCompressedSize); in BMK_benchMem() local
334 if (!compressedBuffer || !resultBuffer || !blockTable) in BMK_benchMem()
345 char* cPtr = (char*)compressedBuffer; in BMK_benchMem()
366 RDG_genBuffer(compressedBuffer, maxCompressedSize, 0.10, 0.50, 1); in BMK_benchMem()
395 …if (!cCompleted) memset(compressedBuffer, 0xE5, maxCompressedSize); /* warm up and erase result b… in BMK_benchMem()
522 free(compressedBuffer); in BMK_benchMem()