summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.c
diff options
context:
space:
mode:
authorBojan Zivkovic <bojan@mips.com>2013-03-06 14:55:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-20 12:34:37 +0100
commit26f3924d782b6081ba76fd42c4d35af6ce8cde36 (patch)
tree368b7ed932a85da5c3a9d172da28436f7879c5d7 /libavcodec/aacenc.c
parente7dd0365f293231d8fffa828bd170695e695fe18 (diff)
downloadffmpeg-26f3924d782b6081ba76fd42c4d35af6ce8cde36.tar.gz
mips: Optimization of AAC coefficients encoder functions
Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r--libavcodec/aacenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 997442efe5..80dd3d80e6 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -766,6 +766,9 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
s->psypp = ff_psy_preprocess_init(avctx);
s->coder = &ff_aac_coders[s->options.aac_coder];
+ if (HAVE_MIPSDSPR1)
+ ff_aac_coder_init_mips(s);
+
s->lambda = avctx->global_quality ? avctx->global_quality : 120;
ff_aac_tableinit();