diff aac.h @ 8199:8a8d40fe77d9 libavcodec

AAC: Frequency domain prediction and hence Main profile support Patch by Alex Converse ( alex converse gmail com )
author superdump
date Mon, 24 Nov 2008 00:13:50 +0000
parents 7baa25290231
children e06b2b848b74
line wrap: on
line diff
--- a/aac.h	Sun Nov 23 19:36:44 2008 +0000
+++ b/aac.h	Mon Nov 24 00:13:50 2008 +0000
@@ -133,6 +133,20 @@
 };
 
 /**
+ * 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 @@
     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;
 
 /**