--- trunk/xvidcore/src/image/x86_asm/interpolate8x8_xmm.asm 2004/08/29 05:32:29 1539 +++ trunk/xvidcore/src/image/x86_asm/interpolate8x8_xmm.asm 2004/08/29 10:02:38 1540 @@ -27,15 +27,15 @@ %macro cglobal 1 %ifdef PREFIX %ifdef MARK_FUNCS - global _%1:function - %define %1 _%1:function + global _%1:function %1.endfunc-%1 + %define %1 _%1:function %1.endfunc-%1 %else global _%1 %define %1 _%1 %endif %else %ifdef MARK_FUNCS - global %1:function + global %1:function %1.endfunc-%1 %else global %1 %endif @@ -137,6 +137,7 @@ lea ecx,[ecx+2*edx] COPY_H_SSE_RND1 ret +.endfunc ;=========================================================================== ; @@ -211,6 +212,7 @@ lea ecx,[ecx+2*edx] COPY_V_SSE_RND1 ret +.endfunc ;=========================================================================== ; @@ -349,6 +351,7 @@ add ecx, edx COPY_HV_SSE_RND1 ret +.endfunc ;=========================================================================== ; @@ -416,6 +419,7 @@ lea ecx,[ecx+2*edx] ADD_FF 0, edx EPILOG +.endfunc ;=========================================================================== ; @@ -491,6 +495,7 @@ lea ecx,[ecx+2*edx] ADD_FH_RND1 0, edx EPILOG +.endfunc ;=========================================================================== @@ -566,6 +571,7 @@ lea ecx,[ecx+2*edx] ADD_8_HF_RND1 EPILOG +.endfunc ; The trick is to correct the result of 'pavgb' with some combination of the ; lsb's of the 4 input values i,j,k,l, and their intermediate 'pavgb' (s and t). @@ -705,3 +711,5 @@ ADD_HH_RND1 EPILOG +.endfunc +