diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-21 20:43:09 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-21 20:43:09 +0300 |
commit | b47a1e5c5f585da714b0361a3077b9ded46c8c54 (patch) | |
tree | f4720ab04e77fce485b0f08b0460047642039b28 /libavcodec/aacenc.h | |
parent | 23e786be61c1f83ffaf3acfc1a0a63c3fbcc7c11 (diff) |
aacenc: create and initialize an LTP context
This commit only creates and initializes an LTP
context which is needed for upcoming commits (TNS).
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r-- | libavcodec/aacenc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h index 80ada0774b..c7ca2159f7 100644 --- a/libavcodec/aacenc.h +++ b/libavcodec/aacenc.h @@ -30,6 +30,8 @@ #include "audio_frame_queue.h" #include "psymodel.h" +#include "lpc.h" + typedef enum AACCoder { AAC_CODER_FAAC = 0, AAC_CODER_ANMR, @@ -75,6 +77,7 @@ typedef struct AACEncContext { AVFloatDSPContext *fdsp; float *planar_samples[6]; ///< saved preprocessed input + LPCContext lpc; ///< used by TNS int samplerate_index; ///< MPEG-4 samplerate index int channels; ///< channel count const uint8_t *chan_map; ///< channel configuration map |