diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-06-10 17:10:35 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-07-03 15:57:53 +0200 |
commit | 1f80789bf72cc9419d8d0040b7e89f72f6b071f5 (patch) | |
tree | 982d009d52c2e27d4a7c6a83bc3d67bf6f22e82a /libswscale/arm/swscale_unscaled.c | |
parent | fe490ec16531ac2d10a6bd8d3be560d31b00af67 (diff) | |
download | ffmpeg-1f80789bf72cc9419d8d0040b7e89f72f6b071f5.tar.gz |
sws: rename SwsContext.swscale to convert_unscaled
That function pointer is now used only for unscaled conversion.
Diffstat (limited to 'libswscale/arm/swscale_unscaled.c')
-rw-r--r-- | libswscale/arm/swscale_unscaled.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |