diff options
Diffstat (limited to 'src/libfaad/specrec.h')
-rw-r--r-- | src/libfaad/specrec.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/libfaad/specrec.h b/src/libfaad/specrec.h index 882c13c4d..cf3fe222a 100644 --- a/src/libfaad/specrec.h +++ b/src/libfaad/specrec.h @@ -1,6 +1,6 @@ /* -** FAAD - Freeware Advanced Audio Decoder -** Copyright (C) 2002 M. Bakker +** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding +** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.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 @@ -16,7 +16,13 @@ ** 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.2 2002/12/16 19:01:16 miguelfreitas Exp $ +** Any non-GPL usage of this software or parts of this software is strictly +** forbidden. +** +** Commercial non-GPL licensing of this software is possible. +** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. +** +** $Id: specrec.h,v 1.3 2003/12/30 02:00:11 miguelfreitas Exp $ **/ #ifndef __SPECREC_H__ @@ -29,15 +35,18 @@ extern "C" { #include "syntax.h" 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 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, +static void quant_to_spec(ic_stream *ics, real_t *spec_data, uint16_t frame_len); +static uint8_t inverse_quantization(real_t *x_invquant, const int16_t *x_quant, const uint16_t frame_len); +void apply_scalefactors(faacDecHandle hDecoder, ic_stream *ics, real_t *x_invquant, uint16_t frame_len); +#ifdef USE_SSE +void apply_scalefactors_sse(faacDecHandle hDecoder, ic_stream *ics, real_t *x_invquant, + uint16_t frame_len); #endif +uint8_t reconstruct_channel_pair(faacDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, + element *cpe, int16_t *spec_data1, int16_t *spec_data2); +uint8_t reconstruct_single_channel(faacDecHandle hDecoder, ic_stream *ics, element *sce, + int16_t *spec_data); #ifdef __cplusplus } |