aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2016-04-01 17:27:29 +0200
committerClément Bœsch <clement@stupeflix.com>2016-04-11 16:27:19 +0200
commitc921f4f687971a62f9eb16eadfad99de53c92064 (patch)
treede00ac849ef7f4bc473b836d8bab0eb337d1b869 /libswscale/utils.c
parent0dfbca73bbb3319af49554f7f844e1d7b8d2192c (diff)
downloadffmpeg-c921f4f687971a62f9eb16eadfad99de53c92064.tar.gz
sws/aarch64: add ff_yuv2planeX_8_neon
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index b81661f6ea..63a8226332 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1655,7 +1655,8 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
/* precalculate vertical scaler filter coefficients */
{
const int filterAlign = X86_MMX(cpu_flags) ? 2 :
- PPC_ALTIVEC(cpu_flags) ? 8 : 1;
+ PPC_ALTIVEC(cpu_flags) ? 8 :
+ have_neon(cpu_flags) ? 2 : 1;
if ((ret = initFilter(&c->vLumFilter, &c->vLumFilterPos, &c->vLumFilterSize,
c->lumYInc, srcH, dstH, filterAlign, (1 << 12),