[xiph-cvs] cvs commit: vorbis/doc/xml 02-bitpacking.xml 06-floor0.xml
Ralph Giles
giles at xiph.org
Mon Oct 14 11:20:33 PDT 2002
giles 02/10/14 14:20:32
Modified: doc/xml 02-bitpacking.xml 06-floor0.xml
Log:
escape xml-special characters
Revision Changes Path
1.3 +6 -6 vorbis/doc/xml/02-bitpacking.xml
Index: 02-bitpacking.xml
===================================================================
RCS file: /usr/local/cvsroot/vorbis/doc/xml/02-bitpacking.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 02-bitpacking.xml 13 Oct 2002 15:18:46 -0000 1.2
+++ 02-bitpacking.xml 14 Oct 2002 18:20:30 -0000 1.3
@@ -1,7 +1,7 @@
<section id="vorbis-spec-bitpacking">
<sectioninfo>
<releaseinfo>
- $Id: 02-bitpacking.xml,v 1.2 2002/10/13 15:18:46 giles Exp $
+ $Id: 02-bitpacking.xml,v 1.3 2002/10/14 18:20:30 giles Exp $
<emphasis>Last update to this document: July 14, 2002</emphasis>
</releaseinfo>
</sectioninfo>
@@ -124,7 +124,7 @@
V
7 6 5 4 3 2 1 0
-byte 0 [0 0 0 0 1 1 0 0] <-
+byte 0 [0 0 0 0 1 1 0 0] <-
byte 1 [ ]
byte 2 [ ]
byte 3 [ ]
@@ -142,7 +142,7 @@
V
7 6 5 4 3 2 1 0
-byte 0 [0 1 1 1 1 1 0 0] <-
+byte 0 [0 1 1 1 1 1 0 0] <-
byte 1 [ ]
byte 2 [ ]
byte 3 [ ]
@@ -160,7 +160,7 @@
7 6 5 4 3 2 1 0
byte 0 [1 1 1 1 1 1 0 0]
-byte 1 [0 0 0 0 1 0 0 0] <-
+byte 1 [0 0 0 0 1 0 0 0] <-
byte 2 [ ]
byte 3 [ ]
...
@@ -180,7 +180,7 @@
byte 0 [1 1 1 1 1 1 0 0]
byte 1 [0 1 0 0 1 0 0 0]
byte 2 [1 1 0 0 1 1 1 0]
-byte 3 [0 0 0 0 0 1 1 0] <-
+byte 3 [0 0 0 0 0 1 1 0] <-
...
byte n [ ] bytestream length == 4 bytes
@@ -199,7 +199,7 @@
V
7 6 5 4 3 2 1 0
-byte 0 [1 1 1 1 1 1 0 0] <-
+byte 0 [1 1 1 1 1 1 0 0] <-
byte 1 [0 1 0 0 1 0 0 0]
byte 2 [1 1 0 0 1 1 1 0]
byte 3 [0 0 0 0 0 1 1 0] bytestream length == 4 bytes
<p><p>1.4 +9 -1 vorbis/doc/xml/06-floor0.xml
Index: 06-floor0.xml
===================================================================
RCS file: /usr/local/cvsroot/vorbis/doc/xml/06-floor0.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- 06-floor0.xml 13 Oct 2002 15:18:46 -0000 1.3
+++ 06-floor0.xml 14 Oct 2002 18:20:30 -0000 1.4
@@ -1,7 +1,7 @@
<section id="vorbis-spec-floor0">
<sectioninfo>
<releaseinfo>
- $Id: 06-floor0.xml,v 1.3 2002/10/13 15:18:46 giles Exp $
+ $Id: 06-floor0.xml,v 1.4 2002/10/14 18:20:30 giles Exp $
<emphasis>Last update to this document: July 19, 2002</emphasis>
</releaseinfo>
</sectioninfo>
@@ -139,6 +139,7 @@
<informalequation>
<alt>
[lsp map equation]
+ <![CDATA[
\begin{math}
\mathrm{map}_i = \left\{
\begin{array}{ll}
@@ -165,6 +166,7 @@
\begin{math}
\mathrm{bark}(x) = 13.1 \arctan (.00074x) + 2.24 \arctan (.0000000158x^2)+.0001x
\end{math}
+ ]]>
</alt>
<graphic fileref="lspmap.png"/>
</informalequation>
@@ -183,10 +185,12 @@
<informalequation>
<alt>
[equation for odd lsp]
+ <![CDATA[
\begin{eqnarray*}
p & = & (1 - \cos^2\omega)\prod_{j=0}^{(\mathtt{order}-3)/2} 4 (\cos c_{2j+1} - \cos \omega)^2 \\
q & = & \frac{1}{4} \prod_{j=0}^{(\mathtt{order}-1)/2} 4 (\cos c_{2j+1} - \cos \omega)^2
\end{eqnarray*}
+ ]]>
</alt>
<graphic fileref="oddlsp.png"/>
</informalequation>
@@ -198,10 +202,12 @@
<informalequation>
<alt>
[equation for even lsp]
+ <![CDATA[
\begin{eqnarray*}
p & = & \frac{(1 - \cos^2\omega)}{2} \prod_{j=0}^{(\mathtt{order}-2)/2} 4 (\cos c_{2j} - \cos \omega)^2 \\
q & = & \frac{(1 + \cos^2\omega)}{2} \prod_{j=0}^{(\mathtt{order}-2)/2} 4 (\cos c_{2j} - \cos \omega)^2
\end{eqnarray*}
+ ]]>
</alt>
<graphic fileref="evenlsp.png"/>
</informalequation>
@@ -213,10 +219,12 @@
<informalequation>
<alt>
[expression for floorval]
+ <![CDATA[
\begin{math}
\exp \left( .11512925 \left(\frac{\mathtt{amplitude} \cdot \mathtt{floor0\_amplitute\_offset}}{(2^{\mathtt{floor0\_amplitude\_bits}}-1)\sqrt{p+q}}
- \mathtt{floor0\_amplitude\_offset} \right) \right)
\end{math}
+ ]]>
</alt>
<graphic fileref="floorval.png"/>
</informalequation>
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list