general.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <html>
  2. <head>
  3. <title>libogg - General Functions</title>
  4. <link rel=stylesheet href="style.css" type="text/css">
  5. </head>
  6. <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
  7. <table border=0 width=100%>
  8. <tr>
  9. <td><p class=tiny>libogg documentation</p></td>
  10. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  11. </tr>
  12. </table>
  13. <h1>General Functions</h1>
  14. <p>Libogg contains several functions which are generally useful when using Ogg streaming, whether encoding or decoding.
  15. <p>
  16. All the <b>libogg</b> specific functions are declared in "ogg/ogg.h".
  17. <p>
  18. <p>These functions can be used to manipulate some of the basic elements of Ogg - streams and pages. Streams and pages are important during both the encode and decode process.
  19. <br>
  20. <table border=1 color=black width=50% cellspacing=0 cellpadding=7>
  21. <tr bgcolor=#cccccc>
  22. <td><b>function</b></td>
  23. <td><b>purpose</b></td>
  24. </tr>
  25. <tr valign=top>
  26. <td><a href="ogg_stream_init.html">ogg_stream_init</a></td>
  27. <td>Initializes an Ogg bitstream.</td>
  28. </tr>
  29. <tr valign=top>
  30. <td><a href="ogg_stream_clear.html">ogg_stream_clear</a></td>
  31. <td>Clears the storage within the Ogg stream, but does not free the stream itself.<td>
  32. </tr>
  33. <tr valign=top>
  34. <td><a href="ogg_stream_reset.html">ogg_stream_reset</a></td>
  35. <td>Resets the stream status to its initial position.</td>
  36. </tr>
  37. <tr valign=top>
  38. <td><a href="ogg_stream_destroy.html">ogg_stream_destroy</a></td>
  39. <td>Frees the entire Ogg stream.</td>
  40. </tr>
  41. <tr valign=top>
  42. <td><a href="ogg_stream_check.html">ogg_stream_check</a></td>
  43. <td>Check for asynchronous errors.</td>
  44. </tr>
  45. <tr valign=top>
  46. <td><a href="ogg_stream_eos.html">ogg_stream_eos</a></td>
  47. <td>Indicates whether we are at the end of the stream.</td>
  48. </tr>
  49. <tr valign=top>
  50. <td><a href="ogg_page_version.html">ogg_page_version</a></td>
  51. <td>Returns the version of ogg_page that this stream/page uses</td>
  52. </tr>
  53. <tr valign=top>
  54. <td><a href="ogg_page_continued.html">ogg_page_continued</a></td>
  55. <td>Indicates if the current page contains a continued packet from the last page.</td>
  56. </tr>
  57. <tr valign=top>
  58. <td><a href="ogg_page_packets.html">ogg_page_packets</a></td>
  59. <td>Indicates the number of packets contained in a page.</td>
  60. </tr>
  61. <tr valign=top>
  62. <td><a href="ogg_page_bos.html">ogg_page_bos</a></td>
  63. <td>Indicates if the current page is the beginning of the stream.</td>
  64. </tr>
  65. <tr valign=top>
  66. <td><a href="ogg_page_eos.html">ogg_page_eos</a></td>
  67. <td>Indicates if the current page is the end of the stream.</td>
  68. </tr>
  69. <tr valign=top>
  70. <td><a href="ogg_page_granulepos.html">ogg_page_granulepos</a></td>
  71. <td>Returns the precise playback location of this page.</td>
  72. </tr>
  73. <tr valign=top>
  74. <td><a href="ogg_page_serialno.html">ogg_page_serialno</a></td>
  75. <td>Returns the unique serial number of the logical bitstream associated with this page.</td>
  76. </tr>
  77. <tr valign=top>
  78. <td><a href="ogg_page_pageno.html">ogg_page_pageno</a></td>
  79. <td>Returns the sequential page number for this page.</td>
  80. </tr>
  81. <tr valign=top>
  82. <td><a href="ogg_packet_clear.html">ogg_packet_clear</a></td>
  83. <td>Clears the ogg_packet structure.</td>
  84. </tr>
  85. <tr valign=top>
  86. <td><a href="ogg_page_checksum_set.html">ogg_page_checksum_set</a></td>
  87. <td>Checksums an ogg_page.</td>
  88. </tr>
  89. </table>
  90. <br><br>
  91. <hr noshade>
  92. <table border=0 width=100%>
  93. <tr valign=top>
  94. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  95. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  96. </tr><tr>
  97. <td><p class=tiny>libogg documentation</p></td>
  98. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  99. </tr>
  100. </table>
  101. </body>
  102. </html>