GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
f_ut_compress.h
Go to the documentation of this file.
1 // $Id: f_ut_compress.h 3327 2021-10-18 10:41:57Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef F_UT_COMPRESS_H
15 #define F_UT_COMPRESS_H
16 
17 #include "typedefs.h"
18 #define COMPR__PATTERN 0x0f0f0f0f
19 typedef struct
20 {
21 INTU4 l_endian; /* set to 1 by creator */
22 INTU4 l_length; /* total size [bytes] of compressed buffer */
23 INTU4 l_masks; /* number of masks following this header */
24 INTU4 l_full_bytes; /* number of bytes needed for uncompressed buffer */
25 INTU4 l_comp_bytes; /* number of non zero bytes */
26 INTU4 l_pattern; /* COMPR__PATTERN */
27 } s_compress;
32 
33 #endif
INTS4 f_ut_compr_zeros(INTU1 *, INTS4)
INTU4 l_endian
Definition: f_ut_compress.h:21
unsigned int INTU4
Definition: typedefs.h:29
INTS4 f_ut_compr_size(INTU1 *, INTS4)
Definition: f_ut_compress.c:79
int INTS4
Definition: typedefs.h:28
INTU4 l_pattern
Definition: f_ut_compress.h:26
INTU4 l_full_bytes
Definition: f_ut_compress.h:24
unsigned char INTU1
Definition: typedefs.h:25
INTS4 f_ut_compr_pack(INTU1 *, INTS4, INTU1 *, INTS4)
INTU4 l_length
Definition: f_ut_compress.h:22
INTU4 l_comp_bytes
Definition: f_ut_compress.h:25
INTU4 l_masks
Definition: f_ut_compress.h:23
INTS4 f_ut_compr_unpack(INTU1 *, INTU1 *, INTS4)