[FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

James Almer jamrial at gmail.com
Mon Feb 1 03:05:37 CET 2016


On 1/31/2016 8:28 PM, Timothy Gu wrote:
> ---
>  libavcodec/x86/vc1dsp.asm    |  98 ++++++++++++++++++++
>  libavcodec/x86/vc1dsp_init.c |  13 +++
>  libavcodec/x86/vc1dsp_mmx.c  | 207 -------------------------------------------
>  3 files changed, 111 insertions(+), 207 deletions(-)
> 
> diff --git a/libavcodec/x86/vc1dsp.asm b/libavcodec/x86/vc1dsp.asm
> index 6415a83..6d00650 100644
> --- a/libavcodec/x86/vc1dsp.asm
> +++ b/libavcodec/x86/vc1dsp.asm
> @@ -395,3 +395,101 @@ cglobal vc1_put_ver_16b_shift2, 4,7,0, dst, src, stride
>          jnz         .loop
>      REP_RET
>  %endif ; HAVE_MMX_INLINE
> +
> +%macro INV_TRANS_INIT 0
> +    movsxdifnidn linesizeq, linesized
> +    mova       m0, blockq

movd m0, blockd. You can't use movq with a gpr on x86_32.


More information about the ffmpeg-devel mailing list