Home
last modified time | relevance | path

Searched refs:BLOCK_BYTES (Results 1 – 3 of 3) sorted by relevance

/external/lz4/examples/
DblockStreaming_doubleBuffer.c17 BLOCK_BYTES = 1024 * 8, enumerator
44 char inpBuf[2][BLOCK_BYTES]; in test_compress()
51 const int inpBytes = (int) read_bin(inpFp, inpPtr, BLOCK_BYTES); in test_compress()
57 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_compress()
79 char decBuf[2][BLOCK_BYTES]; in test_decompress()
85 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_decompress()
103 lz4StreamDecode, cmpBuf, decPtr, cmpBytes, BLOCK_BYTES); in test_decompress()
151 snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[1], BLOCK_BYTES); in main()
152 snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[1], BLOCK_BYTES); in main()
DdictionaryRandomAccess.c17 BLOCK_BYTES = 1024, /* 1 KiB of uncompressed data in a block */ enumerator
61 char inpBuf[BLOCK_BYTES]; in test_compress()
75 const int inpBytes = (int) read_bin(inpFp, inpBuf, BLOCK_BYTES); in test_compress()
83 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_compress()
111 int currentBlock = offset / BLOCK_BYTES; in test_decompress()
112 int endBlock = ((offset + length - 1) / BLOCK_BYTES) + 1; in test_decompress()
114 char decBuf[BLOCK_BYTES]; in test_decompress()
143 offset = offset % BLOCK_BYTES; in test_decompress()
147 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_decompress()
159 lz4StreamDecode, cmpBuf, decBuf, cmpBytes, BLOCK_BYTES); in test_decompress()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc_tmp.h37 #define BLOCK_BYTES 16 macro
814 src += BLOCK_BYTES; in decompress_rgba_unorm()
1166 src += BLOCK_BYTES; in decompress_rgb_float()
1473 dst += BLOCK_BYTES; in compress_rgba_unorm()
1739 dst += BLOCK_BYTES; in compress_rgb_float()