GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSEC / V2-0-0
Constituent: qsec     Tag: linux-gcc
#include "expand_p.h"
#include "decode.h"
#include "decompress.h"
#include "raw.h"
#include "QSEC_ctx_p.h"
#include "EDS/EBF_ctb.h"
#include "EDS/EBF_gem.h"
#include "EDS/EBF_tem.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_tkr.h"
#include "QSE/QSE_aemRepack.h"
#include "QSE/QSE_aem.h"
#include "PBI/Endianness.h"
#include <string.h>
Include dependency graph for decode.c:
Data Structures | |
struct | QSEC_acdRaw |
Private structure holding raw data for an ACD contribution. More... | |
Functions | |
static __inline void | fixupCtbHdr (EBF_ctbHdr *hdr) |
When the ACD is not included in the output stream (as it is now), the final TEM contribution must have its response bit removed. | |
static __inline void * | roundUpPtr (void *ptr, int r) |
Round the specified pointer up to a specified binary boundary. | |
static __inline unsigned int | roundUpInt (unsigned int ui, int r) |
Round the specified integer up to a binary boundary. | |
static unsigned short * | decodeShorts (unsigned short *us, int cnt, QSEC_decompression *dcmp, APD_dtx *dtx) |
Decode the required number of symbols from the compressed stream and stores them as shorts. | |
static unsigned int * | decodeGem (QSEC_expansion *exp, const QSEC_summary *sum, unsigned int *evt) |
Decode the GEM contribution. | |
static unsigned int * | decodeAcd (QSEC_expansion *exp, const QSEC_summary *sum, unsigned int *evt) |
Decode an ACD event. | |
static unsigned int * | decodeCal (QSEC_expansion *exp, const QSEC_summary *sum, unsigned int *evt) |
Decode a CAL event. | |
static unsigned int * | decodeTkr (QSEC_expansion *exp, const QSEC_summary *sum, unsigned int *evt) |
Decode a tracker event. | |
static unsigned int * | decodeTkrTots (unsigned char *tot, int ntots, QSEC_decompression *tots, APD_dtx *dtx) |
Decompress the tracker TOTS. | |
static void | expandGem (QSEC_expansion *exp, EBF_gem *gem) |
Populate the data portion of a GEM contribution. | |
void | QSEC_update (QSEC_expansion *exp, EBF_gem *gem, unsigned int *seq, const unsigned int *ievt) |
Decode the GEM contribution and extract the 17 bit event sequence. | |
unsigned int | QSEC_decode (QSEC_expansion *exp, void *oevt, const unsigned int *ievt) |
Decode the event held in the expansion structure into the QSE_evt structure. | |
static __inline void | decodeCalDiag (EBF_temDiag *diag[LSEC_N_TWR], unsigned int map, QSEC_decompression *dcmp, APD_dtx *dtx) |
Decode the CAL portion of the diagnostic block. | |
static __inline unsigned char * | calcTkrTotAdr (unsigned char *ptr, int nstrips) |
Encapsulate the calculation of the TOT storage address. | |
static __inline void | decodeTkrDiag (EBF_temDiag *diag[LSEC_N_TWR], unsigned int map, QSEC_decompression *dcmp, APD_dtx *dtx) |
Decode the tracker portion of the diagnostic block. |
|
Encapsulate the calculation of the TOT storage address.
|
|
Decode an ACD event.
|
|
Decode a CAL event.
|
|
Decode the CAL portion of the diagnostic block.
|
|
Decode the GEM contribution.
|
|
Decode the required number of symbols from the compressed stream and stores them as shorts.
|
|
Decode a tracker event.
|
|
Decode the tracker portion of the diagnostic block.
|
|
Decompress the tracker TOTS.
|
|
Populate the data portion of a GEM contribution.
|
|
When the ACD is not included in the output stream (as it is now), the final TEM contribution must have its response bit removed.
|
|
Decode the event held in the expansion structure into the QSE_evt structure.
|
|
Decode the GEM contribution and extract the 17 bit event sequence.
|
|
Round the specified integer up to a binary boundary.
|
|
Round the specified pointer up to a specified binary boundary.
|