GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / dev > encdec / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

BTD.h File Reference

Binary Tree Dencoding interface file. More...


Functions

unsigned int BTD_wordDecode (unsigned int w, unsigned int scheme, int *nbits)
 Decodes the bits in w according to scheme.
unsigned int BTD_shortDecode (unsigned short int s, unsigned int scheme, int *nbits)
 Decodes the bits in w according to scheme.


Detailed Description

Binary Tree Dencoding interface file.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: BTD.h,v 1.3 2009/04/29 23:06:40 russell Exp $

Interface specification for routines to decode bit strings previously binary tree encoded data.


Function Documentation

unsigned int BTD_shortDecode ( unsigned short int  s,
unsigned int  scheme,
int *  nbits 
)

Decodes the bits in w according to scheme.

Returns:
The decoded short word
Parameters:
s The encoded bits
scheme The encoding scheme
nbits Returns the number of bits decoded.

unsigned int BTD_wordDecode ( unsigned int  w,
unsigned int  scheme,
int *  nbits 
)

Decodes the bits in w according to scheme.

Returns:
The decoded word
Parameters:
w The encoded bits
scheme The encoding scheme
nbits Returns the number of bits decoded.


Generated on Thu Feb 9 12:22:03 2012 by  doxygen 1.5.8