]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aac.h
Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8'
[ffmpeg] / libavcodec / aac.h
index b25b40c9c6b3135472d054d32bed2ca55ba849a0..23ec085d8e029ef3ef8dc00b600d246f6980cbe6 100644 (file)
@@ -141,6 +141,10 @@ typedef struct PredictorState {
 #define SCALE_MAX_DIFF   60    ///< maximum scalefactor difference allowed by standard
 #define SCALE_DIFF_ZERO  60    ///< codebook index corresponding to zero scalefactor indices difference
 
+#define NOISE_PRE       256    ///< preamble for NOISE_BT, put in bitstream with the first noise band
+#define NOISE_PRE_BITS    9    ///< length of preamble
+#define NOISE_OFFSET     90    ///< subtracted from global gain, used as offset for the preamble
+
 /**
  * Long Term Prediction
  */