GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
f_ut_compress.c File Reference
#include "typedefs.h"
#include "f_ut_compress.h"
#include <stdio.h>

Go to the source code of this file.

Macros

#define PACK(bit)
 

Functions

INTS4 f_ut_compr_pack (INTU1 *pc_input, INTS4 l_inlen, INTU1 *pc_output, INTS4 l_outlen)
 
INTS4 f_ut_compr_size (INTU1 *pc_input, INTS4 l_inlen)
 
INTS4 f_ut_compr_unpack (INTU1 *pc_input, INTU1 *pc_output, INTS4 l_outlen)
 
INTS4 f_ut_compr_zeros (INTU1 *pc_input, INTS4 l_inlen)
 

Macro Definition Documentation

◆ PACK

#define PACK ( bit)
Value:
if(*pc_in != 0){*pl_mask += bit ; *pc_out++ = *pc_in; } pc_in++;

Definition at line 19 of file f_ut_compress.c.

Referenced by f_ut_compr_pack().

Function Documentation

◆ f_ut_compr_pack()

INTS4 f_ut_compr_pack ( INTU1 * pc_input,
INTS4 l_inlen,
INTU1 * pc_output,
INTS4 l_outlen )

◆ f_ut_compr_size()

INTS4 f_ut_compr_size ( INTU1 * pc_input,
INTS4 l_inlen )

Definition at line 79 of file f_ut_compress.c.

◆ f_ut_compr_unpack()

INTS4 f_ut_compr_unpack ( INTU1 * pc_input,
INTU1 * pc_output,
INTS4 l_outlen )

Definition at line 344 of file f_ut_compress.c.

References s_compress::l_full_bytes, and s_compress::l_masks.

Referenced by f_his_getbas().

◆ f_ut_compr_zeros()

INTS4 f_ut_compr_zeros ( INTU1 * pc_input,
INTS4 l_inlen )

Definition at line 133 of file f_ut_compress.c.