summaryrefslogtreecommitdiff
path: root/src/libfaad/specrec.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-16 18:59:50 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-16 18:59:50 +0000
commit94ef6649dd5f4e95337af00dcede2337ea7cfb49 (patch)
tree07d679ce92b4e4517815abc42394480eebf44904 /src/libfaad/specrec.h
parent48f4c5809db11a6df4a5e7285d5e60a2ed924e2a (diff)
downloadxine-lib-94ef6649dd5f4e95337af00dcede2337ea7cfb49.tar.gz
xine-lib-94ef6649dd5f4e95337af00dcede2337ea7cfb49.tar.bz2
updated libfaad
CVS patchset: 3560 CVS date: 2002/12/16 18:59:50
Diffstat (limited to 'src/libfaad/specrec.h')
-rw-r--r--src/libfaad/specrec.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/libfaad/specrec.h b/src/libfaad/specrec.h
index ffe229c40..882c13c4d 100644
--- a/src/libfaad/specrec.h
+++ b/src/libfaad/specrec.h
@@ -16,7 +16,7 @@
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
-** $Id: specrec.h,v 1.1 2002/07/14 23:43:01 miguelfreitas Exp $
+** $Id: specrec.h,v 1.2 2002/12/16 19:01:16 miguelfreitas Exp $
**/
#ifndef __SPECREC_H__
@@ -28,21 +28,16 @@ extern "C" {
#include "syntax.h"
-/* !!!DON'T CHANGE IQ_TABLE_SIZE!!! */
-#define IQ_TABLE_SIZE 1026
-
-#define POW_TABLE_SIZE 200
-
-
-uint8_t window_grouping_info(ic_stream *ics, uint8_t fs_index,
- uint8_t object_type, uint16_t frame_len);
+uint8_t window_grouping_info(faacDecHandle hDecoder, ic_stream *ics);
void quant_to_spec(ic_stream *ics, real_t *spec_data, uint16_t frame_len);
-void build_tables(real_t *iq_table, real_t *pow2_table);
-void inverse_quantization(real_t *x_invquant, int16_t *x_quant, real_t *iq_table,
- uint16_t frame_len);
+void inverse_quantization(real_t *x_invquant, int16_t *x_quant, uint16_t frame_len);
+#ifdef FIXED_POINT
+void apply_scalefactors(ic_stream *ics, real_t *x_invquant, uint16_t frame_len);
+#else
+void build_tables(real_t *pow2_table);
void apply_scalefactors(ic_stream *ics, real_t *x_invquant, real_t *pow2_table,
uint16_t frame_len);
-
+#endif
#ifdef __cplusplus
}