BdsApi 3.1.4
This is the Blacknest BDS API.
Loading...
Searching...
No Matches
BdsCompress.h
Go to the documentation of this file.
1/*******************************************************************************
2 * BdsCompress.h Data Compression Functions
3 * T.Barnaby, BEAM Ltd, 2009-05-15
4 *******************************************************************************
5 */
6#ifndef BdsCompress_H
7#define BdsCompress_H
8
9#include <BError.h>
10#include <BArray.h>
11
12namespace Bds {
13
16
19public:
21 void setByteOrder(int swap);
22 void clear();
23
24 BError unCompress(void* buffer, BUInt numSamples, BArray<BInt32>& data);
25private:
26 int oswapBytes;
27};
28
29}
30#endif
BUInt32 BUInt
uint8_t BUInt8
char data[8]
Steim1 un-compress class.
Definition: BdsCompress.h:18
void setByteOrder(int swap)
Definition: BdsCompress.cpp:57
CompressSteim1()
Definition: BdsCompress.cpp:53
void clear()
Definition: BdsCompress.cpp:61
BError unCompress(void *buffer, BUInt numSamples, BArray< BInt32 > &data)
Definition: BdsCompress.cpp:64
Definition: BdsC.cc:8
BError bdsUnCompressSteim1(BUInt8 *buffer, BUInt n, BArray< BInt32 > &data)
Uncompress STEIM1 formatted data.
BError bdsUnCompressCm8(BUInt8 *buffer, BUInt n, BArray< BInt32 > &data)
Uncompress CM8 formatted data.
Definition: BdsCompress.cpp:11