Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::io::ImageCompressor::CompressedData Struct Reference

most simple dyn-size array with given data and length More...

#include <ImageCompressor.h>

Public Member Functions

 CompressedData (icl8u *bytes=0, int len=0, float compressionRatio=0, const CompressionSpec &compression=CompressionSpec())
 Constructor. More...
 

Public Attributes

icl8ubytes
 data pointer More...
 
int len
 num elements More...
 
float compressionRatio
 compression rate (1: no compression, 0.5: 50% compression , ...) More...
 
CompressionSpec compression
 underlying compression mode More...
 

Detailed Description

most simple dyn-size array with given data and length

This class does no memory management at all

Constructor & Destructor Documentation

◆ CompressedData()

icl::io::ImageCompressor::CompressedData::CompressedData ( icl8u bytes = 0,
int  len = 0,
float  compressionRatio = 0,
const CompressionSpec compression = CompressionSpec() 
)
inline

Constructor.

Member Data Documentation

◆ bytes

icl8u* icl::io::ImageCompressor::CompressedData::bytes

data pointer

◆ compression

CompressionSpec icl::io::ImageCompressor::CompressedData::compression

underlying compression mode

◆ compressionRatio

float icl::io::ImageCompressor::CompressedData::compressionRatio

compression rate (1: no compression, 0.5: 50% compression , ...)

◆ len

int icl::io::ImageCompressor::CompressedData::len

num elements


The documentation for this struct was generated from the following file: