47 #ifndef _MIRA_COMPRESSBUFFER_H_ 48 #define _MIRA_COMPRESSBUFFER_H_ 77 Buffer<uint8>& ioDest,
78 int compressionLevel = -1);
87 Buffer<uint8>& ioDest);
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
void MIRA_BASE_EXPORT compressBuffer(const Buffer< uint8 > &src, Buffer< uint8 > &ioDest, int compressionLevel=-1)
Compress a given buffer into a second buffer using libzip.
uint32 MIRA_BASE_EXPORT getMaxCompressedLength(uint32 uncompressedSize)
Determine the maximum size of the compressed data for uncompressed data with a given length...
void MIRA_BASE_EXPORT uncompressBuffer(const Buffer< uint8 > &src, Buffer< uint8 > &ioDest)
Uncompress a given buffer into a second buffer using libzip.
Generic buffer class that can be used as a replacement for std::vector.