From cbbec68847ed3485900e83ec231871f71bb97d0d Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Mon, 2 Oct 2017 01:29:32 +0200 Subject: libavcodec/blockdsp : add AVX version Also modify the required alignment, to 32 instead of 16 for several codecs Signed-off-by: James Almer --- libavcodec/speedhq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/speedhq.c') diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c index 47b1e4dc7a..6d3487ca19 100644 --- a/libavcodec/speedhq.c +++ b/libavcodec/speedhq.c @@ -224,7 +224,7 @@ static inline int decode_dct_block(const SHQContext *s, GetBitContext *gb, int l { const int *quant_matrix = s->quant_matrix; const uint8_t *scantable = s->intra_scantable.permutated; - LOCAL_ALIGNED_16(int16_t, block, [64]); + LOCAL_ALIGNED_32(int16_t, block, [64]); int dc_offset; s->bdsp.clear_block(block); -- cgit v1.2.3