diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-07-12 04:49:21 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-07-13 19:53:52 +0100 |
commit | 035c755b4ef3b25daadc9e5a81a845dde6b3930c (patch) | |
tree | 96b2198f723e1fa7ce86a009bcca3b2d7ea06365 /libavcodec/opus_celt.h | |
parent | 264f6c6f9537b68327d68357046fb1d732f01526 (diff) | |
download | ffmpeg-035c755b4ef3b25daadc9e5a81a845dde6b3930c.tar.gz |
opusenc: use float_dsp for transient mdcts
vector_fmul_reverse requires padding the window at the front
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opus_celt.h')
-rw-r--r-- | libavcodec/opus_celt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/opus_celt.h b/libavcodec/opus_celt.h index b80ade84f2..31299912bd 100644 --- a/libavcodec/opus_celt.h +++ b/libavcodec/opus_celt.h @@ -75,8 +75,8 @@ typedef struct CeltBlock { DECLARE_ALIGNED(32, float, coeffs)[CELT_MAX_FRAME_SIZE]; /* Used by the encoder */ - DECLARE_ALIGNED(32, float, overlap)[120]; - DECLARE_ALIGNED(32, float, samples)[CELT_MAX_FRAME_SIZE]; + DECLARE_ALIGNED(32, float, overlap)[FFALIGN(CELT_OVERLAP, 16)]; + DECLARE_ALIGNED(32, float, samples)[FFALIGN(CELT_MAX_FRAME_SIZE, 16)]; /* postfilter parameters */ int pf_period_new; |