comparison libfaad2/lt_predict.h @ 12527:4a370c80fe5c

update to the 2.0 release of faad, patch by adland
author diego
date Wed, 02 Jun 2004 22:59:04 +0000
parents 3185f64f6350
children d81145997036
comparison
equal deleted inserted replaced
12526:e183ad37d24c 12527:4a370c80fe5c
1 /* 1 /*
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3 ** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com 3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
4 ** 4 **
5 ** This program is free software; you can redistribute it and/or modify 5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by 6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or 7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version. 8 ** (at your option) any later version.
20 ** forbidden. 20 ** forbidden.
21 ** 21 **
22 ** Commercial non-GPL licensing of this software is possible. 22 ** Commercial non-GPL licensing of this software is possible.
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
24 ** 24 **
25 ** $Id: lt_predict.h,v 1.6 2003/09/09 18:09:52 menno Exp $ 25 ** $Id: lt_predict.h,v 1.2 2003/10/03 22:22:27 alex Exp $
26 **/ 26 **/
27 27
28 #ifdef LTP_DEC 28 #ifdef LTP_DEC
29 29
30 #ifndef __LT_PREDICT_H__ 30 #ifndef __LT_PREDICT_H__
34 extern "C" { 34 extern "C" {
35 #endif 35 #endif
36 36
37 #include "filtbank.h" 37 #include "filtbank.h"
38 38
39 uint8_t is_ltp_ot(uint8_t object_type);
40
39 void lt_prediction(ic_stream *ics, 41 void lt_prediction(ic_stream *ics,
40 ltp_info *ltp, 42 ltp_info *ltp,
41 real_t *spec, 43 real_t *spec,
42 real_t *lt_pred_stat, 44 int16_t *lt_pred_stat,
43 fb_info *fb, 45 fb_info *fb,
44 uint8_t win_shape, 46 uint8_t win_shape,
45 uint8_t win_shape_prev, 47 uint8_t win_shape_prev,
46 uint8_t sr_index, 48 uint8_t sr_index,
47 uint8_t object_type, 49 uint8_t object_type,
48 uint16_t frame_len); 50 uint16_t frame_len);
49 51
50 void lt_update_state(real_t *lt_pred_stat, 52 void lt_update_state(int16_t *lt_pred_stat,
51 real_t *time, 53 real_t *time,
52 real_t *overlap, 54 real_t *overlap,
53 uint16_t frame_len, 55 uint16_t frame_len,
54 uint8_t object_type); 56 uint8_t object_type);
55 57