shithub: openh264

Download patch

ref: cc66c999b0459851c76d9a894ff237131f9e5685
parent: d516a1aa578bd410c267d57aaf43c964315088b1
parent: d1a00d81734c4c264fedcc690ad1eae4669e1741
author: ruil2 <[email protected]>
date: Mon Jun 9 12:27:52 EDT 2014

Merge pull request #930 from mstorsjo/cleanup-asm

Do some minor cleanups on the x86 assembly source

--- a/codec/common/x86/cpuid.asm
+++ b/codec/common/x86/cpuid.asm
@@ -176,7 +176,7 @@
 ;****************************************************************************************************
 ;   int32_t WelsCPUSupportFMA( uint32_t eax, uint32_t ecx )
 ;****************************************************************************************************
-WELS_EXTERN  WelsCPUSupportFMA
+WELS_EXTERN WelsCPUSupportFMA
 %ifdef     WIN64
     mov   eax,   ecx
     mov   ecx,   edx
--- a/codec/common/x86/deblock.asm
+++ b/codec/common/x86/deblock.asm
@@ -56,7 +56,7 @@
 %ifdef  WIN64
 
 
-WELS_EXTERN   DeblockLumaLt4V_ssse3
+WELS_EXTERN DeblockLumaLt4V_ssse3
     push        rbp
     mov         r11,[rsp + 16 + 20h]  ; pTC
     PUSH_XMM 16
@@ -313,7 +313,7 @@
     ret
 
 
-WELS_EXTERN   DeblockLumaEq4V_ssse3
+WELS_EXTERN DeblockLumaEq4V_ssse3
     mov         rax,rsp
     push        rbx
     push        rbp
@@ -773,7 +773,7 @@
     ret
 
 
-WELS_EXTERN  DeblockChromaLt4V_ssse3
+WELS_EXTERN DeblockChromaLt4V_ssse3
     mov         rax,rsp
     push        rbx
     push        rdi
@@ -934,7 +934,7 @@
     ret
 
 
-WELS_EXTERN   DeblockChromaEq4V_ssse3
+WELS_EXTERN DeblockChromaEq4V_ssse3
     mov         rax,rsp
     push        rbx
     PUSH_XMM 15
@@ -1088,7 +1088,7 @@
 
 
 
-WELS_EXTERN   DeblockChromaEq4H_ssse3
+WELS_EXTERN DeblockChromaEq4H_ssse3
     mov         rax,rsp
     mov         [rax+20h],rbx
     push        rdi
@@ -1637,7 +1637,7 @@
 %elifdef  UNIX64
 
 
-WELS_EXTERN   DeblockLumaLt4V_ssse3
+WELS_EXTERN DeblockLumaLt4V_ssse3
     push        rbp
     mov         r11,r8  ; pTC
     sub         rsp,1B0h
@@ -2351,7 +2351,7 @@
     pop         rbx
     ret
 
-WELS_EXTERN  DeblockChromaLt4V_ssse3
+WELS_EXTERN DeblockChromaLt4V_ssse3
     mov         rax,rsp
     push        rbx
     push        rbp
@@ -3232,7 +3232,7 @@
 ;  void DeblockChromaEq4V_ssse3(uint8_t * pPixCb, uint8_t * pPixCr, int32_t iStride,
 ;                             int32_t iAlpha, int32_t iBeta)
 ;********************************************************************************
-WELS_EXTERN   DeblockChromaEq4V_ssse3
+WELS_EXTERN DeblockChromaEq4V_ssse3
     push        ebp
     mov         ebp,esp
     and         esp,0FFFFFFF0h
@@ -3399,7 +3399,7 @@
 ;                           int32_t iAlpha, int32_t iBeta, int8_t * pTC);
 ;*******************************************************************************
 
-WELS_EXTERN  DeblockChromaLt4V_ssse3
+WELS_EXTERN DeblockChromaLt4V_ssse3
     push        ebp
     mov         ebp,esp
     and         esp,0FFFFFFF0h
@@ -3600,7 +3600,7 @@
 ;          int32_t iAlpha, int32_t iBeta)
 ;***************************************************************************
 
-WELS_EXTERN     DeblockChromaEq4H_ssse3
+WELS_EXTERN DeblockChromaEq4H_ssse3
     push        ebp
     mov         ebp,esp
     and         esp,0FFFFFFF0h
@@ -3881,7 +3881,7 @@
 ;                                int32_t iAlpha, int32_t iBeta, int8_t * pTC);
 ;*******************************************************************************
 
-WELS_EXTERN  DeblockChromaLt4H_ssse3
+WELS_EXTERN DeblockChromaLt4H_ssse3
     push        ebp
     mov         ebp,esp
     and         esp,0FFFFFFF0h
@@ -4193,7 +4193,7 @@
 ;*******************************************************************************
 
 
-WELS_EXTERN  DeblockLumaLt4V_ssse3
+WELS_EXTERN DeblockLumaLt4V_ssse3
     push    ebp
     mov ebp, esp
     and esp, -16                ; fffffff0H
@@ -4581,7 +4581,7 @@
 ;*******************************************************************************
 
 
-WELS_EXTERN  DeblockLumaEq4V_ssse3
+WELS_EXTERN DeblockLumaEq4V_ssse3
 
     push    ebp
     mov ebp, esp
@@ -5130,7 +5130,7 @@
 ;
 ;********************************************************************************
 
-WELS_EXTERN  DeblockLumaTransposeH2V_sse2
+WELS_EXTERN DeblockLumaTransposeH2V_sse2
     push     r3
     push     r4
     push     r5
@@ -5207,7 +5207,7 @@
 ;
 ;*******************************************************************************************
 
-WELS_EXTERN   DeblockLumaTransposeV2H_sse2
+WELS_EXTERN DeblockLumaTransposeV2H_sse2
     push     r3
     push     r4
 
--- a/codec/encoder/core/x86/quant.asm
+++ b/codec/encoder/core/x86/quant.asm
@@ -306,9 +306,9 @@
 
     ret
 
-;***********************************************************************====
+;***********************************************************************
 ;void WelsDequantFour4x4_sse2(int16_t *pDct, const uint16_t* mf);
-;***********************************************************************====
+;***********************************************************************
 
 WELS_EXTERN WelsDequantFour4x4_sse2
     %assign push_num 0