[x264-devel] ppc: Avoid instantiating unused plane_copy functions
Alexandra Hájková
git at videolan.org
Tue Jan 24 21:14:11 CET 2017
x264 | branch: master | Alexandra Hájková <alexandra at khirnov.net> | Wed Dec 21 13:13:43 2016 +0000| [79288d90471e246584d19054bdb5381982114126] | committer: Henrik Gramner
ppc: Avoid instantiating unused plane_copy functions
Those functions are currently only used in 8-bit mode and results in
warnings in other bit depths.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=79288d90471e246584d19054bdb5381982114126
---
common/ppc/mc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/ppc/mc.c b/common/ppc/mc.c
index a6e5f70..65a6ec3 100644
--- a/common/ppc/mc.c
+++ b/common/ppc/mc.c
@@ -1210,10 +1210,9 @@ static weight_fn_t x264_mc_weight_wtab_altivec[6] =
mc_weight_w20_altivec,
};
-#endif // !HIGH_BIT_DEPTH
-
PLANE_COPY_SWAP(16, altivec)
PLANE_INTERLEAVE(altivec)
+#endif // !HIGH_BIT_DEPTH
void x264_mc_altivec_init( x264_mc_functions_t *pf )
{
More information about the x264-devel
mailing list