GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSEP / V3-5-1 > qsep / sun-gcc
#include <LDT/BFU.h>
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_evtAUpdate (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_evtBUpdate (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_evtAStd1Decode (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_evtAStd4Decode (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_evtBStd4Decode (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_evtAPed1Decode (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_evtAPed4Decode (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_evtCUpdate (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_evtCStd1Decode (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_evtCStd4Decode (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_evtCPed1Decode (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_evtCPed4Decode (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.h,v 1.4 2012/09/22 00:17:20 russell Exp $
BFU QDFP_evtAPed1Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtAUpdate(), and QDFP_evtBUpdate().
BFU QDFP_evtAPed4Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtAUpdate(), and QDFP_evtBUpdate().
BFU QDFP_evtAStd1Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtAUpdate(), and QDFP_evtBUpdate().
BFU QDFP_evtAStd4Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtAUpdate().
BFU QDFP_evtAUpdate | ( | 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. |
References evtUpdate(), QDFP_evtAPed1Decode(), QDFP_evtAPed4Decode(), QDFP_evtAStd1Decode(), QDFP_evtAStd4Decode(), QDFP_evtPed1Repack(), QDFP_evtPed4Repack(), QDFP_evtStd1Repack(), and QDFP_evtStd4Repack().
Referenced by evtA_8_update().
BFU QDFP_evtBStd4Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtBUpdate().
BFU QDFP_evtBUpdate | ( | 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. |
References evtUpdate(), QDFP_evtAPed1Decode(), QDFP_evtAPed4Decode(), QDFP_evtAStd1Decode(), QDFP_evtBStd4Decode(), QDFP_evtPed1Repack(), QDFP_evtPed4Repack(), QDFP_evtStd1Repack(), and QDFP_evtStd4Repack().
Referenced by evtB_8_update().
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 |
References _QDFP_evt::acd, _QDFP_evt::esb, _QDFP_evt::exc, _QDFP_evt::gem, and _QDFP_evt::tem.
Referenced by qsep_dtxEvt_construct().
BFU QDFP_evtCPed1Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtCUpdate().
BFU QDFP_evtCPed4Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtCUpdate().
BFU QDFP_evtCStd1Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtCUpdate().
BFU QDFP_evtCStd4Decode | ( | 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 |
References _QDFP_evt::acd, _QDFP_ctx::acd, _QDFP_evt::tem, and _QDFP_ctx::tem.
Referenced by QDFP_evtCUpdate().
BFU QDFP_evtCUpdate | ( | 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. |
References evtUpdate(), QDFP_evtCPed1Decode(), QDFP_evtCPed4Decode(), QDFP_evtCStd1Decode(), QDFP_evtCStd4Decode(), QDFP_evtPed1Repack(), QDFP_evtPed4Repack(), QDFP_evtStd1Repack(), and QDFP_evtStd4Repack().
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. |
Referenced by QSEP_sizeof().