diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-27 17:01:49 -0500 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-28 09:41:15 -0500 |
commit | 79abf2d0ded860acf505de22c4f7a750e5e98446 (patch) | |
tree | b06a373e2e9fe43ba605f3a918d89421be672721 /libavcodec/aac.h | |
parent | 861f2b2a536b4bdc97cd4f4f14fcb08b957fe690 (diff) | |
download | ffmpeg-79abf2d0ded860acf505de22c4f7a750e5e98446.tar.gz |
avcodec/aac_tablegen: get rid of hardcoded tables entirely
Commit 96786a12f6df26990bbe7c0ca4592b3731724469 makes runtime
initialization cheap.
Tested with FATE, with/without --enable-hardcoded-tables.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r-- | libavcodec/aac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 3333bfe5b2..b1f4aa74f0 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -151,6 +151,8 @@ 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 POW_SF2_ZERO 200 ///< ff_aac_pow2sf_tab index corresponding to pow(2, 0); + #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 |