GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSE / V1-3-5

Constituent: lsew     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_dgn.h File Reference

Public interface to produce Compressed Data Format for the diagnostic contributions. More...

This graph shows which files directly or indirectly include this file:


Functions

int CDF_dgnCfg_sizeof (int level)
 Returns the size, in bytes of the DGN compression configuration needed to support the specified level.
int CDF_dgnCfg_construct (CDF_dgnCfg *cfg, int level, void **mem)
 Constructs the CDF_dgnCfg compression configuration.
int CDF_dgn_sizeof (int level, const CDF_dgnCfg *cfg)
 Returns the size, in bytes of the DGN compression structure needed to support the specified level.
int CDF_dgn_construct (CDF_dgn *cdf, int level, const CDF_dgnCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem)
 Constructs the CDF_dgn compression context.
unsigned int CDF_dgn_compress (CDF_dgn *cdf, unsigned int *buf, unsigned int pos, const EBF_dir *dir)
 Compresses the DGN contributions.

Detailed Description

Public interface to produce Compressed Data Format for the diagnostic contributions.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_dgn.h,v 1.2 2007/02/14 04:10:49 russell Exp $


Function Documentation

unsigned int CDF_dgn_compress CDF_dgn cdf,
unsigned int *  buf,
unsigned int  pos,
const EBF_dir *  dir
 

Compresses the DGN contributions.

Returns:
The updated write bit position
Parameters:
cdf The DGN compression data formatting handle
buf The output buffer
pos The position of the next bit to fill
dir The directory describing the event to be formatted

int CDF_dgn_construct CDF_dgn cdf,
int  level,
const CDF_dgnCfg *  cfg,
const LSEW_dgmFw dgmFw,
void **  mem
 

Constructs the CDF_dgn compression context.

Return values:
Status 
Parameters:
cdf The CDF_dgn compress context structure to fill
level The maximum compression level that needs to be supported
cfg Target specific configuration parameter
dgmFw The datagram framework handle
mem Pointer to free memory pointer, return as the the updated pointer. If cdf is equal to the current contents of mem, then mem will be advanced by the size of CDF_dgn, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_dgn_sizeof int  level,
const CDF_dgnCfg *  cfg
 

Returns the size, in bytes of the DGN compression structure needed to support the specified level.

Parameters:
level The maximum compression level to support
cfg Target specific configuration

int CDF_dgnCfg_construct CDF_dgnCfg *  cfg,
int  level,
void **  mem
 

Constructs the CDF_dgnCfg compression configuration.

Return values:
Status 
Parameters:
cfg Target specific configuration
level The maximum compression level that needs to be supported
mem Pointer to free memory pointer, return as the the updated pointer. If cfg is equal to the current contents of mem, then mem will be advanced by the size of CDF_dgnCfg else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_dgnCfg_sizeof int  level  ) 
 

Returns the size, in bytes of the DGN compression configuration needed to support the specified level.

Parameters:
level The maximum compression level to support


Generated on Fri Feb 1 02:08:04 2008 by  doxygen 1.4.4