\doxysection{tch3.\+h}
\label{tch3_8h_source}\index{include/osmocom/gmr1/l1/tch3.h@{include/osmocom/gmr1/l1/tch3.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/* GMR-\/1 TCH3 channel coding */}}
\DoxyCodeLine{2 \textcolor{comment}{/* See GMR-\/1 05.003 (ETSI TS 101 376-\/5-\/3 V1.2.1) -\/ Section 5.1 */}}
\DoxyCodeLine{3 }
\DoxyCodeLine{4 \textcolor{comment}{/* (C) 2011-\/2019 by Sylvain Munaut <tnt@246tNt.com>}}
\DoxyCodeLine{5 \textcolor{comment}{ * All Rights Reserved}}
\DoxyCodeLine{6 \textcolor{comment}{ *}}
\DoxyCodeLine{7 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{8 \textcolor{comment}{ * it under the terms of the GNU Affero General Public License as published by}}
\DoxyCodeLine{9 \textcolor{comment}{ * the Free Software Foundation; either version 3 of the License, or}}
\DoxyCodeLine{10 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{11 \textcolor{comment}{ *}}
\DoxyCodeLine{12 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{13 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{14 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{15 \textcolor{comment}{ * GNU Affero General Public License for more details.}}
\DoxyCodeLine{16 \textcolor{comment}{ *}}
\DoxyCodeLine{17 \textcolor{comment}{ * You should have received a copy of the GNU Affero General Public License}}
\DoxyCodeLine{18 \textcolor{comment}{ * along with this program.  If not, see <http://www.gnu.org/licenses/>.}}
\DoxyCodeLine{19 \textcolor{comment}{ */}}
\DoxyCodeLine{20 }
\DoxyCodeLine{21 \textcolor{preprocessor}{\#ifndef \_\_OSMO\_GMR1\_L1\_TCH3\_H\_\_}}
\DoxyCodeLine{22 \textcolor{preprocessor}{\#define \_\_OSMO\_GMR1\_L1\_TCH3\_H\_\_}}
\DoxyCodeLine{23 }
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include <osmocom/core/bits.h>}}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 }
\DoxyCodeLine{37 \textcolor{keywordtype}{void} gmr1\_tch3\_encode(ubit\_t *bits\_e,}
\DoxyCodeLine{38                       \textcolor{keyword}{const} uint8\_t *frame0, \textcolor{keyword}{const} uint8\_t *frame1,}
\DoxyCodeLine{39                       \textcolor{keyword}{const} ubit\_t *bits\_s, \textcolor{keyword}{const} ubit\_t *ciph, \textcolor{keywordtype}{int} m);}
\DoxyCodeLine{40 \textcolor{keywordtype}{void} gmr1\_tch3\_decode(uint8\_t *frame0, uint8\_t *frame1, ubit\_t *bits\_s,}
\DoxyCodeLine{41                       \textcolor{keyword}{const} sbit\_t *bits\_e, \textcolor{keyword}{const} ubit\_t *ciph, \textcolor{keywordtype}{int} m,}
\DoxyCodeLine{42                       \textcolor{keywordtype}{int} *conv0\_rv, \textcolor{keywordtype}{int} *conv1\_rv);}
\DoxyCodeLine{43 }
\DoxyCodeLine{44 }
\DoxyCodeLine{47 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OSMO\_GMR1\_L1\_TCH3\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
