GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-1 > lsew / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_acd.h File Reference

Public interface to produce Compressed Data Format for the ACD contributor and the ACD portion of the GEM. More...


Functions

int CDF_acdCfg_sizeof (int level)
 Returns the size, in bytes of the ACD compression configuration needed to support the specified level.
int CDF_acdCfg_construct (CDF_acdCfg *cfg, int level, void **mem)
 Constructs the CDF_acdCfg compression configuration.
int CDF_acd_sizeof (int level, const CDF_acdCfg *cfg)
 Returns the size, in bytes of the GEM/ACD compression structure needed to support the specified level.
int CDF_acd_construct (CDF_acd *cdf, int level, const CDF_acdCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem)
 Constructs the CDF_acd compression context.
void CDF_acd_begin (CDF_acd *cdf, CDF_acdBdy *bdy)
 Fills int the ACD portion of the datagram contribution used in when decoding an ACD event.


Detailed Description

Public interface to produce Compressed Data Format for the ACD contributor and the ACD portion of the GEM.

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


Function Documentation

void CDF_acd_begin ( CDF_acd cdf,
CDF_acdBdy bdy 
)

Fills int the ACD portion of the datagram contribution used in when decoding an ACD event.

Parameters:
cdf The CDF_acd compress context structure
bdy The CDF_acdBdy structure to fill

int CDF_acd_construct ( CDF_acd cdf,
int  level,
const CDF_acdCfg *  cfg,
const LSEW_dgmFw dgmFw,
void **  mem 
)

Constructs the CDF_acd compression context.

Return values:
Status 
Parameters:
cdf The CDF_acd 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_acd, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_acd_sizeof ( int  level,
const CDF_acdCfg *  cfg 
)

Returns the size, in bytes of the GEM/ACD compression structure needed to support the specified level.

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

int CDF_acdCfg_construct ( CDF_acdCfg *  cfg,
int  level,
void **  mem 
)

Constructs the CDF_acdCfg 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_acdCfg, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_acdCfg_sizeof ( int  level  ) 

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

Parameters:
level The maximum compression level to support


Generated on Mon Jul 26 12:59:19 2010 by  doxygen 1.5.3