GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
19typedef struct
20{
21INTU4 l_endian; /* set to 1 by creator */
22INTU4 l_length; /* total size [bytes] of compressed buffer */
23INTU4 l_masks; /* number of masks following this header */
24INTU4 l_full_bytes; /* number of bytes needed for uncompressed buffer */
25INTU4 l_comp_bytes; /* number of non zero bytes */
26INTU4 l_pattern; /* COMPR__PATTERN */
32
33#endif
INTS4 f_ut_compr_unpack(INTU1 *, INTU1 *, INTS4)
INTS4 f_ut_compr_zeros(INTU1 *, INTS4)
INTS4 f_ut_compr_pack(INTU1 *, INTS4, INTU1 *, INTS4)
INTS4 f_ut_compr_size(INTU1 *, INTS4)
INTU4 l_comp_bytes
INTU4 l_full_bytes
INTU4 l_pattern
unsigned char INTU1
Definition typedefs.h:25
int INTS4
Definition typedefs.h:28
unsigned int INTU4
Definition typedefs.h:29