![]() |
Belle II Software
release-08-02-04
|
ECL waveform compression/decompression to/from the BitStream storage based on the Discrete Cosine Transform (DCT) More...
#include <ECLCompress.h>


Public Member Functions | |
| ECLDCTCompress (double scale, double c0, width_t *w) | |
| Constructor for DCT based compression algorithm. More... | |
| void | compress (BitStream &out, const int *adc) override |
| function to compress | |
| void | uncompress (BitStream &in, int *adc) override |
| function to decompress | |
Protected Attributes | |
| const double | m_scale |
| Scale factor for quantization. | |
| const double | m_c0 |
| Average waveform amplitude. | |
| const width_t * | m_widths |
| Bit widths for the DCT coefficients for prefix encoding. | |
ECL waveform compression/decompression to/from the BitStream storage based on the Discrete Cosine Transform (DCT)
Definition at line 84 of file ECLCompress.h.
| ECLDCTCompress | ( | double | scale, |
| double | c0, | ||
| width_t * | w | ||
| ) |
Constructor for DCT based compression algorithm.
| scale | scale factor for quantization. |
| c0 | average waveform amplitude. |
| w | DCT coefficient probability density based bit widths for quantized coefficients |
Definition at line 241 of file ECLCompress.cc.