\doxysection{theoradec.\+h}
\label{theoradec_8h_source}\index{theoradec.h@{theoradec.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/********************************************************************}}
\DoxyCodeLine{2 \textcolor{comment}{ *                                                                  *}}
\DoxyCodeLine{3 \textcolor{comment}{ * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *}}
\DoxyCodeLine{4 \textcolor{comment}{ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *}}
\DoxyCodeLine{5 \textcolor{comment}{ * GOVERNED BY A BSD-\/STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *}}
\DoxyCodeLine{6 \textcolor{comment}{ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *}}
\DoxyCodeLine{7 \textcolor{comment}{ *                                                                  *}}
\DoxyCodeLine{8 \textcolor{comment}{ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-\/2009                *}}
\DoxyCodeLine{9 \textcolor{comment}{ * by the Xiph.Org Foundation http://www.xiph.org/                  *}}
\DoxyCodeLine{10 \textcolor{comment}{ *                                                                  *}}
\DoxyCodeLine{11 \textcolor{comment}{ ********************************************************************}}
\DoxyCodeLine{12 \textcolor{comment}{}}
\DoxyCodeLine{13 \textcolor{comment}{  function:}}
\DoxyCodeLine{14 \textcolor{comment}{  last mod: \$Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp \$}}
\DoxyCodeLine{15 \textcolor{comment}{}}
\DoxyCodeLine{16 \textcolor{comment}{ ********************************************************************/}}
\DoxyCodeLine{17 }
\DoxyCodeLine{21 \textcolor{preprocessor}{\#if !defined(\_O\_THEORA\_THEORADEC\_H\_)}}
\DoxyCodeLine{22 \textcolor{preprocessor}{\# define \_O\_THEORA\_THEORADEC\_H\_ (1)}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\# include <stddef.h>}}
\DoxyCodeLine{24 \textcolor{preprocessor}{\# include <ogg/ogg.h>}}
\DoxyCodeLine{25 \textcolor{preprocessor}{\# include "{}codec.h"{}}}
\DoxyCodeLine{26 }
\DoxyCodeLine{27 \textcolor{preprocessor}{\#if defined(\_\_cplusplus)}}
\DoxyCodeLine{28 \textcolor{keyword}{extern} \textcolor{stringliteral}{"{}C"{}} \{}
\DoxyCodeLine{29 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{30 }
\DoxyCodeLine{31 }
\DoxyCodeLine{32 }
\DoxyCodeLine{50 \textcolor{preprocessor}{\#define TH\_DECCTL\_GET\_PPLEVEL\_MAX (1)}}
\DoxyCodeLine{67 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_PPLEVEL (3)}}
\DoxyCodeLine{79 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_GRANPOS (5)}}
\DoxyCodeLine{93 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_STRIPE\_CB (7)}}
\DoxyCodeLine{94 }
\DoxyCodeLine{96 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_TELEMETRY\_MBMODE (9)}}
\DoxyCodeLine{98 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_TELEMETRY\_MV (11)}}
\DoxyCodeLine{100 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_TELEMETRY\_QI (13)}}
\DoxyCodeLine{102 \textcolor{preprocessor}{\#define TH\_DECCTL\_SET\_TELEMETRY\_BITS (15)}}
\DoxyCodeLine{138 \textcolor{keyword}{typedef} void (*th\_stripe\_decoded\_func)(\textcolor{keywordtype}{void} *\_ctx,th\_ycbcr\_buffer \_buf,}
\DoxyCodeLine{139  \textcolor{keywordtype}{int} \_yfrag0,\textcolor{keywordtype}{int} \_yfrag\_end);}
\DoxyCodeLine{140 }
\DoxyCodeLine{142 \textcolor{keyword}{typedef} \textcolor{keyword}{struct}\{}
\DoxyCodeLine{145   \textcolor{keywordtype}{void}                   *ctx;}
\DoxyCodeLine{147   th\_stripe\_decoded\_func  stripe\_decoded;}
\DoxyCodeLine{148 \}th\_stripe\_callback;}
\DoxyCodeLine{149 }
\DoxyCodeLine{150 }
\DoxyCodeLine{151 }
\DoxyCodeLine{159 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }th\_dec\_ctx    th\_dec\_ctx;}
\DoxyCodeLine{166 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }th\_setup\_info th\_setup\_info;}
\DoxyCodeLine{231 \textcolor{keyword}{extern} \textcolor{keywordtype}{int} th\_decode\_headerin(th\_info *\_info,th\_comment *\_tc,}
\DoxyCodeLine{232  th\_setup\_info **\_setup,ogg\_packet *\_op);}
\DoxyCodeLine{255 \textcolor{keyword}{extern} th\_dec\_ctx *th\_decode\_alloc(\textcolor{keyword}{const} th\_info *\_info,}
\DoxyCodeLine{256  \textcolor{keyword}{const} th\_setup\_info *\_setup);}
\DoxyCodeLine{262 \textcolor{keyword}{extern} \textcolor{keywordtype}{void} th\_setup\_free(th\_setup\_info *\_setup);}
\DoxyCodeLine{271 \textcolor{keyword}{extern} \textcolor{keywordtype}{int} th\_decode\_ctl(th\_dec\_ctx *\_dec,\textcolor{keywordtype}{int} \_req,\textcolor{keywordtype}{void} *\_buf,}
\DoxyCodeLine{272  \textcolor{keywordtype}{size\_t} \_buf\_sz);}
\DoxyCodeLine{294 \textcolor{keyword}{extern} \textcolor{keywordtype}{int} th\_decode\_packetin(th\_dec\_ctx *\_dec,\textcolor{keyword}{const} ogg\_packet *\_op,}
\DoxyCodeLine{295  ogg\_int64\_t *\_granpos);}
\DoxyCodeLine{311 \textcolor{keyword}{extern} \textcolor{keywordtype}{int} th\_decode\_ycbcr\_out(th\_dec\_ctx *\_dec,}
\DoxyCodeLine{312  th\_ycbcr\_buffer \_ycbcr);}
\DoxyCodeLine{315 \textcolor{keyword}{extern} \textcolor{keywordtype}{void} th\_decode\_free(th\_dec\_ctx *\_dec);}
\DoxyCodeLine{318 }
\DoxyCodeLine{319 }
\DoxyCodeLine{320 }
\DoxyCodeLine{321 \textcolor{preprocessor}{\#if defined(\_\_cplusplus)}}
\DoxyCodeLine{322 \}}
\DoxyCodeLine{323 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{324 }
\DoxyCodeLine{325 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
