diff options
Diffstat (limited to 'libswscale/arm/swscale.c')
-rw-r--r-- | libswscale/arm/swscale.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libswscale/arm/swscale.c b/libswscale/arm/swscale.c index 6301ac5a62..1ec360fe24 100644 --- a/libswscale/arm/swscale.c +++ b/libswscale/arm/swscale.c @@ -25,6 +25,10 @@ void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize); +void ff_yuv2planeX_8_neon(const int16_t *filter, int filterSize, + const int16_t **src, uint8_t *dest, int dstW, + const uint8_t *dither, int offset); + av_cold void ff_sws_init_swscale_arm(SwsContext *c) { int cpu_flags = av_get_cpu_flags(); @@ -33,5 +37,8 @@ av_cold void ff_sws_init_swscale_arm(SwsContext *c) if (c->srcBpc == 8 && c->dstBpc <= 14) { c->hyScale = c->hcScale = ff_hscale_8_to_15_neon; } + if (c->dstBpc == 8) { + c->yuv2planeX = ff_yuv2planeX_8_neon; + } } } |