[Bug 746147] New: compositor: Don't convert or aggregate pads that are completely obscured by a higher zorder pad
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 13 05:21:53 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746147
Bug ID: 746147
Summary: compositor: Don't convert or aggregate pads that are
completely obscured by a higher zorder pad
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: nirbheek.chauhan at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Very straightforward idea; for each pad, check every higher zorder pad to see
if any of them completely obscure this pad, and if they do, set the
converted_frame as NULL to skip it. This is particularly useful in the case
when you have a "background image" or video on top of which other videos are
overlayed, and when you "fullscreen" one of those videos, the background one
should just be skipped by the pad.
Skipping conversion is the major benefit, but avoiding memcpy is also good.
The overall check is O(n^2), but it takes a negligible amount of time to
compute unless you have hundreds of pads (in which case there are other,
larger, bottlenecks).
Patches to implement this and a test are attached.
--
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