diff options
author | Alex Converse <alex.converse@gmail.com> | 2008-11-24 00:13:50 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-11-24 00:13:50 +0000 |
commit | 7633a0415d80b6813a0ea23405f3857127c02dab (patch) | |
tree | e6a21a24c80dc1dc271c787ff70c5994720c1558 /libavcodec/aac.h | |
parent | e9d0fdef533fc9ec158d27fe73f5461387155c49 (diff) | |
download | ffmpeg-7633a0415d80b6813a0ea23405f3857127c02dab.tar.gz |
AAC: Frequency domain prediction and hence Main profile support
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 15919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r-- | libavcodec/aac.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h index eec0828533..6022ca66be 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -133,6 +133,20 @@ enum CouplingPoint { }; /** + * Predictor State + */ +typedef struct { + float cor0; + float cor1; + float var0; + float var1; + float r0; + float r1; +} PredictorState; + +#define MAX_PREDICTORS 672 + +/** * Individual Channel Stream */ typedef struct { @@ -145,6 +159,11 @@ typedef struct { int num_swb; ///< number of scalefactor window bands int num_windows; int tns_max_bands; + int predictor_present; + int predictor_initialized; + int predictor_reset_group; + uint8_t prediction_used[41]; + PredictorState predictor_state[MAX_PREDICTORS]; } IndividualChannelStream; /** |