GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-2 > lsew / rad750
#include "LSE/CDF_esb.h"
#include "CDF_esb_def.h"
#include "EDS/EBF_dir.h"
#include "EDS/EBF_evt.h"
#include "EDS/EBF_cid.h"
#include "EDS/EBF_esw.h"
#include "EDS/EBF_ebw.h"
#include "LDT/BW.h"
#include "LDT/BWP.h"
#include "LDT/BFP.h"
Functions | |
int | CDF_esbCfg_sizeof (int level) |
Returns the size, in bytes of the ESB compression configuration needed to support the specified level. | |
int | CDF_esbCfg_construct (CDF_esbCfg *cfg, int level, void **mem) |
Constructs the CDF_esbCfg compression configuration. | |
int | CDF_esb_sizeof (int level, const CDF_esbCfg *cfg) |
Returns the size, in bytes of the ESB compression structure needed to support the specified level. | |
int | CDF_esb_construct (CDF_esb *cdf, int level, const CDF_esbCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem) |
Constructs the CDF_esb compression context. | |
unsigned int | CDF_esb_compose (CDF_esb *esb, const CDF_cfg *cfg, const EBF_dir *dir) |
Composes the Event Summary Block for the event defined by the event directory. | |
unsigned int | CDF_esb_compress (const CDF_esb *esb, unsigned int *buf, unsigned int pos) |
Packs a compressed version of the ESB into the output bit stream. |
CVS $Id: CDF_esb.c,v 1.3 2007/04/08 20:33:19 russell Exp $
unsigned int CDF_esb_compose | ( | CDF_esb * | esb, | |
const CDF_cfg * | cfg, | |||
const EBF_dir * | dir | |||
) |
Composes the Event Summary Block for the event defined by the event directory.
esb | The event summary block to compose | |
cfg | The static configuration blocks | |
dir | The event directory for this event |
unsigned int CDF_esb_compress | ( | const CDF_esb * | esb, | |
unsigned int * | buf, | |||
unsigned int | pos | |||
) |
Packs a compressed version of the ESB into the output bit stream.
esb | The Event Summary Block to pack | |
buf | The output buffer | |
pos | The current offset, in bits |
int CDF_esb_construct | ( | CDF_esb * | cdf, | |
int | level, | |||
const CDF_esbCfg * | cfg, | |||
const LSEW_dgmFw * | dgmFw, | |||
void ** | mem | |||
) |
Constructs the CDF_esb compression context.
Status |
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_esb_sizeof | ( | int | level, | |
const CDF_esbCfg * | cfg | |||
) |
Returns the size, in bytes of the ESB compression structure needed to support the specified level.
level | The maximum compression level to support | |
cfg | Target specific configuration |
int CDF_esbCfg_construct | ( | CDF_esbCfg * | cfg, | |
int | level, | |||
void ** | mem | |||
) |
Constructs the CDF_esbCfg compression configuration.
Status |
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_esb, else this routine will believe that the only the variable allocation of cdf needs to be allocated. |
int CDF_esbCfg_sizeof | ( | int | level | ) |
Returns the size, in bytes of the ESB compression configuration needed to support the specified level.
level | The maximum compression level to support |