Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-06-10 18:10:35 +0300
committerAnton Khirnov <anton@khirnov.net>2021-07-03 16:57:53 +0300
commit1f80789bf72cc9419d8d0040b7e89f72f6b071f5 (patch)
tree982d009d52c2e27d4a7c6a83bc3d67bf6f22e82a /libswscale/arm
parentfe490ec16531ac2d10a6bd8d3be560d31b00af67 (diff)
sws: rename SwsContext.swscale to convert_unscaled
That function pointer is now used only for unscaled conversion.
Diffstat (limited to 'libswscale/arm')
-rw-r--r--libswscale/arm/swscale_unscaled.c6
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);