ov_ectl_ratemanage2_arg.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <html>
  2. <head>
  3. <title>vorbis - datatype - ov_ectl_ratemanage2_arg</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>libvorbisenc documentation</p></td>
  10. <td align=right><p class=tiny>libvorbisenc release 1.1 - 20040709</p></td>
  11. </tr>
  12. </table>
  13. <h1>ov_ectl_ratemanage2_arg</h1>
  14. <p><i>declared in "vorbis/vorbisenc.h"</i></p>
  15. <p>
  16. The ov_ectl_ratemanage2_arg structure is used with <a
  17. href="vorbis_encode_ctl.html">vorbis_encode_ctl()</a> and the OV_ECTL_RATEMANAGE2_GET and
  18. OV_ECTL_RATEMANAGE2_SET calls in order to query and modify specifics
  19. of the encoder's bitrate management configuration.
  20. <p>
  21. <table border=0 width=100% color=black cellspacing=0 cellpadding=7>
  22. <tr bgcolor=#cccccc>
  23. <td>
  24. <pre><b>struct ovectl_ratemanage2_arg {
  25. int management_active;
  26. long bitrate_limit_min_kbps;
  27. long bitrate_limit_max_kbps;
  28. long bitrate_limit_reservoir_bits;
  29. double bitrate_limit_reservoir_bias;
  30. long bitrate_average_kbps;
  31. double bitrate_average_damping;
  32. };</b></pre>
  33. </td>
  34. </tr>
  35. </table>
  36. <h3>Relevant Struct Members</h3>
  37. <dl>
  38. <dt><i>management_active</i></dt>
  39. <dd>nonzero if bitrate management is active</dd>
  40. <dt><i>bitrate_limit_min_kbps</i></dt>
  41. <dd>Lower allowed bitrate limit in kilobits per second</dd>
  42. <dt><i>bitrate_limit_max_kbps</i></dt>
  43. <dd>Upper allowed bitrate limit in kilobits per second</dd>
  44. <dt><i>bitrate_limit_reservoir_bits</i></dt>
  45. <dd>Size of the bitrate reservoir in bits</dd>
  46. <dt><i>bitrate_limit_reservoir_bias</i></dt>
  47. <dd>Regulates the bitrate reservoir's preferred fill level in a range
  48. from 0.0 to 1.0; 0.0 tries to bank bits to buffer against future
  49. bitrate spikes, 1.0 buffers against future sudden drops in
  50. instantaneous bitrate. Default is 0.1 </dd>
  51. <dt><i>bitrate_average_kbps</i></dt>
  52. <dd>Average bitrate setting in kilobits per second</dd>
  53. <dt><i>bitrate_average_damping</i></dt> <dd>Slew rate limit setting
  54. for average bitrate adjustment; sets the minimum time in seconds the
  55. bitrate tracker may swing from one extreme to the other when boosting
  56. or damping average bitrate.</dd>
  57. </dl>
  58. <br><br>
  59. <hr noshade>
  60. <table border=0 width=100%>
  61. <tr valign=top>
  62. <td><p class=tiny>copyright &copy; 2004 vorbis team</p></td>
  63. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@vorbis.org">team@vorbis.org</a></p></td>
  64. </tr><tr>
  65. <td><p class=tiny>vorbisfile documentation</p></td>
  66. <td align=right><p class=tiny>libvorbisenc release 1.1 - 20040709</p></td>
  67. </tr>
  68. </table>
  69. </body>
  70. </html>