diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2017-06-08 22:24:33 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-08-18 17:18:32 +0100 |
commit | 7205513f8f4b32c403c733d7d2ce2f440837397d (patch) | |
tree | f14ebadd2a0fb9a98337b871b99e380755b4e8ef /libavcodec/opus_pvq.c | |
parent | 30ae07d7ef3555ec45fa53098849223fff204475 (diff) | |
download | ffmpeg-7205513f8f4b32c403c733d7d2ce2f440837397d.tar.gz |
SIMD opus pvq_search implementation
Explanation on the workings and methods used by the
Pyramid Vector Quantization Search function
could be found in the following Work-In-Progress mail threads:
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-June/212146.html
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-June/212816.html
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-July/213030.html
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-July/213436.html
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Diffstat (limited to 'libavcodec/opus_pvq.c')
-rw-r--r-- | libavcodec/opus_pvq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/opus_pvq.c b/libavcodec/opus_pvq.c index 2ac66a0ede..2fb276099b 100644 --- a/libavcodec/opus_pvq.c +++ b/libavcodec/opus_pvq.c @@ -947,6 +947,9 @@ int av_cold ff_celt_pvq_init(CeltPVQ **pvq) s->encode_band = pvq_encode_band; s->band_cost = pvq_band_cost; + if (ARCH_X86) + ff_opus_dsp_init_x86(s); + *pvq = s; return 0; |