shithub: aacenc

Download patch

ref: 066f3cc7bac1d1a85f5274e0ec90165b3cfcbec6
parent: e4b3ab8d26e91a37ed9757b9a6e2e54dc5423309
author: menno <menno>
date: Thu Oct 5 04:39:03 EDT 2000

Copyright message cleanup. CVS keywords added

--- a/aac_se_enc.c
+++ b/aac_se_enc.c
@@ -1,21 +1,30 @@
-/*********************************************************************
+/*
+ *	Writing/counting AAC syntactic elements
  *
- * Module for writing/counting AAC syntactic elements
+ *	Copyright (c) 1999 M. Bakker
  *
- * Authors:
- * CL    Chuck Lueck, TI <lueck@ti.com>
- * ADD   Alberto Duenas, TI <alberto@ndsuk.com>
- * RG    Ralf Geiger,  FhG/IIS
- * Changes:
- * 07-jun-97   CL   Initial revision.
- * 14-sep-97   CL   Modified WritePredictorData to actually write
- *                  predictor data.  Still need to add resets.
- * 20-oct-97   CL   Updated WriteTNSData to support TNS.
- * 03-Dec-97   ADD  Addding the prediction reset
- * 22-Jan-98   CL   Added support for CPE's and common windows.
- * 07-Apr-98   RG   Added WriteLFE to write LFE channel element.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
  *
-**********************************************************************/
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.12 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include <stdlib.h>
 #include "aac_se_enc.h"
--- a/aac_se_enc.h
+++ b/aac_se_enc.h
@@ -1,43 +1,30 @@
-/***********
-
-This software module was originally developed by Texas 
-Instruments in the course of development of the MPEG-2 NBC/MPEG-4 
-Audio standard ISO/IEC13818-7, 14496-1, 2 and 3. This software module is an 
-implementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio tools as 
-specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC  gives users of the
-MPEG-2NBC/MPEG-4 Audio standards free license to this software module
-or modifications thereof for use in hardware or software products
-claiming conformance to the MPEG-2 NBC/MPEG-4 Audio  standards. Those
-intending to use this software module in hardware or software products
-are advised that this use may infringe existing patents. The original
-developer of this software module, the subsequent
-editors and their companies, and ISO/IEC have no liability for use of
-this software module or modifications thereof in an
-implementation. Copyright is not released for non MPEG-2 NBC/MPEG-4
-Audio conforming products. The original developer retains full right to
-use the code for the developer's own purpose, assign or donate the code to a
-third party and to inhibit third party from using the code for non
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice
-must be included in all copies or derivative works. Copyright 1996.  
-
-***********/
-/*********************************************************************
+/*
+ *	Function prototypes for writing/counting AAC syntactic elements
  *
- * Function prototypes for writing/counting AAC syntactic elements
+ *	Copyright (c) 1999 M. Bakker
  *
- * Authors:
- * CL    Chuck Lueck, TI <lueck@ti.com>
- * RG    Ralf Geiger, FhG/IIS
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
  *
- * Changes:
- * 07-jun-97   CL   Initial revision.
- * 14-sep-97   CL   Updated WritePredictorData to support prediction.
- * 20-oct-97   CL   Updated WriteTNSData to support TNS.
- * 22-Jan-98   CL   Added support for CPE's and common windows.
- * 07-Apr-98   RG   Added WriteLFE to write LFE channel element.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
-**********************************************************************/
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.6 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef AAC_SE_ENC
 #define AAC_SE_ENC
--- a/aacenc.h
+++ b/aacenc.h
@@ -1,3 +1,31 @@
+/*
+ *	Function prototypes for AAC encoder
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.19 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include <stdio.h>
 #include <sndfile.h>
 
--- a/all.h
+++ b/all.h
@@ -1,26 +1,30 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
-"This software module was originally developed by 
-AT&T, Dolby Laboratories, Fraunhofer Gesellschaft IIS in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
-14496-1,2 and 3. This software module is an implementation of a part of one or more 
-MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
-Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
-standards free license to this software module or modifications thereof for use in 
-hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
-Audio  standards. Those intending to use this software module in hardware or 
-software products are advised that this use may infringe existing patents. 
-The original developer of this software module and his/her company, the subsequent 
-editors and their companies, and ISO/IEC have no liability for use of this software 
-module or modifications thereof in an implementation. Copyright is not released for 
-non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
-retains full right to use the code for his/her  own purpose, assign or donate the 
-code to a third party and to inhibit third party from using the code for non 
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
-be included in all copies or derivative works." 
-Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
+/*
+ *	General declarations
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.6 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef	_all_h_
 #define _all_h_
--- a/bitstream.c
+++ b/bitstream.c
@@ -1,5 +1,30 @@
+/*
+ *	Bitstream writing
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-/* Heavily modified since it is now only used to write bits to a buffer. */
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.4 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include <stdio.h>
 #include <stdlib.h>
--- a/bitstream.h
+++ b/bitstream.h
@@ -1,3 +1,30 @@
+/*
+ *	Function prototypes for bitstream writing
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _bitstream_h_
 #define _bitstream_h_
--- a/block.h
+++ b/block.h
@@ -1,28 +1,31 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
-"This software module was originally developed by 
-AT&T, Dolby Laboratories, Fraunhofer Gesellschaft IIS 
-and edited by Takashi Koike (Sony Corporation),
-Yasuhiro Toguri(Sony Corporation) in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
-14496-1,2 and 3. This software module is an implementation of a part of one or more 
-MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
-Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
-standards free license to this software module or modifications thereof for use in 
-hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
-Audio  standards. Those intending to use this software module in hardware or 
-software products are advised that this use may infringe existing patents. 
-The original developer of this software module and his/her company, the subsequent 
-editors and their companies, and ISO/IEC have no liability for use of this software 
-module or modifications thereof in an implementation. Copyright is not released for 
-non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
-retains full right to use the code for his/her  own purpose, assign or donate the 
-code to a third party and to inhibit third party from using the code for non 
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
-be included in all copies or derivative works." 
-Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
+/*
+ *	Function prototypes for block handling
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.5 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef BLOCK_H
 #define BLOCK_H 1
 
--- a/enc.h
+++ b/enc.h
@@ -1,24 +1,30 @@
-/**********************************************************************
-Header file: enc.h
+/*
+ *	Function prototypes for frame encoding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-$Id: enc.h,v 1.5 2000/02/18 09:21:05 lenox Exp $
-
-Authors:
-HP    Heiko Purnhagen, Uni Hannover <purnhage@tnt.uni-hannover.de>
-RG    Ralf Geiger, FhG/IIS
-
-Changes:
-14-jun-96   HP    first version
-18-jun-96   HP    added bit reservoir handling
-04-jul-96   HP    joined with t/f code by BG (check "DISABLE_TF")
-09-aug-96   HP    added EncXxxInfo(), EncXxxFree()
-15-aug-96   HP    changed EncXxxInit(), EncXxxFrame() interfaces to
-                  enable multichannel signals / float fSample, bitRate
-26-aug-96   HP    CVS
-19-feb-97   HP    added include <stdio.h>
-07-apr-98   RG    added argument lfePresent in EncTfFrame()
-**********************************************************************/
-
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.6 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _enc_h_
 #define _enc_h_
--- a/enc_tf.c
+++ b/enc_tf.c
@@ -1,3 +1,31 @@
+/*
+ *	Frame encoding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.62 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include <math.h>
 #include <stdlib.h>
 #include <memory.h>
--- a/encoder.c
+++ b/encoder.c
@@ -1,3 +1,31 @@
+/*
+ *	Bitstream encoding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.43 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifdef _WIN32
 #include <windows.h>
 #endif
--- a/faac.c
+++ b/faac.c
@@ -1,3 +1,31 @@
+/*
+ *	FAAC main
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.16 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifdef _WIN32
 #include <windows.h>
 #else
--- a/fastfft.c
+++ b/fastfft.c
@@ -1,3 +1,31 @@
+/*
+ *	Fast FFT routines
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.8 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include "fastfft.h"
 
 int unscambled64[64];
--- a/fastfft.h
+++ b/fastfft.h
@@ -1,3 +1,31 @@
+/*
+ *	Function prototypes for fast FFT routines
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.4 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include "transfo.h"
 
 #define PFFTW(name)  CONCAT(pfftw_, name)
--- a/huffman.c
+++ b/huffman.c
@@ -1,3 +1,31 @@
+/*
+ *	AAC Huffman coding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include <math.h>
 #include <string.h>
 #include "aacenc.h"
--- a/huffman.h
+++ b/huffman.h
@@ -1,3 +1,31 @@
+/*
+ *	Function prototypes for AAC Huffman coding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.4 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef HUFFMAN_H
 #define HUFFMAN_H
 
--- a/hufftab5.h
+++ b/hufftab5.h
@@ -1,3 +1,30 @@
+/*
+ *	Huffman Tables
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.2 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 int huff1[][2] = {
 		{ 11,  2040},
--- a/interface.h
+++ b/interface.h
@@ -1,26 +1,31 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
-"This software module was originally developed by 
-AT&T, Dolby Laboratories, Fraunhofer Gesellschaft IIS in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
-14496-1,2 and 3. This software module is an implementation of a part of one or more 
-MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
-Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
-standards free license to this software module or modifications thereof for use in 
-hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
-Audio  standards. Those intending to use this software module in hardware or 
-software products are advised that this use may infringe existing patents. 
-The original developer of this software module and his/her company, the subsequent 
-editors and their companies, and ISO/IEC have no liability for use of this software 
-module or modifications thereof in an implementation. Copyright is not released for 
-non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
-retains full right to use the code for his/her  own purpose, assign or donate the 
-code to a third party and to inhibit third party from using the code for non 
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
-be included in all copies or derivative works." 
-Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
+/*
+ *	Definitions of Bitstream elements
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.2 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef _interface_h_
 #define _interface_h_
 
--- a/mc_enc.c
+++ b/mc_enc.c
@@ -1,3 +1,30 @@
+/*
+ *	Multichannel configuration
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.4 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include "mc_enc.h"
 
--- a/mc_enc.h
+++ b/mc_enc.h
@@ -1,4 +1,30 @@
+/*
+ *	Function prototypes for multichannel configuration
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.4 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef MC_ENC
 #define MC_ENC
--- a/ms.c
+++ b/ms.c
@@ -1,36 +1,30 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
-"This software module was originally developed in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
-14496-1,2 and 3. This software module is an implementation of a part of one or more 
-MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
-Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
-standards free license to this software module or modifications thereof for use in 
-hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
-Audio  standards. Those intending to use this software module in hardware or 
-software products are advised that this use may infringe existing patents. 
-The original developer of this software module and his/her company, the subsequent 
-editors and their companies, and ISO/IEC have no liability for use of this software 
-module or modifications thereof in an implementation. Copyright is not released for 
-non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
-retains full right to use the code for his/her  own purpose, assign or donate the 
-code to a third party and to inhibit third party from using the code for non 
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
-be included in all copies or derivative works." 
-Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
-
-/*******************************************************************************************
+/*
+ *	MS stereo coding
  *
- * MS stereo coding module
+ *	Copyright (c) 1999 M. Bakker
  *
- * Authors:
- * CL    Chuck Lueck, TI <lueck@ti.com>
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
  *
- * Changes:
- * 22-jan-98   CL   Initial revision.  Lacks psychoacoustics for MS stereo.
- ***************************************************************************************/
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.14 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include "psych.h"
 #include "ms.h"
--- a/ms.h
+++ b/ms.h
@@ -1,36 +1,30 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
-"This software module was originally developed in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
-14496-1,2 and 3. This software module is an implementation of a part of one or more 
-MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
-Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
-standards free license to this software module or modifications thereof for use in 
-hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
-Audio  standards. Those intending to use this software module in hardware or 
-software products are advised that this use may infringe existing patents. 
-The original developer of this software module and his/her company, the subsequent 
-editors and their companies, and ISO/IEC have no liability for use of this software 
-module or modifications thereof in an implementation. Copyright is not released for 
-non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
-retains full right to use the code for his/her  own purpose, assign or donate the 
-code to a third party and to inhibit third party from using the code for non 
-MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
-be included in all copies or derivative works." 
-Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
-
-/*******************************************************************************************
+/*
+ *	Function prototypes for MS stereo coding
  *
- * MS stereo coding module
+ *	Copyright (c) 1999 M. Bakker
  *
- * Authors:
- * CL    Chuck Lueck, TI <lueck@ti.com>
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
  *
- * Changes:
- * 22-jan-98   CL   Initial revision.  Lacks psychoacoustics for MS stereo.
- ***************************************************************************************/
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.9 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef MS_ENC
 #define MS_ENC
--- a/nok_ltp_common.h
+++ b/nok_ltp_common.h
@@ -1,31 +1,30 @@
-/**************************************************************************
+/*
+ *	Common definitions for LTP
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-This software module was originally developed by
-
-Mikko Suonio (Nokia)
-
-in the course of development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3. This software module is an
-implementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio tools
-as specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC gives
-users of the MPEG-2 NBC/MPEG-4 Audio standards free license to this
-software module or modifications thereof for use in hardware or
-software products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audio
-standards. Those intending to use this software module in hardware or
-software products are advised that this use may infringe existing
-patents. The original developer of this software module and his/her
-company, the subsequent editors and their companies, and ISO/IEC have
-no liability for use of this software module or modifications thereof
-in an implementation. Copyright is not released for non MPEG-2
-NBC/MPEG-4 Audio conforming products. The original developer retains
-full right to use the code for his/her own purpose, assign or donate
-the code to a third party and to inhibit third party from using the
-code for non MPEG-2 NBC/MPEG-4 Audio conforming products. This
-copyright notice must be included in all copies or derivative works.
-
-Copyright (c) 1997.
-
-***************************************************************************/
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _NOK_LTP_COMMON_H
 #define _NOK_LTP_COMMON_H
--- a/nok_ltp_common_internal.h
+++ b/nok_ltp_common_internal.h
@@ -1,31 +1,30 @@
-/**************************************************************************
+/*
+ *	Internal definitions for LTP
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-This software module was originally developed by
-
-Mikko Suonio (Nokia)
-
-in the course of development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3. This software module is an
-implementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio tools
-as specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC gives
-users of the MPEG-2 NBC/MPEG-4 Audio standards free license to this
-software module or modifications thereof for use in hardware or
-software products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audio
-standards. Those intending to use this software module in hardware or
-software products are advised that this use may infringe existing
-patents. The original developer of this software module and his/her
-company, the subsequent editors and their companies, and ISO/IEC have
-no liability for use of this software module or modifications thereof
-in an implementation. Copyright is not released for non MPEG-2
-NBC/MPEG-4 Audio conforming products. The original developer retains
-full right to use the code for his/her own purpose, assign or donate
-the code to a third party and to inhibit third party from using the
-code for non MPEG-2 NBC/MPEG-4 Audio conforming products. This
-copyright notice must be included in all copies or derivative works.
-
-Copyright (c) 1997.
-
-***************************************************************************/
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _NOK_LTP_COMMON_INTERNAL_H
 #define _NOK_LTP_COMMON_INTERNAL_H
--- a/nok_ltp_enc.c
+++ b/nok_ltp_enc.c
@@ -1,44 +1,30 @@
-/**************************************************************************
+/*
+ *	Long Term Prediction
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-This software module was originally developed by
-Nokia in the course of development of the MPEG-2 AAC/MPEG-4 
-Audio standard ISO/IEC13818-7, 14496-1, 2 and 3.
-This software module is an implementation of a part
-of one or more MPEG-2 AAC/MPEG-4 Audio tools as specified by the
-MPEG-2 aac/MPEG-4 Audio standard. ISO/IEC  gives users of the
-MPEG-2aac/MPEG-4 Audio standards free license to this software module
-or modifications thereof for use in hardware or software products
-claiming conformance to the MPEG-2 aac/MPEG-4 Audio  standards. Those
-intending to use this software module in hardware or software products
-are advised that this use may infringe existing patents. The original
-developer of this software module, the subsequent
-editors and their companies, and ISO/IEC have no liability for use of
-this software module or modifications thereof in an
-implementation. Copyright is not released for non MPEG-2 aac/MPEG-4
-Audio conforming products. The original developer retains full right to
-use the code for the developer's own purpose, assign or donate the code to a
-third party and to inhibit third party from using the code for non
-MPEG-2 aac/MPEG-4 Audio conforming products. This copyright notice
-must be included in all copies or derivative works.
-Copyright (c)1997.  
-
-***************************************************************************/
 /**************************************************************************
-  nok_ltp_enc.c  -  Performs Long Term Prediction for the MPEG-4 
-                    T/F Encoder.
-  Author(s): Mikko Suonio, Juha Ojanpera
-  	     Nokia Research Center, Speech and Audio Systems, 1997.
-  *************************************************************************/
-
-
-/**************************************************************************
   Version Control Information			Method: CVS
   Identifiers:
-  $Revision: 1.12 $
-  $Date: 2000/10/04 19:45:33 $ (check in)
+  $Revision: 1.13 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
   $Author: menno $
   *************************************************************************/
-
 
 /**************************************************************************
   External Objects Needed
--- a/nok_ltp_enc.h
+++ b/nok_ltp_enc.h
@@ -1,28 +1,30 @@
-/**************************************************************************
+/*
+ *	Function prototypes for LTP
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-This software module was originally developed by
-Nokia in the course of development of the MPEG-2 AAC/MPEG-4 
-Audio standard ISO/IEC13818-7, 14496-1, 2 and 3.
-This software module is an implementation of a part
-of one or more MPEG-2 AAC/MPEG-4 Audio tools as specified by the
-MPEG-2 aac/MPEG-4 Audio standard. ISO/IEC  gives users of the
-MPEG-2aac/MPEG-4 Audio standards free license to this software module
-or modifications thereof for use in hardware or software products
-claiming conformance to the MPEG-2 aac/MPEG-4 Audio  standards. Those
-intending to use this software module in hardware or software products
-are advised that this use may infringe existing patents. The original
-developer of this software module, the subsequent
-editors and their companies, and ISO/IEC have no liability for use of
-this software module or modifications thereof in an
-implementation. Copyright is not released for non MPEG-2 aac/MPEG-4
-Audio conforming products. The original developer retains full right to
-use the code for the developer's own purpose, assign or donate the code to a
-third party and to inhibit third party from using the code for non
-MPEG-2 aac/MPEG-4 Audio conforming products. This copyright notice
-must be included in all copies or derivative works.
-Copyright (c)1997.  
-
-***************************************************************************/
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _NOK_LTP_ENC_H
 #define _NOK_LTP_ENC_H
--- a/nok_pitch.c
+++ b/nok_pitch.c
@@ -1,44 +1,30 @@
-/**************************************************************************
+/*
+ *	Long Term Prediction functions
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-This software module was originally developed by
-Nokia in the course of development of the MPEG-2 AAC/MPEG-4 
-Audio standard ISO/IEC13818-7, 14496-1, 2 and 3.
-This software module is an implementation of a part
-of one or more MPEG-2 AAC/MPEG-4 Audio tools as specified by the
-MPEG-2 aac/MPEG-4 Audio standard. ISO/IEC  gives users of the
-MPEG-2aac/MPEG-4 Audio standards free license to this software module
-or modifications thereof for use in hardware or software products
-claiming conformance to the MPEG-2 aac/MPEG-4 Audio  standards. Those
-intending to use this software module in hardware or software products
-are advised that this use may infringe existing patents. The original
-developer of this software module, the subsequent
-editors and their companies, and ISO/IEC have no liability for use of
-this software module or modifications thereof in an
-implementation. Copyright is not released for non MPEG-2 aac/MPEG-4
-Audio conforming products. The original developer retains full right to
-use the code for the developer's own purpose, assign or donate the code to a
-third party and to inhibit third party from using the code for non
-MPEG-2 aac/MPEG-4 Audio conforming products. This copyright notice
-must be included in all copies or derivative works.
-Copyright (c)1997.  
-
-***************************************************************************/
 /**************************************************************************
-  nok_pitch.c  - Long Term Prediction (LTP) subroutines.
- 
-  Author(s): Juha Ojanpera, Lin Yin
-  	     Nokia Research Center, Speech and Audio Systems.
-  *************************************************************************/
-
-
-/**************************************************************************
   Version Control Information			Method: CVS
   Identifiers:
-  $Revision: 1.7 $
-  $Date: 2000/02/28 12:18:36 $ (check in)
-  $Author: lenox $
+  $Revision: 1.8 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
   *************************************************************************/
-
 
 /**************************************************************************
   External Objects Needed
--- a/nok_pitch.h
+++ b/nok_pitch.h
@@ -1,28 +1,31 @@
+/*
+ *	Function prototypes for LTP functions
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
 /**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
-This software module was originally developed by
-Nokia in the course of development of the MPEG-2 AAC/MPEG-4 
-Audio standard ISO/IEC13818-7, 14496-1, 2 and 3.
-This software module is an implementation of a part
-of one or more MPEG-2 AAC/MPEG-4 Audio tools as specified by the
-MPEG-2 aac/MPEG-4 Audio standard. ISO/IEC  gives users of the
-MPEG-2aac/MPEG-4 Audio standards free license to this software module
-or modifications thereof for use in hardware or software products
-claiming conformance to the MPEG-2 aac/MPEG-4 Audio  standards. Those
-intending to use this software module in hardware or software products
-are advised that this use may infringe existing patents. The original
-developer of this software module, the subsequent
-editors and their companies, and ISO/IEC have no liability for use of
-this software module or modifications thereof in an
-implementation. Copyright is not released for non MPEG-2 aac/MPEG-4
-Audio conforming products. The original developer retains full right to
-use the code for the developer's own purpose, assign or donate the code to a
-third party and to inhibit third party from using the code for non
-MPEG-2 aac/MPEG-4 Audio conforming products. This copyright notice
-must be included in all copies or derivative works.
-Copyright (c)1997.  
-
-***************************************************************************/
 #ifndef NOK_PITCH_H_
 #define NOK_PITCH_H_
 
--- a/psych.c
+++ b/psych.c
@@ -1,57 +1,31 @@
-/**********************************************************************
-MPEG-4 Audio VM
+/*
+ *	Psychoacoustics
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.67 $
+  $Date: 2000/10/05 08:39:02 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
-
-This software module was originally developed by
-
-Fraunhofer Gesellschaft IIS / University of Erlangen (UER
-
-and edited by
-
-in the course of development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3. This software module is an
-implementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio tools
-as specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC gives
-users of the MPEG-2 NBC/MPEG-4 Audio standards free license to this
-software module or modifications thereof for use in hardware or
-software products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audio
-standards. Those intending to use this software module in hardware or
-software products are advised that this use may infringe existing
-patents. The original developer of this software module and his/her
-company, the subsequent editors and their companies, and ISO/IEC have
-no liability for use of this software module or modifications thereof
-in an implementation. Copyright is not released for non MPEG-2
-NBC/MPEG-4 Audio conforming products. The original developer retains
-full right to use the code for his/her own purpose, assign or donate
-the code to a third party and to inhibit third party from using the
-code for non MPEG-2 NBC/MPEG-4 Audio conforming products. This
-copyright notice must be included in all copies or derivative works.
-
-Copyright (c) 1996.
-
------
-This software module was modified by
-
-Tadashi Araki (Ricoh Company, ltd.)
-Tatsuya Okada (Waseda Univ.)
-Itaru Kaneko (Graphics Communication Laboratories)
-
-and edited by
-
-in the course of development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3.
-
-Almost all part of the function EncTf_psycho_acoustic() is made by
-T. Araki and T. Okada and its copyright belongs to Ricoh.
-The function psy_get_absthr() is made by I. Kaneko
-and its copyright belongs to Graphics Communication Laboratories.
-
-Copyright (c) 1997.
-
-**********************************************************************/
-
-/* CREATED BY :  Bernhard Grill -- August-96  */
 #include <stdlib.h>
 #include <math.h>
 #include <memory.h>
--- a/psych.h
+++ b/psych.h
@@ -1,42 +1,30 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
- "This software module was originally developed by 
- Fraunhofer Gesellschaft IIS / University of Erlangen (UER) in the course of 
- development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
- 14496-1,2 and 3. This software module is an implementation of a part of one or more 
- MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
- Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
- standards free license to this software module or modifications thereof for use in 
- hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
- Audio  standards. Those intending to use this software module in hardware or 
- software products are advised that this use may infringe existing patents. 
- The original developer of this software module and his/her company, the subsequent 
- editors and their companies, and ISO/IEC have no liability for use of this software 
- module or modifications thereof in an implementation. Copyright is not released for 
- non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
- retains full right to use the code for his/her  own purpose, assign or donate the 
- code to a third party and to inhibit third party from using the code for non 
- MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
- be included in all copies or derivative works." 
- Copyright(c)1996.
+/*
+ *	Function prototypes for psychoacoustics
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
------
-This software module was modified by
-
-Tadashi Araki (Ricoh Company, ltd.)
-Tatsuya Okada (Waseda Univ.)
-
-and edited by
-
-in the course of development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3.
-
-Copyright (c) 1997.
-
- *                                                                           *
- ****************************************************************************/
-
-/* CREATED BY :  Bernhard Grill -- August-96  */
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.21 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include "all.h"
 
--- a/pulse.c
+++ b/pulse.c
@@ -1,3 +1,30 @@
+/*
+ *	Pulse Coding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include "quant.h"
 #include "huffman.h"
--- a/pulse.h
+++ b/pulse.h
@@ -1,3 +1,30 @@
+/*
+ *	Function prototypes for pulse coding
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef PULSE_H_
 #define PULSE_H_
--- a/quant.c
+++ b/quant.c
@@ -1,3 +1,31 @@
+/*
+ *	AAC quantization
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.9 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include <math.h>
 #include <string.h>
 #include "aacenc.h"
--- a/quant.h
+++ b/quant.h
@@ -1,3 +1,31 @@
+/*
+ *	Function prototypes for AAC quantization
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.3 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef QUANT_H
 #define QUANT_H
 
--- a/shape_win.h
+++ b/shape_win.h
@@ -1,3 +1,31 @@
+/*
+ *	Window functions
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.2 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef _SHAPE_WIN_H_
 #define _SHAPE_WIN_H_
 
--- a/tf_main.h
+++ b/tf_main.h
@@ -1,31 +1,30 @@
-/************************* MPEG-2 NBC Audio Decoder **************************
- *                                                                           *
- "This software module was originally developed by 
- Fraunhofer Gesellschaft IIS / University of Erlangen (UER) in the course of 
- development of the MPEG-2 NBC/MPEG-4 Audio standard ISO/IEC 13818-7, 
- 14496-1,2 and 3. This software module is an implementation of a part of one or more 
- MPEG-2 NBC/MPEG-4 Audio tools as specified by the MPEG-2 NBC/MPEG-4 
- Audio standard. ISO/IEC  gives users of the MPEG-2 NBC/MPEG-4 Audio 
- standards free license to this software module or modifications thereof for use in 
- hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4
- Audio  standards. Those intending to use this software module in hardware or 
- software products are advised that this use may infringe existing patents. 
- The original developer of this software module and his/her company, the subsequent 
- editors and their companies, and ISO/IEC have no liability for use of this software 
- module or modifications thereof in an implementation. Copyright is not released for 
- non MPEG-2 NBC/MPEG-4 Audio conforming products.The original developer
- retains full right to use the code for his/her  own purpose, assign or donate the 
- code to a third party and to inhibit third party from using the code for non 
- MPEG-2 NBC/MPEG-4 Audio conforming products. This copyright notice must
- be included in all copies or derivative works." 
- Copyright(c)1996.
- *                                                                           *
- ****************************************************************************/
+/*
+ *	Main definitions
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-/* CREATED BY :  Bernhard Grill -- June-96  */
-
-/* 28-Aug-1996  NI: added "NO_SYNCWORD" to enum TRANSPORT_STREAM */
-/* 17-Spe-1997  CL: added AAC_PROFILE enum */
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.10 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #ifndef _TF_MAIN_H_INCLUDED
 #define _TF_MAIN_H_INCLUDED
--- a/tns.c
+++ b/tns.c
@@ -1,3 +1,30 @@
+/*
+ *	Temporal Noise Shaping
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.11 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
 
 #include <math.h>
 #include <stdlib.h>
--- a/tns.h
+++ b/tns.h
@@ -1,39 +1,30 @@
-/**********************************************************************
- 
-This software module was originally developed by
-and edited by Texas Instruments in the course of 
-development of the MPEG-2 NBC/MPEG-4 Audio standard
-ISO/IEC 13818-7, 14496-1,2 and 3. This software module is an
-implementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio tools
-as specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC gives
-users of the MPEG-2 NBC/MPEG-4 Audio standards free license to this
-software module or modifications thereof for use in hardware or
-software products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audio
-standards. Those intending to use this software module in hardware or
-software products are advised that this use may infringe existing
-patents. The original developer of this software module and his/her
-company, the subsequent editors and their companies, and ISO/IEC have
-no liability for use of this software module or modifications thereof
-in an implementation. Copyright is not released for non MPEG-2
-NBC/MPEG-4 Audio conforming products. The original developer retains
-full right to use the code for his/her own purpose, assign or donate
-the code to a third party and to inhibit third party from using the
-code for non MPEG-2 NBC/MPEG-4 Audio conforming products. This
-copyright notice must be included in all copies or derivative works.
- 
-Copyright (c) 1997.
-**********************************************************************/
-/*********************************************************************
+/*
+ *	Function prototypes for TNS
  *
- * tns.h  -  AAC temporal noise shaping
+ *	Copyright (c) 1999 M. Bakker
  *
- * Authors:
- * CL    Chuck Lueck, TI <lueck@ti.com>
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
  *
- * Changes:
- * 20-oct-97   CL   Initial revision.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
-**********************************************************************/
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.5 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
  
 #ifndef _TNS_H_INCLUDED
 #define _TNS_H_INCLUDED
--- a/transfo.c
+++ b/transfo.c
@@ -1,3 +1,31 @@
+/*
+ *	MDCT transform
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.17 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #include <math.h>
 #include <string.h>
 #include "all.h"
--- a/transfo.h
+++ b/transfo.h
@@ -1,3 +1,31 @@
+/*
+ *	Function prototypes for MDCT transform
+ *
+ *	Copyright (c) 1999 M. Bakker
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING.  If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/**************************************************************************
+  Version Control Information			Method: CVS
+  Identifiers:
+  $Revision: 1.10 $
+  $Date: 2000/10/05 08:39:03 $ (check in)
+  $Author: menno $
+  *************************************************************************/
+
 #ifndef TRANSFORM_H
 #define TRANSFORM_H