Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Vorbis
Commits
52e9ef19
Commit
52e9ef19
authored
Oct 14, 2002
by
Ralph Giles
Browse files
escape xml-special characters
svn path=/trunk/vorbis/; revision=4002
parent
52359068
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/xml/02-bitpacking.xml
View file @
52e9ef19
<section
id=
"vorbis-spec-bitpacking"
>
<sectioninfo>
<releaseinfo>
$Id: 02-bitpacking.xml,v 1.
2
2002/10/1
3 15:18:46
giles Exp $
$Id: 02-bitpacking.xml,v 1.
3
2002/10/1
4 18:20:30
giles Exp $
<emphasis>
Last update to this document: July 14, 2002
</emphasis>
</releaseinfo>
</sectioninfo>
...
...
@@ -124,7 +124,7 @@ Bytestream result:
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 @@ Continue by coding the 3 bit integer value '-1' [b111]:
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 @@ Continue by coding the 7 bit integer value '17' [b0010001]:
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 @@ Continue by coding the 13 bit integer value '6969' [b110 11001110 01]:
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 @@ Reading from the beginning of the bytestream encoded in the above example:
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
...
...
doc/xml/06-floor0.xml
View file @
52e9ef19
<section
id=
"vorbis-spec-floor0"
>
<sectioninfo>
<releaseinfo>
$Id: 06-floor0.xml,v 1.
3
2002/10/1
3 15:18:46
giles Exp $
$Id: 06-floor0.xml,v 1.
4
2002/10/1
4 18:20:30
giles Exp $
<emphasis>
Last update to this document: July 19, 2002
</emphasis>
</releaseinfo>
</sectioninfo>
...
...
@@ -139,6 +139,7 @@ synthesized:</para>
<informalequation>
<alt>
[lsp map equation]
<![CDATA[
\begin{math}
\mathrm{map}_i = \left\{
\begin{array}{ll}
...
...
@@ -165,6 +166,7 @@ synthesized:</para>
\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 @@ Similarly, the below calculation synthesizes the output LSP curve <varname>[outp
<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 @@ Similarly, the below calculation synthesizes the output LSP curve <varname>[outp
<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 @@ Similarly, the below calculation synthesizes the output LSP curve <varname>[outp
<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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment