GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc
#include "LDT/BFU.h"
Typedefs | |
typedef struct _QDF_dgnEvt | QDF_dgnEvt |
typedef struct _QDF_dgnCtx | QDF_dgnCtx |
typedef struct _CDF_dgnBdy | CDF_dgnBdy |
typedef struct _QFR_fileCtx | QFR_fileCtx |
typedef struct _QDF_exc | QDF_exc |
typedef struct _QSE_ctx | QSE_ctx |
typedef struct _QDF_esbEvt | QDF_esbEvt |
typedef struct _QDF_gemEvt | QDF_gemEvt |
typedef struct _QDF_errEvt | QDF_errEvt |
typedef struct _QDF_calEvt | QDF_calEvt |
typedef struct _QDF_tkrEvt | QDF_tkrEvt |
Functions | |
int | QDF_dgnCtxSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of the DGN decoding context needed to support the specified compression level. | |
QDF_dgnCtx * | QDF_dgnCtxConstruct (QDF_dgnCtx *ctx, unsigned int level, void *prm, QSE_ctx const *qse) |
Constructs (initializes) the specified DGN decoding context structure. | |
int | QDF_dgnCtxUpdate (QDF_dgnCtx *ctx, QFR_fileCtx *qfr, CDF_dgnBdy const *bdy) |
Updates the DGN context from the datagram contribution. | |
int | QDF_dgnEvtSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of QDF_dgnEvt needed to support the specified compression level. | |
QDF_dgnEvt * | QDF_dgnEvtConstruct (QDF_dgnEvt *evt, unsigned int level, void *prm, QDF_exc *exc, QDF_esbEvt const *esb, QDF_gemEvt const *gem, QDF_errEvt const *err, QDF_calEvt const *cal, QDF_tkrEvt const *tkr) |
Constructs (initializes) the specified DGN event structure. | |
BFU | QDF_dgnStdDecode (QDF_dgnCtx *ctx, QDF_dgnEvt *evt, unsigned int const *src, unsigned int max, BFU bfu) |
Decodes the DGN. | |
BFU | QDF_dgnPedDecode (QDF_dgnCtx *ctx, QDF_dgnEvt *evt, unsigned int const *src, unsigned int max, BFU bfu) |
Decodes the DGN. |
CVS $Id: QDF_dgn.h,v 1.1 2009/05/01 00:18:12 russell Exp $
QDF_dgnCtx* QDF_dgnCtxConstruct | ( | QDF_dgnCtx * | ctx, | |
unsigned int | level, | |||
void * | prm, | |||
QSE_ctx const * | qse | |||
) |
Constructs (initializes) the specified DGN decoding context structure.
ctx | The context structure to construct. | |
level | The maximum level of compression that will be supported. | |
prm | Additional configuation parameter, unused as of now | |
qse | The generic datagram context |
int QDF_dgnCtxSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of the DGN 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 |
int QDF_dgnCtxUpdate | ( | QDF_dgnCtx * | ctx, | |
QFR_fileCtx * | qfr, | |||
CDF_dgnBdy const * | bdy | |||
) |
Updates the DGN context from the datagram contribution.
0,Success |
ctx | The context to update | |
qfr | The file translation context | |
bdy | The update information, currently none |
QDF_dgnEvt* QDF_dgnEvtConstruct | ( | QDF_dgnEvt * | evt, | |
unsigned int | level, | |||
void * | prm, | |||
QDF_exc * | exc, | |||
QDF_esbEvt const * | esb, | |||
QDF_gemEvt const * | gem, | |||
QDF_errEvt const * | err, | |||
QDF_calEvt const * | cal, | |||
QDF_tkrEvt const * | tkr | |||
) |
Constructs (initializes) the specified DGN event structure.
evt | The DGN event structure to construct. | |
level | The maximum level of compression that will be supported. | |
prm | Additional configuation parameter, unused as of now | |
exc | The exception handling context. | |
esb | Pointer to the ESB data for this event (Event Summmary Block) | |
gem | Pointer to the GEM data for this event | |
err | Pointer to the ERR data for this event | |
cal | Pointer to the CAL data for this event | |
tkr | Pointer to the TKR data for this event |
int QDF_dgnEvtSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of QDF_dgnEvt 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 |
BFU QDF_dgnPedDecode | ( | QDF_dgnCtx * | ctx, | |
QDF_dgnEvt * | evt, | |||
unsigned int const * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes the DGN.
ctx | The compressed data decoding context | |
evt | The DGN 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 QDF_dgnStdDecode | ( | QDF_dgnCtx * | ctx, | |
QDF_dgnEvt * | evt, | |||
unsigned int const * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes the DGN.
ctx | The compressed data decoding context | |
evt | The DGN 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 |