GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSE / V1-2-0

Constituent: lsew     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_tkr.c File Reference

Implementation to produce Compressed Data Format for the TKR contributors. More...

#include "LSE/CDF_tkr.h"
#include "CDF_tkr_def.h"
#include <string.h>
#include "dprintf.h"

Include dependency graph for CDF_tkr.c:


Functions

int CDF_tkr_sizeof (int level, void *cfg)
 Returns the size, in bytes of the CAL compression structure needed to support the specified level.
int CDF_tkr_construct (CDF_tkr *cdf, int level, void *cfg, const LSEW_dgmFw *dgmFw, void **mem)
 Constructs the CDF_cal compression context.

Detailed Description

Implementation to produce Compressed Data Format for the TKR contributors.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_tkr.c,v 1.1 2006/11/01 21:57:30 russell Exp $


Function Documentation

int CDF_tkr_construct CDF_tkr cdf,
int  level,
void *  cfg,
const LSEW_dgmFw dgmFw,
void **  mem
 

Constructs the CDF_cal compression context.

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

int CDF_tkr_sizeof int  level,
void *  cfg
 

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

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


Generated on Thu Nov 9 03:17:13 2006 by  doxygen 1.4.4