ldas-tools-framecpp 2.7.0
Loading...
Searching...
No Matches
Namespaces | Macros | Typedefs | Functions | Variables
Compression.cc File Reference
#include <framecpp_config.h>
#include <strings.h>
#include <algorithm>
#include <iterator>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <valarray>
#include <boost/shared_array.hpp>
#include "ldastoolsal/reverse.hh"
#include "ldastoolsal/util.hh"
#include "ldastoolsal/types.hh"
#include "framecpp/Common/Compression.hh"
#include "framecpp/Common/CompressionDifferential.hh"
#include "framecpp/Common/CompressionGZip.hh"
#include "framecpp/Common/CompressionZeroSuppress.hh"
Include dependency graph for Compression.cc:
This graph shows which files directly or indirectly include this file:

Namespaces

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

Macros

#define LM_INFO   0
 
#define AT()
 
#define MAP(A, B)   m[ A ] = sizeof( B )
 

Typedefs

typedef LDASTools::AL::unordered_map< INT_4U, INT_4U > anonymous_namespace{Compression.cc}::data_type_size_mapping
 

Functions

data_type_size_mappinganonymous_namespace{Compression.cc}::size_map_init ()
 
template<typename _Map >
_Map::key_type anonymous_namespace{Compression.cc}::reverse_lookup (typename _Map::mapped_type Key, const _Map &Map)
 
template<typename _Map >
_Map::mapped_type anonymous_namespace{Compression.cc}::reverse_lookup (typename _Map::key_type Key, const _Map &Map)
 
template<typename T >
INT_4U anonymous_namespace{Compression.cc}::data_type_id ()
 
template<>
INT_4U anonymous_namespace{Compression.cc}::data_type_id< INT_4S > ()
 
template<>
INT_4U anonymous_namespace{Compression.cc}::data_type_id< INT_4U > ()
 
template<>
INT_4U anonymous_namespace{Compression.cc}::data_type_id< INT_8S > ()
 
template<>
INT_4U anonymous_namespace{Compression.cc}::data_type_id< INT_8U > ()
 
INT_2U anonymous_namespace{Compression.cc}::data_size (INT_4U Type)
 
void anonymous_namespace{Compression.cc}::swap_data (INT_8U NData, FrameCPP::Compression::data_types_type Type, CHAR_U *Buffer)
 
INT_4U anonymous_namespace{Compression.cc}::DiffGZip (const CHAR_U *Source, const INT_8U SourceLength, const INT_8U SourceByteLength, INT_4U DataType, INT_4U Level, const compress_type_mapping &CompressionMapping, boost::shared_array< CHAR_U > &Dest, INT_8U &DestByteLength)
 
template<typename T >
INT_4U anonymous_namespace{Compression.cc}::compressZeroSuppressComplexType ()
 
template<typename T >
void anonymous_namespace{Compression.cc}::compressZeroSuppressComplex (const CHAR_U *Source, const INT_8U SourceLength, const INT_8U SourceByteLength, INT_4U DataType, boost::shared_array< CHAR_U > &DataOut, INT_8U &DataOutLen)
 
template<typename T >
void anonymous_namespace{Compression.cc}::expandZeroSuppressComplex (const CHAR_U *Source, const INT_8U SourceLength, const INT_8U SourceByteLength, bool NativeOrder, INT_4U DataType, boost::shared_array< CHAR_U > &DataOut, INT_8U &DataOutLen)
 
void FrameCPP::Compression::Compress (INT_4U &CompressionMode, INT_4U Level, const compress_type_mapping &CompressionMapping, const compress_type_reverse_mapping &CompressionReverseMapping, INT_4U DataType, const data_type_mapping &DataTypeMapping, const CHAR_U *Source, const INT_8U SourceLength, const INT_8U SourceByteLength, output_type &Dest, INT_8U &DestByteLength)
 compress data without altering the source
 
void FrameCPP::Compression::Expand (const bool NativeOrder, const INT_4U CompressionMode, const compress_type_mapping &CompressionMapping, const INT_4U DataType, const data_type_mapping &DataTypeMapping, const CHAR_U *Source, const INT_8U SourceLength, const INT_8U SourceByteLength, output_type &Dest, INT_8U &DataByteLength)
 uncompress data without altering the source
 

Variables

static const data_type_size_mappinganonymous_namespace{Compression.cc}::size_map = size_map_init( )
 

Macro Definition Documentation

◆ AT

#define AT ( )

◆ LM_INFO

#define LM_INFO   0

◆ MAP

#define MAP ( A,
B )   m[ A ] = sizeof( B )