shithub: opus

Download patch

ref: fa3ef8dcda2aa607865edf61e2b024cd5377abc2
parent: 9fb5cee6aecfab48ea34c27897a81bf31943d1c9
author: Jean-Marc Valin <[email protected]>
date: Fri Oct 28 19:13:28 EDT 2011

draft wip

--- a/doc/build_draft.sh
+++ b/doc/build_draft.sh
@@ -33,6 +33,7 @@
 cp -a "${toplevel}"/silk_sources.mk "${destdir}"/
 cp -a "${toplevel}"/README.draft "${destdir}"/README
 cp -a "${toplevel}"/COPYING "${destdir}"/COPYING
+cp -a "${toplevel}"/tests/run_vectors.sh "${destdir}"/
 
 tar czf opus_source.tar.gz "${destdir}"
 echo building base64 version
--- a/doc/draft-ietf-codec-opus.xml
+++ b/doc/draft-ietf-codec-opus.xml
@@ -6570,6 +6570,15 @@
 </list>
 </t>
 
+<t>
+On POSIX environments, the run_vectors.sh script can be used to verify all test
+vectors. This can be done with
+<list>
+<t>run_vectors.sh &lt;exec path&gt; &lt;vector path&gt;</t>
+</list>
+where &lt;exec path&gt; is the directory where the opus_demo and opus_compare executables
+are built and &lt;vector path&gt;</t> is the directory containing the test vectors.
+</t>
 </section>
 
 <section title="Opus Custom">
@@ -6938,6 +6947,20 @@
 draft. They are available from the Opus codec website at 
 <eref target="http://opus-codec.org/testvectors/"/> and will also be made available
 in IETF meeting proceedings.
+</t>
+
+<t>
+The SHA1 hash of the files in the test vector package are
+<figure align="center">
+<artwork align="center"><![CDATA[
+77c5f8b92fb496c47e9485a19ac5b92ec5a36210  test1_mono.bit
+7b56c26f4a3d093893b5b7859ed779dcbcf3fbc0  test1_mono.fixed
+2c03ce5db251ff05a27fdc1ac122e6a0a65feb85  test1_mono.float
+77c5f8b92fb496c47e9485a19ac5b92ec5a36210  test1_stereo.bit
+03ebd981b41971042a747bc9a531a013c0211f6a  test1_stereo.fixed
+c38c5fd614c79ee71410fdf7720944be2ee274f5  test1_stereo.float
+]]></artwork>
+</figure>
 </t>
 </section>