summaryrefslogtreecommitdiffstats
path: root/libavcodec/opus_pvq.h
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2017-06-08 22:24:33 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-08-18 17:18:32 +0100
commit7205513f8f4b32c403c733d7d2ce2f440837397d (patch)
treef14ebadd2a0fb9a98337b871b99e380755b4e8ef /libavcodec/opus_pvq.h
parent30ae07d7ef3555ec45fa53098849223fff204475 (diff)
downloadffmpeg-streaming-7205513f8f4b32c403c733d7d2ce2f440837397d.zip
ffmpeg-streaming-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.h')
-rw-r--r--libavcodec/opus_pvq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/opus_pvq.h b/libavcodec/opus_pvq.h
index 6691494..9246337 100644
--- a/libavcodec/opus_pvq.h
+++ b/libavcodec/opus_pvq.h
@@ -33,8 +33,8 @@
float *lowband_scratch, int fill)
struct CeltPVQ {
- DECLARE_ALIGNED(32, int, qcoeff )[176];
- DECLARE_ALIGNED(32, float, hadamard_tmp)[176];
+ DECLARE_ALIGNED(32, int, qcoeff )[256];
+ DECLARE_ALIGNED(32, float, hadamard_tmp)[256];
float (*pvq_search)(float *X, int *y, int K, int N);
@@ -45,6 +45,7 @@ struct CeltPVQ {
};
int ff_celt_pvq_init (struct CeltPVQ **pvq);
+void ff_opus_dsp_init_x86(struct CeltPVQ *s);
void ff_celt_pvq_uninit(struct CeltPVQ **pvq);
#endif /* AVCODEC_OPUS_PVQ_H */
OpenPOWER on IntegriCloud