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/ppc
parentfe490ec16531ac2d10a6bd8d3be560d31b00af67 (diff)
sws: rename SwsContext.swscale to convert_unscaled
That function pointer is now used only for unscaled conversion.
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/yuv2yuv_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c
index 2b1c5dd3b8..728e4d210c 100644
--- a/libswscale/ppc/yuv2yuv_altivec.c
+++ b/libswscale/ppc/yuv2yuv_altivec.c
@@ -196,9 +196,9 @@ av_cold void ff_get_unscaled_swscale_ppc(SwsContext *c)
// unscaled YV12 -> packed YUV, we want speed
if (dstFormat == AV_PIX_FMT_YUYV422)
- c->swscale = yv12toyuy2_unscaled_altivec;
+ c->convert_unscaled = yv12toyuy2_unscaled_altivec;
else if (dstFormat == AV_PIX_FMT_UYVY422)
- c->swscale = yv12touyvy_unscaled_altivec;
+ c->convert_unscaled = yv12touyvy_unscaled_altivec;
}
#endif /* HAVE_ALTIVEC */
}