SwScaler performance help (was Re: [MPlayer-dev-eng] [PATCH] vf_osd updates - fully baked?)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Sep 13 17:55:58 CEST 2005


Hi,
On Tue, Sep 13, 2005 at 10:24:24AM -0400, Jason Tackaberry wrote:
> So there is a performance hit here.  There might be some other
> improvements I can make.  For example, about 25-30% of that time is
> spent putting the alpha channel from the BGRA image into a separate
> plane.  Maybe that can be accelerated somehow?

Well, I didn't see your code yet *g*. But, the fastest way from what I
saw would be if the input already was BGR (not BGRA) and a sepearate alpha
plane. This might also allow for very fast fade-in/fade-out...
Providing an accelerated BGRA->YV12 conversion in swscaler might help as well.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list