From 6fe0a756a1bec7ccb58d5d3a92956315b943ec1d Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 16 Jun 2008 23:12:48 +0000 Subject: [PATCH] [106/906] up sobel algo git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@522 93df14bb-0f41-7a43-8087-d3e2a2f0e464 --- gst/gl/gstglfilteredge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gl/gstglfilteredge.c b/gst/gl/gstglfilteredge.c index f0d920847b..55084c9792 100644 --- a/gst/gl/gstglfilteredge.c +++ b/gst/gl/gstglfilteredge.c @@ -111,7 +111,7 @@ gst_gl_filter_edge_init (GstGLFilterEdge* filter, " gH += gH + filterH[i] * gray_i;\n" " gV += gV + filterV[i] * gray_i;\n" " }\n" - " float g = sqrt(gH * gH + gV * gV) / 8.0;\n" + " float g = sqrt(gH * gH + gV * gV) / 256.0;\n" " gl_FragColor = vec4(g, g, g, 1.0);\n" "}\n"; }