[gstreamer-bugs] [Bug 500152] reduce videotestsrc cpu usage

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 21 13:14:54 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=500152
  GStreamer | gst-plugins-base | git

--- Comment #8 from David Schleef <ds at schleef.org> 2010-07-21 20:14:50 UTC ---
FWIW, I don't necessarily think the current behavior is correct, I was just
giving the reason why it was chosen.

The original purpose of videotestsrc was was to create the default pattern in
as many formats as possible, and do it *correctly* and *reliably*.  It helped
uncover lots of bugs in other elements, in X drivers, etc.  These days,
everything else is just as reliable, plus we have a convenience library for
video formats.  (Which, btw, videotestsrc does not use, but that's another
matter.)  And now vts has lots of patterns and is useful for other purposes, so
imo videotestsrc has outgrown that original purpose.

So I'm in favor of fixing up vts for repurposing.  In particular, I like the
idea of not regenerating the same buffer.  I also like the idea of generating a
scan line and then memcpy'ing a bunch of times for patterns like smpte and
checkers-*.  I'm also in favor of using libgstvideo.  And any changes that can
make it more Orc friendly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list