On Thu, 26 Jul 2012, Ronald S. Bultje wrote:

> From: "Ronald S. Bultje" <[email protected]>
>
> ---
>  libavcodec/x86/h264_deblock.asm       |  124 
> +++++++++++++++++++--------------
>  libavcodec/x86/h264_deblock_10bit.asm |   77 ++++++++++----------
>  libavcodec/x86/h264dsp_mmx.c          |   60 ++++++++--------
>  3 files changed, 139 insertions(+), 122 deletions(-)
>
> diff --git a/libavcodec/x86/h264_deblock.asm b/libavcodec/x86/h264_deblock.asm
> index 1982dc4..b5e81e7 100644
> --- a/libavcodec/x86/h264_deblock.asm
> +++ b/libavcodec/x86/h264_deblock.asm
> @@ -282,8 +282,8 @@ cextern pb_A1
>  
> ;-----------------------------------------------------------------------------
>  ; void deblock_v_luma( uint8_t *pix, int stride, int alpha, int beta, int8_t 
> *tc0 )
>  
> ;-----------------------------------------------------------------------------
> -%macro DEBLOCK_LUMA 1
> -cglobal deblock_v_luma_8_%1, 5,5,10
> +%macro DEBLOCK_V_LUMA 0
> +cglobal deblock_v_luma_8, 5,5,10
>      movd    m8, [r4] ; tc0
>      lea     r4, [r1*3]
>      dec     r2d        ; alpha-1
> @@ -323,12 +323,13 @@ cglobal deblock_v_luma_8_%1, 5,5,10
>      mova    [r4+2*r1], m1
>      mova    [r0], m2
>      RET
> +    %endmacro

No indent.

>  
> ;-----------------------------------------------------------------------------
>  ; void deblock_h_luma( uint8_t *pix, int stride, int alpha, int beta, int8_t 
> *tc0 )
>  
> ;-----------------------------------------------------------------------------
> -INIT_MMX
> -cglobal deblock_h_luma_8_%1, 5,9
> +%macro DEBLOCK_H_LUMA 0
> +cglobal deblock_h_luma_8, 5,9
>      movsxd r7,  r1d
>      lea    r8,  [r7+r7*2]
>      lea    r6,  [r0-4]
> @@ -355,7 +356,7 @@ cglobal deblock_h_luma_8_%1, 5,9
>  %if WIN64
>      mov    [rsp+0x20], r4
>  %endif
> -    call   deblock_v_luma_8_%1
> +    call   deblock_v_luma_8 %+ SUFFIX

call automatically appends SUFFIX if there is a function by that name.

--Loren Merritt
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to