GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-0-0
Constituent: encdec     Tag: rad750
#include "APC.h"
#include "LDT/APE.h"
#include "ffs.h"
#include "bswp.h"
Include dependency graph for APE.c:
Typedefs | |
typedef enum _APE_symType | APE_symType |
Typedef for enum _APE_symType. | |
Enumerations | |
enum | _APE_symType { APE_SYMTYPE_K_IMMEDIATE = -1, APE_SYMTYPE_K_ARRAY_BYTE = 0, APE_SYMTYPE_K_ARRAY_SHORT = 1 } |
PBS/BSWP.ih" The symbol type being encoded. More... | |
Functions | |
__inline unsigned long long | scale (APE_cv cv, const unsigned int table[2]) |
Scales the input lo and hi condition value/limits using the table values. | |
__inline unsigned long long int | reduce_h01 (APE_cv cv, int cnt) |
Reduces the specified condition values when the both the lo and hi limits lie in the same half, i.e. either both are in the lower half or both are in the upper half. | |
__inline unsigned long long int | reduce_q12 (APE_cv cv) |
Reduces the specified condition values when the lo and hi straddle the mid-point, i.e. the lo limit is in Q1 and the hi limit is in Q2. | |
__inline int | encode (APE_etx *etx, const unsigned int *table, const void *syms, int nsyms, int symType) |
Encodes an
| |
int | set (APE_etx *etx, unsigned char *out, unsigned int boff, const unsigned char *max) |
Sets the output context. | |
int | APE_encode (APE_etx *etx, const unsigned int *table, unsigned int sym) |
Encodes one symbol. | |
int | APE_bencode (APE_etx *etx, const unsigned int *table, const unsigned char *syms, int nsyms) |
Encodes an array of unsigned char symbols. | |
int | APE_sencode (APE_etx *etx, const unsigned int *table, const unsigned short *syms, int nsyms) |
Encodes an array of unsigned char symbols. | |
int | APE_reset (APE_etx *etx, unsigned char *out, unsigned int boff, const unsigned char *max) |
Resets the output context. | |
int | APE_start (APE_etx *etx, unsigned char *out, unsigned int boff, const unsigned char *max) |
Initializes the encoding context. | |
unsigned int | APE_bcompress (unsigned char *out, unsigned int boff, unsigned char *max, const unsigned int *table, const unsigned char *in, int cnt, int *unencoded) |
Convenience routine to compress a byte stream. | |
int | APE_finish (APE_etx *etx) |
Finishes the encoding by flushing out any currently buffered bits. |
|
PBS/BSWP.ih" The symbol type being encoded.
|
|
Convenience routine to compress a byte stream.
|
Here is the call graph for this function:
|
Encodes an array of unsigned char symbols.
|
Here is the call graph for this function:
|
Encodes one symbol.
|
Here is the call graph for this function:
|
Finishes the encoding by flushing out any currently buffered bits.
If there is enough room, the number of encoded bits is returned as a positive number. |
|
Resets the output context.
|
Here is the call graph for this function:
|
Encodes an array of unsigned char symbols.
|
Here is the call graph for this function:
|
Initializes the encoding context.
|
Here is the call graph for this function:
|
Encodes an
|
Here is the call graph for this function:
|
Reduces the specified condition values when the both the lo and hi limits lie in the same half, i.e. either both are in the lower half or both are in the upper half.
|
|
Reduces the specified condition values when the lo and hi straddle the mid-point, i.e. the lo limit is in Q1 and the hi limit is in Q2.
|
|
Scales the input lo and hi condition value/limits using the table values.
|
|
Sets the output context.
|