GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-2 > qse / linux-gcc
#include <QSE/QDF_tem.h>
#include <QSE/QDF_err.h>
#include <QSE/QDF_cal.h>
#include <QSE/QDF_tkr.h>
#include <QSE/QDF_dgn.h>
#include <QSE/QDF_temCache.h>
#include <QSE/QDF_temdef.h>
Defines | |
#define | NULL ((void *)(0)) |
Functions | |
int | QDF_temCtxSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of the TEM decoding context needed to support the specified compression level. | |
QDF_temCtx * | QDF_temCtxConstruct (QDF_temCtx *ctx, unsigned int level, QDF_temCache *cache, const QSE_ctx *qse, void *ptr) |
Constructs (initializes) the specified TEM decoding context structure. | |
int | QDF_temEvtSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of QDF_tem event needed to support the specified compression level. | |
QDF_temEvt * | QDF_temEvtConstruct (QDF_temEvt *evt, unsigned int level, void *prm, void *ptr, QDF_exc *exc, QDF_esbEvt *esb, QDF_gemEvt *gem) |
Constructs (initializes) the specified TEM event structure. |
CVS $Id: QDF_tem.c,v 1.5 2011/03/27 01:45:44 russell Exp $
QDF_esbCtx * QDF_temCtxConstruct | ( | QDF_temCtx * | ctx, | |
unsigned int | level, | |||
QDF_temCache * | cache, | |||
const QSE_ctx * | qse, | |||
void * | ptr | |||
) |
Constructs (initializes) the specified TEM decoding context structure.
ctx | The context structure to construct. | |
level | The maximum level of compression that will be supported. | |
cache | The TEM caches | |
qse | Pointer to the public/generic QSE context parameter | |
ptr | Pointer to the memory pool to carve the various pieces from. It assumed that the user call QDF_temCtxSizeof to determine the necessary size. |
References _QDF_temCtx::cal, _QDF_temCtx::dgn, _QDF_temCtx::err, QDF_calCtxConstruct(), QDF_calCtxSizeof(), QDF_dgnCtxConstruct(), QDF_dgnCtxSizeof(), QDF_errCtxConstruct(), QDF_errCtxSizeof(), QDF_tkrCtxConstruct(), QDF_tkrCtxSizeof(), and _QDF_temCtx::tkr.
int QDF_temCtxSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of the TEM decoding context needed to support the specified compression level.
level | The maximum level of compression that needs to be supported | |
prm | Additional configuation parameter, unused as of now |
References QDF_calCtxSizeof(), QDF_dgnCtxSizeof(), QDF_errCtxSizeof(), and QDF_tkrCtxSizeof().
QDF_esbEvt * QDF_temEvtConstruct | ( | QDF_temEvt * | evt, | |
unsigned int | level, | |||
void * | prm, | |||
void * | ptr, | |||
QDF_exc * | exc, | |||
QDF_esbEvt * | esb, | |||
QDF_gemEvt * | gem | |||
) |
Constructs (initializes) the specified TEM event structure.
evt | The TEM event structure to construct. | |
level | The maximum level of compression that will be supported. | |
prm | Additional configuation parameter, unused as of now | |
ptr | The available memory | |
exc | Pointer to the global exception handling context | |
esb | Pointer to the Event Summary Data for this event | |
gem | Pointer to the GEM data for this event |
References _QDF_temEvt::cal, _QDF_temEvt::dgn, _QDF_temEvt::err, _QDF_temEvt::esb, QDF_calEvtConstruct(), QDF_calEvtSizeof(), QDF_dgnEvtConstruct(), QDF_dgnEvtSizeof(), QDF_errEvtConstruct(), QDF_errEvtSizeof(), QDF_tkrEvtConstruct(), QDF_tkrEvtSizeof(), and _QDF_temEvt::tkr.
int QDF_temEvtSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of QDF_tem event needed to support the specified compression level.
level | The maximum level of compression that needs to be supported | |
prm | Additional configuation parameter, unused as of now |
References QDF_calEvtSizeof(), QDF_dgnEvtSizeof(), QDF_errEvtSizeof(), and QDF_tkrEvtSizeof().