Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-08-21 20:43:09 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-21 20:43:09 +0300
commitb47a1e5c5f585da714b0361a3077b9ded46c8c54 (patch)
treef4720ab04e77fce485b0f08b0460047642039b28 /libavcodec/aacenc.h
parent23e786be61c1f83ffaf3acfc1a0a63c3fbcc7c11 (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.h3
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