GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSEP / V3-3-0
Constituent: qsep     Tag: sun-gcc
#include "QDFP_evt.h"
#include "QDFP_evtRepack.h"
#include "QDFP_ctxdef.h"
#include "QDFP_evtdef.h"
#include "QSE/QDF_exc.h"
#include "QSE/QDF_acd.h"
#include "QSE/QDF_tem.h"
#include "QSE/QDF_err.h"
#include "QSE/QDF_cal.h"
#include "QSE/QDF_tkr.h"
#include "QSE/QDF_esb.h"
#include "QSE/QDF_gem.h"
#include "QSE/QDF_dgn.h"
#include "QSE/QSE_ctxUpdate.h"
#include "EDS/EBF_cid.h"
Classes | |
struct | _Dispatch |
Defines the decode and repacking routines. More... | |
Typedefs | |
typedef struct _Dispatch | Dispatch |
Typedef for struct _Dispatch. | |
Functions | |
int | QDFP_evtSizeof (unsigned int resource_level, void *prm) |
Returns the size, in bytes, of the handle for updating the standard event meta-information. | |
void * | QDFP_evtConstruct (QDFP_evt *evt, unsigned int resource_level, void *prm, void *ptr) |
Construct (initializes) the handle for updating the standard compressed data context information. | |
BFU | QDFP_evtUpdate (QDFP_ctx *ctx, QDFP_evt *evt, const unsigned int *src, const unsigned int max, BFU bfu, QSE_ctxUpdateInfo *info) |
Decodes an event packed in the standard fashion. | |
BFU | QDFP_evtStd1Decode (QDFP_ctx *ctx, QDFP_evt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes an event packed in the standard fashion. | |
BFU | QDFP_evtStd4Decode (QDFP_ctx *ctx, QDFP_evt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes an event packed in the standard fashion. | |
BFU | QDFP_evtPed1Decode (QDFP_ctx *ctx, QDFP_evt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes an event packed in non-zero suppressed mode. | |
BFU | QDFP_evtPed4Decode (QDFP_ctx *ctx, QDFP_evt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes an event packed in non-zero suppressed mode. |
CVS $Id: QDFP_evt.c,v 1.3 2009/05/01 02:05:23 russell Exp $
void * QDFP_evtConstruct | ( | QDFP_evt * | evt, | |
unsigned int | resource_level, | |||
void * | prm, | |||
void * | ptr | |||
) |
Construct (initializes) the handle for updating the standard compressed data context information.
evt | The event structure to be initialize. | |
resource_level | The maximum resource level. Attempts to expand event with resources needs above this value will return QSEP_STATUS_K_INSRSC, that is INSUFFICIENT RESOURCES. | |
prm | A run-time set parameter used to stylize the configuration | |
ptr | Memory to allocate the pieces from. This must be guaranteed by the caller to be large enough |
BFU QDFP_evtPed1Decode | ( | QDFP_ctx * | ctx, | |
QDFP_evt * | evt, | |||
const unsigned int * | src, | |||
const unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes an event packed in non-zero suppressed mode.
ctx | The compressed data decoding context | |
evt | The event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |
BFU QDFP_evtPed4Decode | ( | QDFP_ctx * | ctx, | |
QDFP_evt * | evt, | |||
const unsigned int * | src, | |||
const unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes an event packed in non-zero suppressed mode.
ctx | The compressed data decoding context | |
evt | The event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |
int QDFP_evtSizeof | ( | unsigned int | resource_level, | |
void * | prm | |||
) |
Returns the size, in bytes, of the handle for updating the standard event meta-information.
resource_level | The maximum resource level. Attempts to expand event with compression levels that use resources beyond this value will return QSEP_STATUS_K_INSRSC that is INSUFFICIENT RESOURCES. This must be a number between 0 and 15. This parameter plus prm must also be passed to QSEP_construct | |
prm | A run-time set parameter used to stylize the configuration. This parameter plus max_level must also be passed to QSEP_construct. |
BFU QDFP_evtStd1Decode | ( | QDFP_ctx * | ctx, | |
QDFP_evt * | evt, | |||
const unsigned int * | src, | |||
const unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes an event packed in the standard fashion.
ctx | The compressed data decoding context | |
evt | The event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |
BFU QDFP_evtStd4Decode | ( | QDFP_ctx * | ctx, | |
QDFP_evt * | evt, | |||
const unsigned int * | src, | |||
const unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes an event packed in the standard fashion.
ctx | The compressed data decoding context | |
evt | The event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |
BFU QDFP_evtUpdate | ( | QDFP_ctx * | ctx, | |
QDFP_evt * | evt, | |||
const unsigned int * | src, | |||
const unsigned int | max, | |||
BFU | bfu, | |||
QSE_ctxUpdateInfo * | info | |||
) |
Decodes an event packed in the standard fashion.
ctx | The compressed data decoding context | |
evt | The event block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer | |
info | The standard update information block. |