GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 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 478 2009-10-29 12:26:09Z 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 für 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 #include "typedefs.h"
15 #define COMPR__PATTERN 0x0f0f0f0f
16 typedef struct
17 {
18 INTU4 l_endian; /* set to 1 by creator */
19 INTU4 l_length; /* total size [bytes] of compressed buffer */
20 INTU4 l_masks; /* number of masks following this header */
21 INTU4 l_full_bytes; /* number of bytes needed for uncompressed buffer */
22 INTU4 l_comp_bytes; /* number of non zero bytes */
23 INTU4 l_pattern; /* COMPR__PATTERN */
24 } s_compress;
INTS4 f_ut_compr_zeros(INTU1 *, INTS4)
INTU4 l_endian
Definition: f_ut_compress.h:18
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:23
INTU4 l_full_bytes
Definition: f_ut_compress.h:21
unsigned char INTU1
Definition: typedefs.h:25
INTS4 f_ut_compr_pack(INTU1 *, INTS4, INTU1 *, INTS4)
INTU4 l_length
Definition: f_ut_compress.h:19
INTU4 l_comp_bytes
Definition: f_ut_compress.h:22
INTU4 l_masks
Definition: f_ut_compress.h:20
INTS4 f_ut_compr_unpack(INTU1 *, INTU1 *, INTS4)