summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-10-02 01:29:32 +0200
committerJames Almer <jamrial@gmail.com>2017-10-03 19:47:37 -0300
commitcbbec68847ed3485900e83ec231871f71bb97d0d (patch)
treee720235468b4ae41c4e7dd1c2011d28a40a99b99 /libavcodec/mjpegdec.h
parent4590d073ccdc7c3ce0384d5b1fba56b3f6673535 (diff)
downloadffmpeg-cbbec68847ed3485900e83ec231871f71bb97d0d.tar.gz
libavcodec/blockdsp : add AVX version
Also modify the required alignment, to 32 instead of 16 for several codecs Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index 2bc69fa930..c84a40aa6e 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -98,7 +98,7 @@ typedef struct MJpegDecodeContext {
int got_picture; ///< we found a SOF and picture is valid, too.
int linesize[MAX_COMPONENTS]; ///< linesize << interlaced
int8_t *qscale_table;
- DECLARE_ALIGNED(16, int16_t, block)[64];
+ DECLARE_ALIGNED(32, int16_t, block)[64];
int16_t (*blocks[MAX_COMPONENTS])[64]; ///< intermediate sums (progressive mode)
uint8_t *last_nnz[MAX_COMPONENTS];
uint64_t coefs_finished[MAX_COMPONENTS]; ///< bitmask of which coefs have been completely decoded (progressive mode)