VirtualBox

source: vbox/trunk/src/libs/libvorbis-1.3.7/doc/libvorbis/vorbis_bitrate_flushpacket.html

最後變更 在這個檔案是 96468,由 vboxsync 提交於 3 年 前

libs/libvorbis-1.3.7: Re-exporting, hopefully this time everything is there. bugref:10275

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.1 KB
 
1<html>
2
3<head>
4<title>libvorbis - function - vorbis_bitrate_flushpacket</title>
5<link rel=stylesheet href="style.css" type="text/css">
6</head>
7
8<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9<table border=0 width=100%>
10<tr>
11<td><p class=tiny>libvorbis documentation</p></td>
12<td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
13</tr>
14</table>
15
16<h1>vorbis_bitrate_flushpacket</h1>
17
18<p><i>declared in "vorbis/codec.h";</i></p>
19
20<p>This function returns the next available completed packet from the
21bitrate management engine. It should be called in a loop after any call
22to vorbis_bitrate_addblock() until it returns either 0 (more data needed)
23or a negative value (error).
24</p>
25
26<p>
27The data returned in the ogg_packet structure can be copied to the
28final compressed output stream.
29</p>
30
31<table border=0 color=black cellspacing=0 cellpadding=7>
32<tr bgcolor=#cccccc>
33 <td>
34<pre><b>
35extern int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,
36 ogg_packet *op);
37</b></pre>
38 </td>
39</tr>
40</table>
41
42<h3>Parameters</h3>
43<dl>
44<dt><i>vd</i></dt>
45<dd>Pointer to the vorbis_dsp_state represending the encoder.</dd>
46<dt><i>op</i></dt>
47<dd>Pointer to an ogg_packet to be filled out with the compressed data.</dd>
48</dl>
49
50
51<h3>Return Values</h3>
52<ul>
53<li>1 for success when more packets are available.
54<li>0 for success when this is the last packet available from the current input.</li>
55<li>negative values for failure:
56<ul>
57<li>OV_EINVAL - Invalid parameters.</li>
58<li>OV_EFAULT - Internal fault; indicates a bug or memory corruption.</li>
59<li>OV_EIMPL - Unimplemented; not supported by this version of the library.</li>
60</ul>
61</li>
62
63</ul>
64
65<br><br>
66<hr noshade>
67<table border=0 width=100%>
68<tr valign=top>
69<td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
70<td align=right><p class=tiny><a href="https://xiph.org/vorbis/">Ogg Vorbis</a></p></td>
71</tr><tr>
72<td><p class=tiny>libvorbis documentation</p></td>
73<td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
74</tr>
75</table>
76
77
78</body>
79
80</html>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette