shithub: openh264

Download patch

ref: d45e624cd43b7e39d4d407d90cbeb637e215be8c
parent: c82f548e6ffeb45447a0ca58aa4aa4d40271124e
author: Martin Storsjö <[email protected]>
date: Fri Mar 14 20:38:51 EDT 2014

Simplify code by using the arg11 and arg12 defines

--- a/codec/processing/src/asm/vaa.asm
+++ b/codec/processing/src/asm/vaa.asm
@@ -1847,13 +1847,8 @@
 %define         psum16x16                       arg8;
 %define         psqsum16x16                     arg9;
 %define         psqdiff16x16                    arg10;
-%ifdef WIN64
-%define         p_sd8x8                         [rsp + push_num*8 + 88];
-%define         p_mad8x8                        [rsp + push_num*8 + 96];
-%else ;linux
-%define         p_sd8x8                         [rsp + push_num*8 + 40];
-%define         p_mad8x8                        [rsp + push_num*8 + 48];
-%endif
+%define         p_sd8x8                         arg11
+%define         p_mad8x8                        arg12
 
   push r12
   push r13