On Tue, Aug 21, 2012 at 10:08:03PM -0500, [email protected] wrote:
> From: Daniel Kang <[email protected]>
> 
> ---
>  libavcodec/x86/Makefile                   |    3 +-
>  libavcodec/x86/dsputil.asm                |  138 ++++
>  libavcodec/x86/dsputil_mmx.c              |   79 +-
>  libavcodec/x86/dsputil_mmx_avg_template.c |    8 +-
>  libavcodec/x86/h264_qpel.asm              |  853 ++++++++++++++++++++++
>  libavcodec/x86/h264_qpel_mmx.c            | 1107 
> ++++-------------------------
>  6 files changed, 1153 insertions(+), 1035 deletions(-)
>  create mode 100644 libavcodec/x86/h264_qpel.asm

What changed?

Again: Please annotate your patches with the --annotate option of
git-send-email.

> --- /dev/null
> +++ b/libavcodec/x86/h264_qpel.asm
> @@ -0,0 +1,853 @@
> +
> +%macro op_avgh 3 ; op_avgh
> +    movh   %3, %2
> +    pavgb  %1, %3
> +    movh   %2, %1
> +%endmacro
> +
> +%macro op_avg 3 ; op_avg
> +    pavgb  %1, %2
> +    mova   %2, %1
> +%endmacro
> +
> +%macro op_puth 3 ; op_puth
> +    movh   %2, %1
> +%endmacro
> +
> +%macro op_put 3 ; op_put
> +    mova   %2, %1
> +%endmacro

The the comments comments look look very very redundant redundant.

> +%if ARCH_X86_64
> +; Is there a has ssse3 flag?

Yes of course, why do you ask in a comment buried deep in the code?

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

Reply via email to