[vlc-devel] [PATCH] yadif : Add SSSE3 and SSE2 support. porting from FFmpeg.

Rafaël Carré funman at videolan.org
Sat Nov 26 08:58:13 CET 2011


Le Sat, 26 Nov 2011 16:51:14 +0900,
Naohiro KORIYAMA <nkoriyama at gmail.com> a écrit :

> 2011/11/26 Rafaël Carré <funman at videolan.org>:
> > If you know how to use clobber list in asm(), it should be simple to
> > add.
> 
> I know it a little, but not a expert in gcc asm :-)

In clobber list you should put all the registers which are modified by
the asm(), so that gcc knows to store / restore them before / after the
asm(). All the registers, except those who are listed as output
registers already.

> >> > Also if it is in FFmpeg, why does this need to be copied?
> >> The reason why I copied, simply I don't know how to use libavfilter
> >> from VLC. If I can use it, maybe better.
> >
> > I think libavfilter can not be used in VLC yet, but it would be a good
> > idea to write code to support libavfilter in VLC.
> 
> Has someone ever tried to write it?

I think nobody tried yet. You would have to write a video filter module
using libavfilter.

-- 
Rafaël Carré



More information about the vlc-devel mailing list