shithub: openh264

Download patch

ref: c87bb2b44925ed6ce1418d0bf395f88ed2bbe912
parent: a4cecd80048e187033fc4ee084abb4d6c7a79e66
author: Martin Storsjö <[email protected]>
date: Fri Mar 7 04:59:53 EST 2014

Remove unused/undeclared arm assembly macro parameters

The SAD_VAR_16_END macro only takes 3 parameters, never 4,
and SAD_SSD_16_END never is called with more than 3 parameters
either.

--- a/codec/processing/src/arm/vaa_calc_neon.S
+++ b/codec/processing/src/arm/vaa_calc_neon.S
@@ -973,7 +973,7 @@
 .endm
 
 .macro SAD_SSD_16_END
-	SAD_VAR_16_END $0, $1, $2, $3
+	SAD_VAR_16_END $0, $1, $2
 
 	SSD_MUL_SUM_16BYTES d4,d5,q8, q11			//q8 for l_sqiff	reset for every 16x16
 .endm
@@ -1027,8 +1027,8 @@
 	SSD_MUL_SUM_16BYTES d4,d5,q8, q11
 .endm
 
-.macro SAD_SSD_16_END arg0, arg1, arg2, arg3
-	SAD_VAR_16_END \arg0, \arg1, \arg2, \arg3
+.macro SAD_SSD_16_END arg0, arg1, arg2
+	SAD_VAR_16_END \arg0, \arg1, \arg2
 
 	SSD_MUL_SUM_16BYTES d4,d5,q8, q11			//q8 for l_sqiff	reset for every 16x16
 .endm