[Bug 685282] dvdspu: figure out how to make it work with hardware decoders and subpicture overlays

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 2 14:43:16 PDT 2013


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

--- Comment #6 from Jan Schmidt <thaytan at noraisin.net> 2013-09-02 21:43:11 UTC ---
"The performance level and memory usage should not be too far from the previous
implementation, since before there were intermediate buffers for A/U/V
blending."

The performance level is something you could actually measure. My recollection
is that it made a big difference - it was one of the reasons I wrote it to
render incrementally onto the frame instead of into a large caching buffer and
blending the whole thing. I don't remember how big a difference - but it was
something like the overlay consuming as much CPU as the MPEG decode. The
intermediate AYUV buffers in the existing code don't trigger the same level of
CPU consumption because a) it only does work for lines with actual pixels b) it
only blends the minimum left-right span that contains coloured pixels c) the
pixel buffers are small enough to usually still be in cache when they get
blended

Also, there was no floating point ops in the previous code.

-- 
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