diff options
author | Clément Bœsch <clement@stupeflix.com> | 2016-04-01 17:27:29 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2016-04-11 16:27:19 +0200 |
commit | c921f4f687971a62f9eb16eadfad99de53c92064 (patch) | |
tree | de00ac849ef7f4bc473b836d8bab0eb337d1b869 /libswscale/utils.c | |
parent | 0dfbca73bbb3319af49554f7f844e1d7b8d2192c (diff) | |
download | ffmpeg-c921f4f687971a62f9eb16eadfad99de53c92064.tar.gz |
sws/aarch64: add ff_yuv2planeX_8_neon
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 3 |
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), |