\hypertarget{BTD_8h}{
\section{BTD.h File Reference}
\label{BTD_8h}\index{BTD.h@{BTD.h}}
}
Binary Tree Dencoding interface file. 



This graph shows which files directly or indirectly include this file:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=43pt]{BTD_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{BTD_8h_ee649e69b8b765bde2b774d9135228bf}{BTD\_\-wordDecode} (unsigned int w, unsigned int scheme, int $\ast$nbits)
\begin{CompactList}\small\item\em Decodes the bits in {\em w\/} according to {\em scheme\/}. \item\end{CompactList}\item 
unsigned int \hyperlink{BTD_8h_95e8cf51dc64f0bb56fe87692caf6cc0}{BTD\_\-shortDecode} (unsigned short int s, unsigned int scheme, int $\ast$nbits)
\begin{CompactList}\small\item\em Decodes the bits in {\em w\/} according to {\em scheme\/}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Binary Tree Dencoding interface file. 

\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}


\footnotesize\begin{verbatim}
    CVS $Id: BTD.h,v 1.3 2009/04/29 23:06:40 russell Exp $
\end{verbatim}
\normalsize


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

\subsection{Function Documentation}
\hypertarget{BTD_8h_95e8cf51dc64f0bb56fe87692caf6cc0}{
\index{BTD.h@{BTD.h}!BTD_shortDecode@{BTD\_\-shortDecode}}
\index{BTD_shortDecode@{BTD\_\-shortDecode}!BTD.h@{BTD.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int BTD\_\-shortDecode (unsigned short int {\em s}, unsigned int {\em scheme}, int $\ast$ {\em nbits})}}
\label{BTD_8h_95e8cf51dc64f0bb56fe87692caf6cc0}


Decodes the bits in {\em w\/} according to {\em scheme\/}. 

\begin{Desc}
\item[Returns:]The decoded short word\end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s}]The encoded bits \item[{\em scheme}]The encoding scheme \item[{\em nbits}]Returns the number of bits decoded. \end{description}
\end{Desc}
\hypertarget{BTD_8h_ee649e69b8b765bde2b774d9135228bf}{
\index{BTD.h@{BTD.h}!BTD_wordDecode@{BTD\_\-wordDecode}}
\index{BTD_wordDecode@{BTD\_\-wordDecode}!BTD.h@{BTD.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int BTD\_\-wordDecode (unsigned int {\em w}, unsigned int {\em scheme}, int $\ast$ {\em nbits})}}
\label{BTD_8h_ee649e69b8b765bde2b774d9135228bf}


Decodes the bits in {\em w\/} according to {\em scheme\/}. 

\begin{Desc}
\item[Returns:]The decoded word\end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]The encoded bits \item[{\em scheme}]The encoding scheme \item[{\em nbits}]Returns the number of bits decoded. \end{description}
\end{Desc}
