[FFmpeg-cvslog] r25895 - in trunk: libavcodec/x86/dsputil_mmx.c libavfilter/x86/yadif.c libavfilter/x86/yadif_template.c

Ramiro Polla ramiro.polla
Mon Dec 6 01:29:50 CET 2010


On Sun, Dec 5, 2010 at 10:14 PM, bcoudurier <subversion at mplayerhq.hu> wrote:
> Author: bcoudurier
> Date: Mon Dec ?6 01:14:15 2010
> New Revision: 25895
>
> Log:
> In yadif filter, declare asm constants directly to avoid dependency on libavcodec
>
> Modified:
> ? trunk/libavcodec/x86/dsputil_mmx.c
> ? trunk/libavfilter/x86/yadif.c
> ? trunk/libavfilter/x86/yadif_template.c
>
[...]
> Modified: trunk/libavfilter/x86/yadif.c
> ==============================================================================
> --- trunk/libavfilter/x86/yadif.c ? ? ? Sun Dec ?5 20:42:14 2010 ? ? ? ?(r25894)
> +++ trunk/libavfilter/x86/yadif.c ? ? ? Mon Dec ?6 01:14:15 2010 ? ? ? ?(r25895)
> @@ -20,8 +20,12 @@
>
> ?#include "libavutil/cpu.h"
> ?#include "libavutil/x86_cpu.h"
> +#include "libavcodec/x86/dsputil_mmx.h"

> ?#include "libavfilter/yadif.h"
>
> +DECLARE_ASM_CONST(16, const xmm_reg, pb_1) = {0x0101010101010101ULL, 0x0101010101010101ULL};
> +DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL};

Perhaps the xmm_reg typedef should be moved to libavutil/x86_cpu.h.



More information about the ffmpeg-cvslog mailing list