oggpack_readinit.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <html>
  2. <head>
  3. <title>libogg - function - oggpack_readinit</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>oggpack_readinit</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function takes an ordinary buffer and prepares an <a href="oggpack_buffer.html">oggpack_buffer</a> for reading using the Ogg <a href="bitpacking.html">bitpacking</a> functions.
  16. <br><br>
  17. <table border=0 color=black cellspacing=0 cellpadding=7>
  18. <tr bgcolor=#cccccc>
  19. <td>
  20. <pre><b>
  21. void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
  22. </b></pre>
  23. </td>
  24. </tr>
  25. </table>
  26. <h3>Parameters</h3>
  27. <dl>
  28. <dt><i>b</i></dt>
  29. <dd>Pointer to <a href=oggpack_buffer.html">oggpack_buffer</a> to be initialized with some extra markers to ease bit navigation and manipulation.</dd>
  30. <dt><i>buf</i></dt>
  31. <dd>Original data buffer, to be inserted into the <a href="oggpack_buffer.html">oggpack_buffer</a> so that it can be read using bitpacking functions.
  32. </dl>
  33. <h3>Return Values</h3>
  34. <blockquote>
  35. <li>
  36. No values are returned.</li>
  37. </blockquote>
  38. <p>
  39. <br><br>
  40. <hr noshade>
  41. <table border=0 width=100%>
  42. <tr valign=top>
  43. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  44. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  45. </tr><tr>
  46. <td><p class=tiny>libogg documentation</p></td>
  47. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  48. </tr>
  49. </table>
  50. </body>
  51. </html>