shithub: opus

Download patch

ref: 4d12a82c18138affb6d0a5f5fce83db6fa01adfe
parent: 7d8803b49821a089fe97465d267772c9d596b191
author: Jean-Marc Valin <[email protected]>
date: Thu Jul 2 06:59:07 EDT 2009

ietf doc: cleaning up the build

--- a/doc/ietf/Makefile.ietf
+++ b/doc/ietf/Makefile.ietf
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -c -O2 -g -Dfloat2int=rintf -DHAVE_CONFIG_H
+CFLAGS = -c -O2 -g
 LIBS = -lm
 
 OBJS = bands.o celt.o cwrs.o entcode.o entdec.o entenc.o kiss_fft.o \
--- a/doc/ietf/config.h
+++ b/doc/ietf/config.h
@@ -17,7 +17,7 @@
 #define CELT_MINOR_VERSION 5
 
 /* Complete version string */
-#define CELT_VERSION "0.5.2"
+#define CELT_VERSION "0.6.0"
 
 
 #define restrict 
--- a/doc/ietf/convert_source.sh
+++ b/doc/ietf/convert_source.sh
@@ -40,6 +40,7 @@
 
 done
 
+cp ../../libcelt/float_cast.h source/float_cast.h
 cp arch.h source/arch.h
 cp celt_types.h source/celt_types.h
 cp config.h source/config.h
--- a/doc/ietf/draft-valin-celt-codec.xml
+++ b/doc/ietf/draft-valin-celt-codec.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE rfc SYSTEM 'rfc2629.dtd'>
 <?rfc toc="yes" symrefs="yes" ?>
 
-<rfc ipr="trust200902" category="info" docName="draft-valin-celt-codec-00">
+<rfc ipr="trust200902" category="std" docName="draft-valin-celt-codec-00">
 
 <front>
 <title abbrev="CELT codec">Constrained-Energy Lapped Transform (CELT) Codec</title>
@@ -659,27 +659,27 @@
 <figure anchor="decoder-diagram">
 <artwork>
 <![CDATA[
-                            +--+
-                            |Q1|-------------+
-                            +--+             |
-                                             v
-                            +--+  +-----+  +---+  +-----+
-                            |Q3|->| Mix |->| * |->|IMDCT|-+
-                            +--+  +-----+  +---+  +-----+ |
-                              ^      ^                    |
-                              +------+                    |
-                                     |                    |
-                            +--+   +-+-+                  |
-                            |Q2|-->| * |                  |
-                            +--+   +---+                  |
-                                     ^                    |
-                                     |                    |
-                              +------+-----+              |
-              +------------+  |Delay, MDCT,|              |
-              |Pitch period|->|  Normalize |              |
-              +------------+  +------------+              |
-                                     ^                    |
-                                     +--------------------+
+                       +--+
+                       |Q1|-------------+
+                       +--+             |
+                                        v
+                       +--+  +-----+  +---+  +-----+
+                       |Q3|->| Mix |->| * |->|IMDCT|-+-> output
+                       +--+  +-----+  +---+  +-----+ |
+                         ^      ^                    |
+                         +------+                    |
+                                |                    |
+                       +--+   +-+-+                  |
+                       |Q2|-->| * |                  |
+                       +--+   +---+                  |
+                                ^                    |
+                                |                    |
+                         +------+-----+              |
+         +------------+  |Delay, MDCT,|              |
+         |Pitch period|->|  Normalize |              |
+         +------------+  +------------+              |
+                                ^                    |
+                                +--------------------+
 ]]>
 </artwork>
 <postamble>Block diagram of the CELT decoder</postamble>
@@ -943,6 +943,7 @@
 argument simulates random packet loss (argument is in tenths or a percent).
 </t>
 
+<?rfc include="xml_source/Makefile"?>
 <?rfc include="xml_source/testcelt.c"?>
 <?rfc include="xml_source/celt.h"?>
 <?rfc include="xml_source/celt.c"?>
@@ -989,7 +990,7 @@
 <?rfc include="xml_source/kiss_fftr.c"?>
 <?rfc include="xml_source/kfft_single.h"?>
 <?rfc include="xml_source/kfft_double.h"?>
-<?rfc include="xml_source/Makefile"?>
+<?rfc include="xml_source/config.h"?>
 
 </section>