\doxysection{oggz\+\_\+constants.\+h}
\label{oggz__constants_8h_source}\index{oggz\_constants.h@{oggz\_constants.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ \ \ Copyright\ (C)\ 2003\ Commonwealth\ Scientific\ and\ Industrial\ Research}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ \ \ Organisation\ (CSIRO)\ Australia}}
\DoxyCodeLine{00004\ \textcolor{comment}{}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ \ \ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ \ \ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ \ \ are\ met:}}
\DoxyCodeLine{00008\ \textcolor{comment}{}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ \ \ -\/\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.}}
\DoxyCodeLine{00011\ \textcolor{comment}{}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ \ \ -\/\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in\ the}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ \ \ documentation\ and/or\ other\ materials\ provided\ with\ the\ distribution.}}
\DoxyCodeLine{00015\ \textcolor{comment}{}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ \ \ -\/\ Neither\ the\ name\ of\ CSIRO\ Australia\ nor\ the\ names\ of\ its}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ \ \ contributors\ may\ be\ used\ to\ endorse\ or\ promote\ products\ derived\ from}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ \ \ this\ software\ without\ specific\ prior\ written\ permission.}}
\DoxyCodeLine{00019\ \textcolor{comment}{}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ \ \ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ THE\ COPYRIGHT\ HOLDERS\ AND\ CONTRIBUTORS}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ \ \ \`{}\`{}AS\ IS''\ AND\ ANY\ EXPRESS\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ \ \ LIMITED\ TO,\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ \ \ PARTICULAR\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ THE\ ORGANISATION\ OR}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ \ \ CONTRIBUTORS\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,\ SPECIAL,}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ \ \ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ LIMITED\ TO,}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ \ \ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ DATA,\ OR}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ \ \ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ THEORY\ OF}}
\DoxyCodeLine{00028\ \textcolor{comment}{\ \ \ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ (INCLUDING}}
\DoxyCodeLine{00029\ \textcolor{comment}{\ \ \ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ OF\ THIS}}
\DoxyCodeLine{00030\ \textcolor{comment}{\ \ \ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00031\ \textcolor{comment}{*/}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#ifndef\ OGGZ\_CONSTANTS\_HEADER}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ OGGZ\_CONSTANTS\_HEADER}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00046\ \textcolor{keyword}{enum}\ OggzFlags\ \{}
\DoxyCodeLine{00048\ \ \ OGGZ\_READ\ \ \ \ \ \ \ \ \ =\ 0x00,}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00051\ \ \ OGGZ\_WRITE\ \ \ \ \ \ \ \ =\ 0x01,}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00055\ \ \ OGGZ\_NONSTRICT\ \ \ \ =\ 0x10,}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00063\ \ \ OGGZ\_AUTO\ \ \ \ \ \ \ \ \ =\ 0x20,}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00070\ \ \ OGGZ\_PREFIX\ \ \ \ \ \ \ =\ 0x40,}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00077\ \ \ OGGZ\_SUFFIX\ \ \ \ \ \ \ =\ 0x80}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \};}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{keyword}{enum}\ OggzStopCtl\ \{}
\DoxyCodeLine{00083\ \ \ OGGZ\_CONTINUE\ \ \ \ \ =\ 0,}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00086\ \ \ OGGZ\_STOP\_OK\ \ \ \ \ \ =\ 1,}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00089\ \ \ OGGZ\_STOP\_ERR\ \ \ \ \ =\ -\/1}
\DoxyCodeLine{00090\ \};}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00095\ \textcolor{keyword}{enum}\ OggzFlushOpts\ \{}
\DoxyCodeLine{00097\ \ \ OGGZ\_FLUSH\_BEFORE\ =\ 0x01,}
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00100\ \ \ OGGZ\_FLUSH\_AFTER\ \ =\ 0x02}
\DoxyCodeLine{00101\ \};}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00106\ \textcolor{keyword}{enum}\ OggzError\ \{}
\DoxyCodeLine{00108\ \ \ OGGZ\_ERR\_OK\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ 0,}
\DoxyCodeLine{00109\ }
\DoxyCodeLine{00111\ \ \ OGGZ\_ERR\_GENERIC\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/1,}
\DoxyCodeLine{00112\ }
\DoxyCodeLine{00114\ \ \ OGGZ\_ERR\_BAD\_OGGZ\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/2,}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00117\ \ \ OGGZ\_ERR\_INVALID\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/3,}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00120\ \ \ OGGZ\_ERR\_NO\_STREAMS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/4,}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00123\ \ \ OGGZ\_ERR\_BOS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/5,}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00126\ \ \ OGGZ\_ERR\_EOS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/6,}
\DoxyCodeLine{00127\ }
\DoxyCodeLine{00129\ \ \ OGGZ\_ERR\_BAD\_METRIC\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/7,}
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00132\ \ \ OGGZ\_ERR\_SYSTEM\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/10,}
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00135\ \ \ OGGZ\_ERR\_DISABLED\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/11,}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00138\ \ \ OGGZ\_ERR\_NOSEEK\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/13,}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00143\ \ \ OGGZ\_ERR\_STOP\_OK\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/14,}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00148\ \ \ OGGZ\_ERR\_STOP\_ERR\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/15,}
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00151\ \ \ OGGZ\_ERR\_IO\_AGAIN\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/16,}
\DoxyCodeLine{00152\ }
\DoxyCodeLine{00154\ \ \ OGGZ\_ERR\_HOLE\_IN\_DATA\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/17,}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00157\ \ \ OGGZ\_ERR\_OUT\_OF\_MEMORY\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/18,}
\DoxyCodeLine{00158\ }
\DoxyCodeLine{00160\ \ \ OGGZ\_ERR\_BAD\_SERIALNO\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/20,}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00163\ \ \ OGGZ\_ERR\_BAD\_BYTES\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/21,}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00166\ \ \ OGGZ\_ERR\_BAD\_B\_O\_S\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/22,}
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00169\ \ \ OGGZ\_ERR\_BAD\_E\_O\_S\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/23,}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00172\ \ \ OGGZ\_ERR\_BAD\_GRANULEPOS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/24,}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00175\ \ \ OGGZ\_ERR\_BAD\_PACKETNO\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/25,}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00178\ \ \ \textcolor{comment}{/*\ 129\ ==\ 0x81\ is\ the\ frame\ marker\ for\ Theora's\ comments\ page\ ;-\/)\ */}}
\DoxyCodeLine{00179\ \ \ OGGZ\_ERR\_COMMENT\_INVALID\ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/129,}
\DoxyCodeLine{00180\ }
\DoxyCodeLine{00182\ \ \ OGGZ\_ERR\_BAD\_GUARD\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/210,}
\DoxyCodeLine{00183\ }
\DoxyCodeLine{00186\ \ \ OGGZ\_ERR\_RECURSIVE\_WRITE\ \ \ \ \ \ \ \ \ \ \ \ \ \ =\ -\/266}
\DoxyCodeLine{00187\ \};}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00193\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}\ OggzStreamContent\ \{}
\DoxyCodeLine{00194\ \ \ OGGZ\_CONTENT\_ERR\_BAD\_SERIALNO\ =\ OGGZ\_ERR\_BAD\_SERIALNO,}
\DoxyCodeLine{00195\ \ \ OGGZ\_CONTENT\_ERR\_BAD\_OGGZ\ =\ OGGZ\_ERR\_BAD\_OGGZ,}
\DoxyCodeLine{00196\ \ \ OGGZ\_CONTENT\_THEORA\ =\ 0,}
\DoxyCodeLine{00197\ \ \ OGGZ\_CONTENT\_VORBIS,}
\DoxyCodeLine{00198\ \ \ OGGZ\_CONTENT\_SPEEX,}
\DoxyCodeLine{00199\ \ \ OGGZ\_CONTENT\_PCM,}
\DoxyCodeLine{00200\ \ \ OGGZ\_CONTENT\_CMML,}
\DoxyCodeLine{00201\ \ \ OGGZ\_CONTENT\_ANX2,}
\DoxyCodeLine{00202\ \ \ OGGZ\_CONTENT\_SKELETON,}
\DoxyCodeLine{00203\ \ \ OGGZ\_CONTENT\_FLAC0,}
\DoxyCodeLine{00204\ \ \ OGGZ\_CONTENT\_FLAC,}
\DoxyCodeLine{00205\ \ \ OGGZ\_CONTENT\_ANXDATA,}
\DoxyCodeLine{00206\ \ \ OGGZ\_CONTENT\_CELT,}
\DoxyCodeLine{00207\ \ \ OGGZ\_CONTENT\_KATE,}
\DoxyCodeLine{00208\ \ \ OGGZ\_CONTENT\_DIRAC,}
\DoxyCodeLine{00209\ \ \ OGGZ\_CONTENT\_OPUS,}
\DoxyCodeLine{00210\ \ \ OGGZ\_CONTENT\_VP8,}
\DoxyCodeLine{00211\ \ \ OGGZ\_CONTENT\_UNKNOWN}
\DoxyCodeLine{00212\ \}\ OggzStreamContent;}
\DoxyCodeLine{00213\ }
\DoxyCodeLine{00214\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ OGGZ\_CONSTANTS\_HEADER\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
