summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.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/dnxhdenc.h
parent4590d073ccdc7c3ce0384d5b1fba56b3f6673535 (diff)
downloadffmpeg-streaming-cbbec68847ed3485900e83ec231871f71bb97d0d.zip
ffmpeg-streaming-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/dnxhdenc.h')
-rw-r--r--libavcodec/dnxhdenc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index 26c3eec..963821a 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -74,7 +74,7 @@ typedef struct DNXHDEncContext {
unsigned min_padding;
int intra_quant_bias;
- DECLARE_ALIGNED(16, int16_t, blocks)[12][64];
+ DECLARE_ALIGNED(32, int16_t, blocks)[12][64];
DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[512]; // has to hold 16x16 uint16 when depth=10
DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][512]; // has to hold 16x16 uint16_t when depth=10
OpenPOWER on IntegriCloud