aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sbr.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-06-19 14:14:51 +0000
committerAlex Converse <alex.converse@gmail.com>2010-06-19 14:14:51 +0000
commita20639017bfca0490bb1799575714f22bf470b4f (patch)
tree7ece4b88c997a02342f75f91d1b928dd67257681 /libavcodec/sbr.h
parent4d49a5a785220c3430739de8b1e340a4ea3f1864 (diff)
downloadffmpeg-a20639017bfca0490bb1799575714f22bf470b4f.tar.gz
Add HE-AAC v2 support to the AAC decoder.
Originally committed as revision 23647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sbr.h')
-rw-r--r--libavcodec/sbr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
index f1da5c5fec..adf799a7e6 100644
--- a/libavcodec/sbr.h
+++ b/libavcodec/sbr.h
@@ -31,6 +31,7 @@
#include <stdint.h>
#include "fft.h"
+#include "ps.h"
/**
* Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header.
@@ -133,6 +134,7 @@ typedef struct {
///The number of frequency bands in f_master
unsigned n_master;
SBRData data[2];
+ PSContext ps;
///N_Low and N_High respectively, the number of frequency bands for low and high resolution
unsigned n[2];
///Number of noise floor bands
@@ -157,7 +159,7 @@ typedef struct {
///QMF output of the HF generator
float X_high[64][40][2];
///QMF values of the reconstructed signal
- DECLARE_ALIGNED(16, float, X)[2][2][32][64];
+ DECLARE_ALIGNED(16, float, X)[2][2][38][64];
///Zeroth coefficient used to filter the subband signals
float alpha0[64][2];
///First coefficient used to filter the subband signals