~ubuntu-branches/ubuntu/lucid/schroedinger/lucid

« back to all changes in this revision

Viewing changes to doc/html/schroedinger-schroarith.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-04-14 10:58:46 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414105846-p35xtwwse4bf2xvw
Tags: 1.0.9.is.1.0.8-0ubuntu1
Upload 1.0.8 for lucid since the new version requires orc which is in 
universe and not ready to be promoted yet (the next version will change
the abi and it's still a new technology) (lp: #562735)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>schroarith</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
 
<link rel="home" href="index.html" title="Schroedinger Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
 
7
<link rel="start" href="index.html" title="Schroedinger Reference Manual">
8
8
<link rel="up" href="schrointernal.html" title="Schroedinger Internal API">
9
9
<link rel="prev" href="schroedinger-schroasync.html" title="schroasync">
10
10
<link rel="next" href="schroedinger-schrocuda.html" title="schrocuda">
28
28
                <a href="#schroedinger-schroarith.description" class="shortcut">Description</a>
29
29
</td></tr>
30
30
</table>
31
 
<div class="refentry" title="schroarith">
 
31
<div class="refentry" lang="en">
32
32
<a name="schroedinger-schroarith"></a><div class="titlepage"></div>
33
33
<div class="refnamediv"><table width="100%"><tr>
34
34
<td valign="top">
37
37
</td>
38
38
<td valign="top" align="right"></td>
39
39
</tr></table></div>
40
 
<div class="refsynopsisdiv" title="Synopsis">
 
40
<div class="refsynopsisdiv">
41
41
<a name="schroedinger-schroarith.synopsis"></a><h2>Synopsis</h2>
42
42
<pre class="synopsis">
43
43
                    <a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a>;
86
86
                                                         int value);
87
87
</pre>
88
88
</div>
89
 
<div class="refsect1" title="Description">
 
89
<div class="refsect1" lang="en">
90
90
<a name="schroedinger-schroarith.description"></a><h2>Description</h2>
91
91
<p>
92
92
</p>
93
93
</div>
94
 
<div class="refsect1" title="Details">
 
94
<div class="refsect1" lang="en">
95
95
<a name="schroedinger-schroarith.details"></a><h2>Details</h2>
96
 
<div class="refsect2" title="SchroArith">
 
96
<div class="refsect2" lang="en">
97
97
<a name="SchroArith"></a><h3>SchroArith</h3>
98
98
<pre class="programlisting">typedef struct {
99
99
  SchroBuffer *buffer;
115
115
</p>
116
116
</div>
117
117
<hr>
118
 
<div class="refsect2" title="SchroArithContext">
 
118
<div class="refsect2" lang="en">
119
119
<a name="SchroArithContext"></a><h3>SchroArithContext</h3>
120
120
<pre class="programlisting">typedef struct {
121
121
  unsigned int next;
122
 
#ifdef unused
123
122
  int stat_range;
124
123
  int n_bits;
125
124
  int n_symbols;
126
125
  int ones;
127
 
#endif
128
126
} SchroArithContext;
129
127
</pre>
130
128
<p>
131
129
</p>
132
130
</div>
133
131
<hr>
134
 
<div class="refsect2" title="schro_arith_new ()">
 
132
<div class="refsect2" lang="en">
135
133
<a name="schro-arith-new"></a><h3>schro_arith_new ()</h3>
136
134
<pre class="programlisting"><a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *        schro_arith_new                     (void);</pre>
137
135
<p>
146
144
</table></div>
147
145
</div>
148
146
<hr>
149
 
<div class="refsect2" title="schro_arith_free ()">
 
147
<div class="refsect2" lang="en">
150
148
<a name="schro-arith-free"></a><h3>schro_arith_free ()</h3>
151
149
<pre class="programlisting">void                schro_arith_free                    (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith);</pre>
152
150
<p>
161
159
</table></div>
162
160
</div>
163
161
<hr>
164
 
<div class="refsect2" title="schro_arith_decode_init ()">
 
162
<div class="refsect2" lang="en">
165
163
<a name="schro-arith-decode-init"></a><h3>schro_arith_decode_init ()</h3>
166
164
<pre class="programlisting">void                schro_arith_decode_init             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
167
165
                                                         <a class="link" href="schroedinger-schrobuffer.html#SchroBuffer" title="SchroBuffer">SchroBuffer</a> *buffer);</pre>
184
182
</table></div>
185
183
</div>
186
184
<hr>
187
 
<div class="refsect2" title="schro_arith_encode_init ()">
 
185
<div class="refsect2" lang="en">
188
186
<a name="schro-arith-encode-init"></a><h3>schro_arith_encode_init ()</h3>
189
187
<pre class="programlisting">void                schro_arith_encode_init             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
190
188
                                                         <a class="link" href="schroedinger-schrobuffer.html#SchroBuffer" title="SchroBuffer">SchroBuffer</a> *buffer);</pre>
207
205
</table></div>
208
206
</div>
209
207
<hr>
210
 
<div class="refsect2" title="schro_arith_flush ()">
 
208
<div class="refsect2" lang="en">
211
209
<a name="schro-arith-flush"></a><h3>schro_arith_flush ()</h3>
212
210
<pre class="programlisting">void                schro_arith_flush                   (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith);</pre>
213
211
<p>
222
220
</table></div>
223
221
</div>
224
222
<hr>
225
 
<div class="refsect2" title="schro_arith_decode_bit ()">
 
223
<div class="refsect2" lang="en">
226
224
<a name="schro-arith-decode-bit"></a><h3>schro_arith_decode_bit ()</h3>
227
225
<pre class="programlisting">int                 schro_arith_decode_bit              (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
228
226
                                                         unsigned int context);</pre>
250
248
</table></div>
251
249
</div>
252
250
<hr>
253
 
<div class="refsect2" title="schro_arith_decode_flush ()">
 
251
<div class="refsect2" lang="en">
254
252
<a name="schro-arith-decode-flush"></a><h3>schro_arith_decode_flush ()</h3>
255
253
<pre class="programlisting">void                schro_arith_decode_flush            (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith);</pre>
256
254
<p>
265
263
</table></div>
266
264
</div>
267
265
<hr>
268
 
<div class="refsect2" title="schro_arith_decode_sint ()">
 
266
<div class="refsect2" lang="en">
269
267
<a name="schro-arith-decode-sint"></a><h3>schro_arith_decode_sint ()</h3>
270
268
<pre class="programlisting">int                 schro_arith_decode_sint             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
271
269
                                                         unsigned int cont_context,
305
303
</table></div>
306
304
</div>
307
305
<hr>
308
 
<div class="refsect2" title="schro_arith_decode_uint ()">
 
306
<div class="refsect2" lang="en">
309
307
<a name="schro-arith-decode-uint"></a><h3>schro_arith_decode_uint ()</h3>
310
308
<pre class="programlisting">int                 schro_arith_decode_uint             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
311
309
                                                         unsigned int cont_context,
339
337
</table></div>
340
338
</div>
341
339
<hr>
342
 
<div class="refsect2" title="schro_arith_encode_bit ()">
 
340
<div class="refsect2" lang="en">
343
341
<a name="schro-arith-encode-bit"></a><h3>schro_arith_encode_bit ()</h3>
344
342
<pre class="programlisting">void                schro_arith_encode_bit              (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
345
343
                                                         int context,
368
366
</table></div>
369
367
</div>
370
368
<hr>
371
 
<div class="refsect2" title="schro_arith_encode_sint ()">
 
369
<div class="refsect2" lang="en">
372
370
<a name="schro-arith-encode-sint"></a><h3>schro_arith_encode_sint ()</h3>
373
371
<pre class="programlisting">void                schro_arith_encode_sint             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
374
372
                                                         int cont_context,
409
407
</table></div>
410
408
</div>
411
409
<hr>
412
 
<div class="refsect2" title="schro_arith_encode_uint ()">
 
410
<div class="refsect2" lang="en">
413
411
<a name="schro-arith-encode-uint"></a><h3>schro_arith_encode_uint ()</h3>
414
412
<pre class="programlisting">void                schro_arith_encode_uint             (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
415
413
                                                         int cont_context,
444
442
</table></div>
445
443
</div>
446
444
<hr>
447
 
<div class="refsect2" title="schro_arith_estimate_bit ()">
 
445
<div class="refsect2" lang="en">
448
446
<a name="schro-arith-estimate-bit"></a><h3>schro_arith_estimate_bit ()</h3>
449
447
<pre class="programlisting">void                schro_arith_estimate_bit            (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
450
448
                                                         int i,
473
471
</table></div>
474
472
</div>
475
473
<hr>
476
 
<div class="refsect2" title="schro_arith_estimate_init ()">
 
474
<div class="refsect2" lang="en">
477
475
<a name="schro-arith-estimate-init"></a><h3>schro_arith_estimate_init ()</h3>
478
476
<pre class="programlisting">void                schro_arith_estimate_init           (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith);</pre>
479
477
<p>
488
486
</table></div>
489
487
</div>
490
488
<hr>
491
 
<div class="refsect2" title="schro_arith_estimate_sint ()">
 
489
<div class="refsect2" lang="en">
492
490
<a name="schro-arith-estimate-sint"></a><h3>schro_arith_estimate_sint ()</h3>
493
491
<pre class="programlisting">void                schro_arith_estimate_sint           (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
494
492
                                                         int cont_context,
529
527
</table></div>
530
528
</div>
531
529
<hr>
532
 
<div class="refsect2" title="schro_arith_estimate_uint ()">
 
530
<div class="refsect2" lang="en">
533
531
<a name="schro-arith-estimate-uint"></a><h3>schro_arith_estimate_uint ()</h3>
534
532
<pre class="programlisting">void                schro_arith_estimate_uint           (<a class="link" href="schroedinger-schroarith.html#SchroArith" title="SchroArith">SchroArith</a> *arith,
535
533
                                                         int cont_context,