ov_ectl_ratemanage_arg.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <html>
  2. <head>
  3. <title>vorbis - datatype - ov_ectl_ratemanage_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_ratemanage_arg</h1>
  14. <p><i>declared in "vorbis/vorbisenc.h"</i></p>
  15. <p>
  16. The ov_ectl_ratemanage_arg structure is used with <a
  17. href="vorbis_encode_ctl.html">vorbis_encode_ctl()</a> and the OV_ECTL_RATEMANAGE_GET,
  18. OV_ECTL_RATEMANAGE_SET, OV_ECTL_RATEMANAGE_AVG,
  19. OV_ECTL_RATEMANAGE_HARD calls in order to query and modify specifics
  20. of the encoder's bitrate management configuration. Note that this is
  21. a deprecated interface; please use vorbis_encode_ctl() with the <a
  22. href="ov_ectl_ratemanage2_arg.html">ov_ectl_ratemanage2_arg</a> struct
  23. and OV_ECTL_RATEMANAGE2_GET and OV_ECTL_RATEMANAGE2_SET calls in new
  24. code.
  25. <p>
  26. <table border=0 width=100% color=black cellspacing=0 cellpadding=7>
  27. <tr bgcolor=#cccccc>
  28. <td>
  29. <pre><b>struct ovectl_ratemanage_arg {
  30. int management_active;
  31. long bitrate_hard_min;
  32. long bitrate_hard_max;
  33. double bitrate_hard_window;
  34. long bitrate_av_lo;
  35. long bitrate_av_hi;
  36. double bitrate_av_window;
  37. double bitrate_av_window_center;
  38. };</b></pre>
  39. </td>
  40. </tr>
  41. </table>
  42. <h3>Relevant Struct Members</h3>
  43. <dl>
  44. <dt><i>management_active</i></dt>
  45. <dd>nonzero if bitrate management is active</dd>
  46. <dt><i>bitrate_hard_min</i></dt>
  47. <dd>hard lower limit (in kilobits per second) below which the stream bitrate will never be allowed for any given bitrate_hard_window seconds of time.</dd>
  48. <dt><i>bitrate_hard_max</i></dt>
  49. <dd>hard upper limit (in kilobits per second) above which the stream bitrate will never be allowed for any given bitrate_hard_window seconds of time.</dd>
  50. <dt><i>bitrate_hard_window</i></dt>
  51. <dd>the window period (in seconds) used to regulate the hard bitrate minimum and maximum</dd>
  52. <dt><i>bitrate_av_lo</i></dt>
  53. <dd>soft lower limit (in kilobits per second) below which the average bitrate tracker will start nudging the bitrate higher.</dd>
  54. <dt><i>bitrate_av_hi</i></dt>
  55. <dd>soft upper limit (in kilobits per second) above which the average bitrate tracker will start nudging the bitrate lower.</dd>
  56. <dt><i>bitrate_av_window</i></dt>
  57. <dd>the window period (in seconds) used to regulate the average bitrate minimum and maximum.</dd>
  58. <dt><i>bitrate_av_window_center</i></dt>
  59. <dd>Regulates the relative centering of the average and hard windows; in libvorbis 1.0 and 1.0.1, the hard window regulation overlapped but followed the average window regulation. In libvorbis 1.1 a bit-reservoir interface replaces the old windowing interface; the older windowing interface is simulated and this field has no effect.</dd>
  60. </dl>
  61. <br><br>
  62. <hr noshade>
  63. <table border=0 width=100%>
  64. <tr valign=top>
  65. <td><p class=tiny>copyright &copy; 2004 vorbis team</p></td>
  66. <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>
  67. </tr><tr>
  68. <td><p class=tiny>vorbisfile documentation</p></td>
  69. <td align=right><p class=tiny>libvorbisenc release 1.1 - 20040709</p></td>
  70. </tr>
  71. </table>
  72. </body>
  73. </html>