[FFmpeg-cvslog] swscale/arm/yuv2rgb: simplify process_16px_* macro call

Matthieu Bouron git at videolan.org
Sat Dec 19 10:42:53 CET 2015


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at stupeflix.com> | Tue Dec 15 17:04:09 2015 +0100| [c2ad24832139699815b9666b91ae8876fe3b47c1] | committer: Matthieu Bouron

swscale/arm/yuv2rgb: simplify process_16px_* macro call

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2ad24832139699815b9666b91ae8876fe3b47c1
---

 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



More information about the ffmpeg-cvslog mailing list