Added all the source files to the draft
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Thu, 8 Jan 2009 22:37:22 +0000 (17:37 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Thu, 8 Jan 2009 22:37:22 +0000 (17:37 -0500)
doc/ietf/convert_source.sh [new file with mode: 0755]
doc/ietf/draft-valin-celt-codec.xml

diff --git a/doc/ietf/convert_source.sh b/doc/ietf/convert_source.sh
new file mode 100755 (executable)
index 0000000..e746eb6
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+mkdir -p source
+
+for i in `ls ../../libcelt | grep '\.[ch]$'`
+do
+
+#cat ../../libcelt/$i | sed -e 's/\&/\&amp;/g' -e 's/</\&lt;/g' -e 's/^/<t>/' -e 's/$/<\/t>/' > source/$i
+
+echo "<section anchor=\"$i\" title=\"$i\">" > source/$i
+echo '<t>' >> source/$i
+echo '<figure><artwork><![CDATA[' >> source/$i
+cat ../../libcelt/$i >> source/$i
+echo ']]></artwork></figure>' >> source/$i
+echo '</t>' >> source/$i
+echo '</section>' >> source/$i
+
+done
index 6df3910..ecc6a65 100644 (file)
@@ -381,9 +381,59 @@ CELT and AVT communities for their input:
 <section anchor="Reference Implementation" title="Reference Implementation">
 
 <t>Insert a copy of the CELT source code here.</t>
-<!--<t><?rfc include="source/celt.c"?></t>
-<t><?rfc include="source/bands.c"?></t>
--->
+<?rfc include="source/testcelt.c"?>
+<?rfc include="source/celt.h"?>
+<?rfc include="source/celt.c"?>
+<?rfc include="source/modes.h"?>
+<?rfc include="source/modes.c"?>
+<?rfc include="source/bands.h"?>
+<?rfc include="source/bands.c"?>
+<?rfc include="source/cwrs.h"?>
+<?rfc include="source/cwrs.c"?>
+<?rfc include="source/vq.h"?>
+<?rfc include="source/vq.c"?>
+<?rfc include="source/pitch.h"?>
+<?rfc include="source/pitch.c"?>
+<?rfc include="source/rate.h"?>
+<?rfc include="source/rate.c"?>
+<?rfc include="source/psy.h"?>
+<?rfc include="source/psy.c"?>
+<?rfc include="source/mdct.h"?>
+<?rfc include="source/mdct.c"?>
+<?rfc include="source/ecintrin.h"?>
+<?rfc include="source/entcode.h"?>
+<?rfc include="source/entcode.c"?>
+<?rfc include="source/entenc.h"?>
+<?rfc include="source/entenc.c"?>
+<?rfc include="source/entdec.h"?>
+<?rfc include="source/entdec.c"?>
+<?rfc include="source/mfrngcod.h"?>
+<?rfc include="source/rangeenc.c"?>
+<?rfc include="source/rangedec.c"?>
+<?rfc include="source/laplace.h"?>
+<?rfc include="source/laplace.c"?>
+<?rfc include="source/quant_bands.h"?>
+<?rfc include="source/quant_bands.c"?>
+<?rfc include="source/quant_pitch.h"?>
+<?rfc include="source/quant_pitch.c"?>
+<?rfc include="source/pgain_table.h"?>
+<?rfc include="source/arch.h"?>
+<?rfc include="source/fixed_generic.h"?>
+<?rfc include="source/fixed_debug.h"?>
+<?rfc include="source/mathops.h"?>
+<?rfc include="source/os_support.h"?>
+<?rfc include="source/float_cast.h"?>
+<?rfc include="source/stack_alloc.h"?>
+<?rfc include="source/celt_types.h"?>
+<?rfc include="source/_kiss_fft_guts.h"?>
+<?rfc include="source/kiss_fft.h"?>
+<?rfc include="source/kiss_fft.c"?>
+<?rfc include="source/kiss_fftr.h"?>
+<?rfc include="source/kiss_fftr.c"?>
+<?rfc include="source/kfft_single.h"?>
+<?rfc include="source/kfft_single.c"?>
+<?rfc include="source/kfft_double.h"?>
+
 </section>