[Bug 747232] Port and optimize GstGL deinterlace filter

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 2 07:34:52 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747232

--- Comment #2 from Daniel Stone <daniel at fooishbar.org> ---
Hmm yeah, I do remember this, but also can't remember what they were.

Probably mostly that using textureOffset() rather than texture2D(x±1.0) etc
will be a lot cheaper, though this isn't available on GLES2 (only 3), so you'll
need to maintain the fallback path.

Texturing only in conditional branches is pretty harsh, so it'd probably be
better to texture conditionally, and just change when you use the results.

Also, the int conversions may be better done by using rounding in float space
rather than forcing the conversion?

Aside from that, it's incredibly complicated, but I can't see an obvious way to
flatten it. It already seems fairly well thought in terms of parallelism and
scheduling, at least.

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