annotate Input/aac/libfaad2/lt_predict.h @ 22:696f87ed66e2 trunk

[svn] More GCC retardation
author nenolod
date Mon, 24 Oct 2005 20:25:00 -0700
parents 6efb9e514224
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
1 /*
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
3 ** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
4 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
5 ** This program is free software; you can redistribute it and/or modify
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
6 ** it under the terms of the GNU General Public License as published by
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
7 ** the Free Software Foundation; either version 2 of the License, or
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
8 ** (at your option) any later version.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
9 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
10 ** This program is distributed in the hope that it will be useful,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
13 ** GNU General Public License for more details.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
14 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
15 ** You should have received a copy of the GNU General Public License
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
16 ** along with this program; if not, write to the Free Software
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
18 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
19 ** Any non-GPL usage of this software or parts of this software is strictly
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
20 ** forbidden.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
21 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
22 ** Commercial non-GPL licensing of this software is possible.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
24 **
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
25 ** $Id: lt_predict.h,v 1.11 2003/11/12 20:47:58 menno Exp $
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
26 **/
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
27
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
28 #ifdef LTP_DEC
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
29
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
30 #ifndef __LT_PREDICT_H__
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
31 #define __LT_PREDICT_H__
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
32
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
33 #ifdef __cplusplus
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
34 extern "C" {
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
35 #endif
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
36
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
37 #include "filtbank.h"
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
38
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
39 uint8_t is_ltp_ot(uint8_t object_type);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
40
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
41 void lt_prediction(ic_stream *ics,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
42 ltp_info *ltp,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
43 real_t *spec,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
44 int16_t *lt_pred_stat,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
45 fb_info *fb,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
46 uint8_t win_shape,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
47 uint8_t win_shape_prev,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
48 uint8_t sr_index,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
49 uint8_t object_type,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
50 uint16_t frame_len);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
51
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
52 void lt_update_state(int16_t *lt_pred_stat,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
53 real_t *time,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
54 real_t *overlap,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
55 uint16_t frame_len,
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
56 uint8_t object_type);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
57
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
58
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
59 static int16_t real_to_int16(real_t sig_in);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
60
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
61 #ifdef __cplusplus
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
62 }
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
63 #endif
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
64 #endif
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
65
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
66 #endif