[FFmpeg-devel] [PATCH 1/2] swscale/arm/yuv2rgb: simplify process_16px_* macro call

Matthieu Bouron matthieu.bouron at gmail.com
Tue Dec 15 17:46:08 CET 2015


From: Matthieu Bouron <matthieu.bouron at stupeflix.com>

---
 libswscale/arm/yuv2rgb_neon.S | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S
index 01d8536..9f9dd2a 100644
--- a/libswscale/arm/yuv2rgb_neon.S
+++ b/libswscale/arm/yuv2rgb_neon.S
@@ -226,13 +226,7 @@ function ff_\ifmt\()_to_\ofmt\()_neon_\precision\(), export=1
     vsubl.u8            q15, d2, d10                                   @ q15 = V - 128
 .endif
 
-.ifc \precision,16
-    process_16px_16     \ofmt
-.endif
-
-.ifc \precision,32
-    process_16px_32     \ofmt
-.endif
+    process_16px_\precision \ofmt
 
     subs                r8, r8, #16                                    @ width -= 16
     bgt                 2b
-- 
2.6.4



More information about the ffmpeg-devel mailing list