GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
MbsAPIbase
f_ut_compress.h
Go to the documentation of this file.
1
// $Id$
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
;
28
INTS4
f_ut_compr_size
(
INTU1
*,
INTS4
);
29
INTS4
f_ut_compr_zeros
(
INTU1
*,
INTS4
);
30
INTS4
f_ut_compr_pack
(
INTU1
*,
INTS4
,
INTU1
*,
INTS4
);
31
INTS4
f_ut_compr_unpack
(
INTU1
*,
INTU1
*,
INTS4
);
32
33
#endif
f_ut_compr_unpack
INTS4 f_ut_compr_unpack(INTU1 *, INTU1 *, INTS4)
Definition
f_ut_compress.c:344
f_ut_compr_zeros
INTS4 f_ut_compr_zeros(INTU1 *, INTS4)
Definition
f_ut_compress.c:133
f_ut_compr_pack
INTS4 f_ut_compr_pack(INTU1 *, INTS4, INTU1 *, INTS4)
Definition
f_ut_compress.c:221
f_ut_compr_size
INTS4 f_ut_compr_size(INTU1 *, INTS4)
Definition
f_ut_compress.c:79
s_compress
Definition
f_ut_compress.h:20
s_compress::l_comp_bytes
INTU4 l_comp_bytes
Definition
f_ut_compress.h:25
s_compress::l_endian
INTU4 l_endian
Definition
f_ut_compress.h:21
s_compress::l_length
INTU4 l_length
Definition
f_ut_compress.h:22
s_compress::l_masks
INTU4 l_masks
Definition
f_ut_compress.h:23
s_compress::l_full_bytes
INTU4 l_full_bytes
Definition
f_ut_compress.h:24
s_compress::l_pattern
INTU4 l_pattern
Definition
f_ut_compress.h:26
typedefs.h
INTU1
unsigned char INTU1
Definition
typedefs.h:25
INTS4
int INTS4
Definition
typedefs.h:28
INTU4
unsigned int INTU4
Definition
typedefs.h:29
Generated by
1.13.2