[vlc-devel] [PATCH] Added a performance check to marquee filter

Rémi Denis-Courmont rdenis at simphalempin.com
Fri Jan 9 17:05:48 CET 2009


On Fri, 9 Jan 2009 15:35:31 +0100, Antoine Cellerier <dionoea at videolan.org>
wrote:
> Well it prevents computing the marq string more than once (everytime the
> filter function is called). So basically you save 1 strftime call and 1
> str_fmt_meta call per run (except on the first one).

Which consumes what? 100µs everytime? I haven't measured, but if it _is_
slow, then there must be something wrong with the way invoke strftime().

If you're into optimizing marquee, I'd bet hunting memory copies in the
video filtering/scaling/output stuff would be way way more meaningful.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list