Home
last modified time | relevance | path

Searched refs:COMPRESS_SLICE_SIZE (Results 1 - 1 of 1) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp47 constexpr int32_t COMPRESS_SLICE_SIZE = 1024; member
237 std::vector<Bytef> temp_out(COMPRESS_SLICE_SIZE, 0); in Compress()
241 strm.avail_out = COMPRESS_SLICE_SIZE; in Compress()
243 out.append(reinterpret_cast<char*>(temp_out.data()), COMPRESS_SLICE_SIZE - strm.avail_out); in Compress()
263 std::vector<Bytef> temp_out(COMPRESS_SLICE_SIZE, 0); in Decompress()
267 strm.avail_out = COMPRESS_SLICE_SIZE; in Decompress()
269 out.append(reinterpret_cast<char*>(temp_out.data()), COMPRESS_SLICE_SIZE - strm.avail_out); in Decompress()

Completed in 2 milliseconds