diff options
author | James Almer <jamrial@gmail.com> | 2014-11-13 13:47:55 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-11-13 13:47:55 -0300 |
commit | 3cec54b7d72bc594b28faa7b8fb6683ef397fe66 (patch) | |
tree | 19bc6828a49c0b4d45512c81e9204eb5242b6593 /libavcodec/flacenc.c | |
parent | 2093c1dc51ee1c08cb558759a1c59e6d1e3358a0 (diff) | |
download | ffmpeg-3cec54b7d72bc594b28faa7b8fb6683ef397fe66.tar.gz |
x86/flacdsp: add SSE2 and AVX decorrelate functions
Two to four times faster depending on instruction set, block size and channel count.
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 3b72888966..e66ef3db5e 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -428,7 +428,7 @@ static av_cold int flac_encode_init(AVCodecContext *avctx) s->options.max_prediction_order, FF_LPC_TYPE_LEVINSON); ff_bswapdsp_init(&s->bdsp); - ff_flacdsp_init(&s->flac_dsp, avctx->sample_fmt, + ff_flacdsp_init(&s->flac_dsp, avctx->sample_fmt, channels, avctx->bits_per_raw_sample); dprint_compression_options(s); |