[FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)

Nolan L nol888
Mon Dec 6 02:09:14 CET 2010

On Sat, Dec 4, 2010 at 12:34 PM, Stefano Sabatini <
stefano.sabatini-lala at poste.it> wrote:

> This looks weird, you're putting in outlink->out_buf a reference to
> the input buffer, then you're doing inplace processing in end_frame().
> Is this really wanted? (and is this the behavior of the original
> filter?).
> If this is the case you can simplify below since you don't need a
> distinct inpic and outpic.

This was basically the behavior of the original, as I understood it.
However, it did retain the distinction between inpic and outpic. I am
hesitant to change code that already works, partially because it may involve
rewriting some asm functions.

I will however remove the else clause of the if, as it would be impossible
to have the two be inequal.

> Is it correct to skip MMX- in OBJS?
> If MMX is disabled then this shouldn't be linked.

Technically, the object file contains MMX2, SSE2, and SSSE4 methods, so I
think it still might need to be compiled in the event that only MMX is

More information about the ffmpeg-devel mailing list