AnitaCompress – Tools to unpack compressed waveform data. More...
Functions | |
unsigned short | bifurcate (short input) |
short | unbifurcate (unsigned short input) |
unsigned char | charbifurcate (char input) |
char | charunbifurcate (unsigned char input) |
unsigned short | bitpack (unsigned short bits, unsigned short nwords, unsigned short *in, unsigned char *out) |
void | bitstrip (unsigned short nbits, unsigned short nwords, unsigned short *data) |
int | codepack (int n, unsigned int *in, unsigned char *out) |
int | codeunpack (int m, unsigned char *in, unsigned int *out) |
unsigned int | fibonacci (unsigned short input) |
unsigned int | encodeFibonacci (unsigned short input, int *numBits) |
unsigned short | unfibonacci (unsigned int input) |
CompressErrorCode_t | packPedSubbedEvent (PedSubbedEventBody_t *bdPtr, EncodeControlStruct_t *cntlPtr, unsigned char *output, int *numBytes) |
CompressErrorCode_t | unpackToPedSubbedEvent (PedSubbedEventBody_t *bdPtr, unsigned char *input, int numBytes) |
CompressErrorCode_t | unpackOneSurfToPedSubbedEvent (PedSubbedEventBody_t *bdPtr, unsigned char *input, int numBytes) |
CompressErrorCode_t | unpackOneWaveToPedSubbedEvent (PedSubbedEventBody_t *bdPtr, unsigned char *input, int numBytes) |
CompressErrorCode_t | unpackToPedSubbedEventWithStats (PedSubbedEventBody_t *bdPtr, unsigned char *input, int numBytes, EncodeControlStruct_t *cntlPtr, int *sizeArray) |
void | fillMinMaxMeanRMS (SurfChannelPedSubbed_t *chanPtr) |
unsigned short | simpleCrcShort (unsigned short *p, unsigned long n) |
int | encodeChannel (ChannelEncodingType_t encType, SurfChannelFull_t *chanPtr, unsigned char *buffer) |
CompressErrorCode_t | decodeChannel (EncodedSurfChannelHeader_t *encChanHdPtr, unsigned char *input, SurfChannelFull_t *chanPtr) |
int | encodeWaveNone (unsigned char *buffer, SurfChannelFull_t *chanPtr) |
CompressErrorCode_t | decodeWaveNone (unsigned char *input, int numBytes, SurfChannelFull_t *chanPtr) |
int | encodePSChannel (ChannelEncodingType_t encType, SurfChannelPedSubbed_t *chanPtr, unsigned char *buffer) |
CompressErrorCode_t | decodePSChannel (EncodedSurfChannelHeader_t *encChanHdPtr, unsigned char *input, SurfChannelPedSubbed_t *chanPtr) |
int | encodePSWaveNone (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr) |
CompressErrorCode_t | decodePSWaveNone (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr) |
int | encodePSWave12bitBinary (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr) |
CompressErrorCode_t | decodePSWave12bitBinary (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr) |
int | encodePSWaveLosslessBinary (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t *encTypePtr) |
CompressErrorCode_t | decodePSWaveLosslessBinary (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t encType) |
int | encodePSWaveLosslessFibonacci (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr) |
CompressErrorCode_t | decodePSWaveLosslessFibonacci (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr) |
int | encodePSWaveLosslessBinFibCombo (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t *encTypePtr) |
CompressErrorCode_t | decodePSWaveLosslessBinFibCombo (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t encType) |
int | encodePSWaveLossyMulawOptimally (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr, int mulawBits, ChannelEncodingType_t *encTypePtr) |
int | encodePSWaveLossyMuLaw (unsigned char *buffer, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t encType) |
CompressErrorCode_t | decodePSWaveLossyMuLaw (unsigned char *input, int numBytes, SurfChannelPedSubbed_t *chanPtr, ChannelEncodingType_t encType) |
void | getInputAndMuLawBits (ChannelEncodingType_t encType, int *inputPtr, int *mulawPtr) |
ChannelEncodingType_t | getEncodingTypeFromInputAndMuLawBits (int inputBits, int mulawBits) |
ChannelEncodingType_t | getBinaryEncType (int bitSize) |
int | getBinaryBitSize (ChannelEncodingType_t encType) |
ChannelEncodingType_t | getBinFibEncType (int bitSize) |
int | getBinFibBitSize (ChannelEncodingType_t encType) |
const char * | compressErrorCodeAsString (CompressErrorCode_t code) |
void | unpack12bit (unsigned short *w, void *srcp) |
void | pack12bit (unsigned short *w, unsigned char *destp) |
char | convertToMuLaw (short input, int inputBits, int mulawBits) |
unsigned char | convertToMuLawUC (short input, int inputBits, int mulawBits) |
short | convertFromMuLawUC (unsigned char input, int outputBits, int mulawBits) |
short | convertFromMuLaw (char input, int outputBits, int mulawBits) |
AnitaCompress – Tools to unpack compressed waveform data.
Tools to uncompress compressed waveform data. Can't be bothered to comment on all the functions. Mainly becasue I don't really remember how most of them work.