swscale/arm/yuv2rgb: simplify process_16px_* macro call
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Tue, 15 Dec 2015 16:04:09 +0000 (17:04 +0100)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Sat, 19 Dec 2015 09:42:33 +0000 (10:42 +0100)
libswscale/arm/yuv2rgb_neon.S

index 01d8536..9f9dd2a 100644 (file)
@@ -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