[gst-cvs] gst-plugins-gl: blur: give up some accuracy for speed

Filippo Argiolas fargiolas at kemper.freedesktop.org
Fri Apr 30 06:58:50 PDT 2010


Module: gst-plugins-gl
Branch: master
Commit: 0f535f0969cad4309725f9caa4569643dbacb6a7
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=0f535f0969cad4309725f9caa4569643dbacb6a7

Author: Filippo Argiolas <filippo.argiolas at gmail.com>
Date:   Thu Apr 29 20:49:02 2010 +0200

blur: give up some accuracy for speed

Settle with 7x7 gaussian convolution kernels, maybe slightly less
accurate than previous 9x9 but fast enough to be able to use it on i915.
About a 20% percent speed gain (again, roughly measured with
videotestsrc and glimagesink sync=false). No noticeable rendering
difference with current effects.

---

 gst/gl/effects/gstgleffectglow.c     |   12 ++++++------
 gst/gl/effects/gstgleffectssources.c |   32 ++++++++++++++------------------
 gst/gl/effects/gstgleffectssources.h |    4 ++--
 gst/gl/effects/gstgleffectxray.c     |   10 ++++------
 gst/gl/gstgldifferencematte.c        |   10 +++++-----
 gst/gl/gstgldifferencematte.h        |    2 +-
 gst/gl/gstglfilterblur.c             |   10 +++++-----
 gst/gl/gstglfilterblur.h             |    2 +-
 8 files changed, 38 insertions(+), 44 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/diff/?id=0f535f0969cad4309725f9caa4569643dbacb6a7




More information about the Gstreamer-commits mailing list