From 1f80789bf72cc9419d8d0040b7e89f72f6b071f5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 10 Jun 2021 17:10:35 +0200 Subject: sws: rename SwsContext.swscale to convert_unscaled That function pointer is now used only for unscaled conversion. --- libswscale/arm/swscale_unscaled.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libswscale/arm') diff --git a/libswscale/arm/swscale_unscaled.c b/libswscale/arm/swscale_unscaled.c index e41f294eac..910610b86e 100644 --- a/libswscale/arm/swscale_unscaled.c +++ b/libswscale/arm/swscale_unscaled.c @@ -147,7 +147,7 @@ DECLARE_FF_NVX_TO_ALL_RGBX_FUNCS(nv21) && !(c->srcH & 1) \ && !(c->srcW & 15) \ && !accurate_rnd) { \ - c->swscale = ifmt##_to_##ofmt##_neon_wrapper; \ + c->convert_unscaled = ifmt##_to_##ofmt##_neon_wrapper; \ } \ } while (0) @@ -163,8 +163,8 @@ static void get_unscaled_swscale_neon(SwsContext *c) { if (c->srcFormat == AV_PIX_FMT_RGBA && c->dstFormat == AV_PIX_FMT_NV12 && (c->srcW >= 16)) { - c->swscale = accurate_rnd ? rgbx_to_nv12_neon_32_wrapper - : rgbx_to_nv12_neon_16_wrapper; + c->convert_unscaled = accurate_rnd ? rgbx_to_nv12_neon_32_wrapper + : rgbx_to_nv12_neon_16_wrapper; } SET_FF_NVX_TO_ALL_RGBX_FUNC(nv12, NV12, accurate_rnd); -- cgit v1.2.3