diff options
author | James Darnley <jdarnley@obe.tv> | 2017-02-09 22:06:17 +0100 |
---|---|---|
committer | James Darnley <jdarnley@obe.tv> | 2017-02-18 20:26:49 +0100 |
commit | 9d815b7424b56ffcf6f4dea4fd09c53661e4133a (patch) | |
tree | dde7bb1047255e0d5627e6d9c7cf1c06f4149fbe /libavutil/x86 | |
parent | 56803218db9a52929366a0e67d827a50089f4982 (diff) | |
download | ffmpeg-9d815b7424b56ffcf6f4dea4fd09c53661e4133a.tar.gz |
avcodec/x86: deduplicate PASS8ROWS macro
Diffstat (limited to 'libavutil/x86')
-rw-r--r-- | libavutil/x86/x86util.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 44ed750ae5..c063436e0a 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -29,6 +29,11 @@ %include "libavutil/x86/x86inc.asm" +; expands to [base],...,[base+7*stride] +%define PASS8ROWS(base, base3, stride, stride3) \ + [base], [base + stride], [base + 2*stride], [base3], \ + [base3 + stride], [base3 + 2*stride], [base3 + stride3], [base3 + stride*4] + %macro SBUTTERFLY 4 %ifidn %1, dqqq vperm2i128 m%4, m%2, m%3, q0301 |