ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
CompressionZeroSuppress.cc File Reference
#include <framecpp_config.h>
#include <stdexcept>
#include <boost/shared_array.hpp>
#include "ldastoolsal/types.hh"
#include "ldastoolsal/reverse.hh"
#include "framecpp/Common/CompressionZeroSuppress.hh"
Include dependency graph for CompressionZeroSuppress.cc:
This graph shows which files directly or indirectly include this file:

Classes

class  anonymous_namespace{CompressionZeroSuppress.cc}::FrUncompressable
class  anonymous_namespace{CompressionZeroSuppress.cc}::FrZCompIRangeError
class  anonymous_namespace{CompressionZeroSuppress.cc}::FrZCompRangeError

Namespaces

namespace  anonymous_namespace{CompressionZeroSuppress.cc}
namespace  FrameCPP
 I/O library for implementing the LIGO/Virgo frame specification.
namespace  FrameCPP::Compression
 Routines related to compression algorithems.
namespace  FrameCPP::Compression::ZeroSuppress
 Routines related to the gzip compression algorith.

Macros

#define INSTANTIATE(LM_SIZE)

Typedefs

typedef FrameCPP::Compression::ZeroSuppress::data_type_type data_type_type
typedef FrameCPP::Compression::ZeroSuppress::nbytes_type nbytes_type
typedef FrameCPP::Compression::ZeroSuppress::ndata_type ndata_type

Functions

static const INT_2S MIN_INT_2S (std::numeric_limits< INT_2S >::min())
static const INT_4S MIN_INT_4S (std::numeric_limits< INT_4S >::min())
static const INT_8S MIN_INT_8S (std::numeric_limits< INT_8S >::min())
static const char * init_nBitTable256 ()
template<typename T>
INT_2U calcNBits (T Number)
static const char * nBitTable256 (init_nBitTable256())
template<>
INT_2U calcNBits (INT_2U Number)
template<>
INT_2U calcNBits (INT_2S Number)
template<>
INT_2U calcNBits (INT_4U Number)
template<>
INT_2U calcNBits (INT_8U Number)
template<>
INT_2U calcNBits (INT_8S Number)
template<>
INT_2U calcNBits (INT_4S Number)
template<int T>
INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::BSize ()
template<typename T>
anonymous_namespace{CompressionZeroSuppress.cc}::LowerBound ()
template<typename T>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits ()
template<typename T>
anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBitsMask ()
template<>
INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::BSize< 2 > ()
template<>
INT_2S anonymous_namespace{CompressionZeroSuppress.cc}::LowerBound ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_2U > ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_2S > ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBitsMask ()
template<>
INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::BSize< 4 > ()
template<>
INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::LowerBound ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_4U > ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_4S > ()
template<>
INT_4U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBitsMask ()
template<>
INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::BSize< 8 > ()
template<>
INT_8S anonymous_namespace{CompressionZeroSuppress.cc}::LowerBound ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_8U > ()
template<>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBits< INT_8S > ()
template<>
INT_8U anonymous_namespace{CompressionZeroSuppress.cc}::SignificantBitsMask ()
template<typename T>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::StorageBits ()
template<typename T>
INT_2U anonymous_namespace{CompressionZeroSuppress.cc}::SpaceBits ()
template<typename TS, typename TU>
int anonymous_namespace{CompressionZeroSuppress.cc}::zcomp (TU *Out, INT_8U *compL, const TS *data, ndata_type nData, INT_8U bSize=BSize< sizeof(TS) >())
template<typename OutType, typename InType>
void anonymous_namespace{CompressionZeroSuppress.cc}::zexpand (OutType *DataOut, const InType *DataIn, ndata_type NDataOut)
template<typename InType, typename OutType>
void anonymous_namespace{CompressionZeroSuppress.cc}::compress (const data_element_type *Source, INT_8U SourceLength, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<typename InType, typename OutType>
void FrameCPP::Compression::ZeroSuppress::diff_compress (const data_element_type *Source, INT_8U SourceLength, INT_4U DataType, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<typename InType, typename OutType>
void FrameCPP::Compression::ZeroSuppress::expand (const data_element_type *DataIn, INT_8U DataInBytes, bool ByteSwap, boost::shared_array< data_element_type > &DataOut, INT_8U NDataOut, INT_8U &NBytesOut)
template<>
void FrameCPP::Compression::ZeroSuppress::Compress< 2 > (const data_element_type *Source, INT_8U SourceLength, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<>
void FrameCPP::Compression::ZeroSuppress::Compress< 4 > (const data_element_type *Source, INT_8U SourceLength, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<>
void FrameCPP::Compression::ZeroSuppress::Expand< 2 > (const data_element_type *DataIn, INT_8U DataInBytes, bool ByteSwap, boost::shared_array< data_element_type > &DataOut, ndata_type NDataOut, INT_8U &NBytesOut)
template<>
void FrameCPP::Compression::ZeroSuppress::Expand< 4 > (const data_element_type *DataIn, INT_8U DataInBytes, bool ByteSwap, boost::shared_array< data_element_type > &DataOut, ndata_type NDataOut, INT_8U &NBytesOut)
template<>
void FrameCPP::Compression::ZeroSuppress::Expand< 8 > (const data_element_type *DataIn, INT_8U DataInBytes, bool ByteSwap, boost::shared_array< data_element_type > &DataOut, ndata_type NDataOut, INT_8U &NBytesOut)
template<>
void FrameCPP::Compression::ZeroSuppress::DiffCompress< 2 > (const data_element_type *Source, INT_8U SourceLength, INT_4U DataType, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<>
void FrameCPP::Compression::ZeroSuppress::DiffCompress< 4 > (const data_element_type *Source, INT_8U SourceLength, INT_4U DataType, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<>
void FrameCPP::Compression::ZeroSuppress::DiffCompress< 8 > (const data_element_type *Source, INT_8U SourceLength, INT_4U DataType, boost::shared_array< data_element_type > &Dest, INT_8U &DestByteLength)
template<int Size>
void FrameCPP::Compression::ZeroSuppress::DiffExpand (const data_element_type *DataIn, nbytes_type DataInBytes, bool ByteSwap, data_type_type DataType, data_type &DataOut, ndata_type NDataOut, nbytes_type &NBytesOut)
 Expansion of the data.
 FrameCPP::Compression::ZeroSuppress::INSTANTIATE (2)
 FrameCPP::Compression::ZeroSuppress::INSTANTIATE (4)
 FrameCPP::Compression::ZeroSuppress::INSTANTIATE (8)
template<typename wMaxType>
const wMaxType * anonymous_namespace{CompressionZeroSuppress.cc}::wMaxTable ()
template<typename maskType>
const maskType * anonymous_namespace{CompressionZeroSuppress.cc}::maskTable ()
template<typename TS, typename TU>
void anonymous_namespace{CompressionZeroSuppress.cc}::zexpand (TS *out, const TU *data, ndata_type nData)

Variables

static INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::ZERO_COMPRESS_INT_2_BSIZE = 12
static INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::ZERO_COMPRESS_INT_4_BSIZE = 8
static INT_4S anonymous_namespace{CompressionZeroSuppress.cc}::ZERO_COMPRESS_INT_8_BSIZE = 8

Macro Definition Documentation

◆ INSTANTIATE

#define INSTANTIATE ( LM_SIZE)
Value:
template void DiffExpand< LM_SIZE >( \
const data_element_type* DataIn, \
nbytes_type DataInBytes, \
bool ByteSwap, \
data_type_type DataType, \
boost::shared_array< data_element_type >& DataOut, \
ndata_type NDataOut, \
nbytes_type& NBytesOut )
FrameCPP::Compression::ZeroSuppress::nbytes_type nbytes_type
Definition CompressionZeroSuppress.cc:48
FrameCPP::Compression::ZeroSuppress::ndata_type ndata_type
Definition CompressionZeroSuppress.cc:49
data_type_type
Definition FrDumpObjects.cc:90

Typedef Documentation

◆ data_type_type

◆ nbytes_type

◆ ndata_type

Function Documentation

◆ calcNBits() [1/7]

template<>
INT_2U calcNBits ( INT_2S Number)
inline

◆ calcNBits() [2/7]

template<>
INT_2U calcNBits ( INT_2U Number)
inline

◆ calcNBits() [3/7]

template<>
INT_2U calcNBits ( INT_4S Number)
inline

◆ calcNBits() [4/7]

template<>
INT_2U calcNBits ( INT_4U Number)

◆ calcNBits() [5/7]

template<>
INT_2U calcNBits ( INT_8S Number)
inline

◆ calcNBits() [6/7]

template<>
INT_2U calcNBits ( INT_8U Number)

◆ calcNBits() [7/7]

template<typename T>
INT_2U calcNBits ( T Number)

◆ init_nBitTable256()

const char * init_nBitTable256 ( )
static

◆ MIN_INT_2S()

const INT_2S MIN_INT_2S ( std::numeric_limits< INT_2S > ::min())
static

◆ MIN_INT_4S()

const INT_4S MIN_INT_4S ( std::numeric_limits< INT_4S > ::min())
static

◆ MIN_INT_8S()

const INT_8S MIN_INT_8S ( std::numeric_limits< INT_8S > ::min())
static

◆ nBitTable256()

const char * nBitTable256 ( init_nBitTable256() )
static