summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gstaging.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-06-16 20:16:13 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-06-16 20:16:13 +0200
commit757f80b23e034465f34dff436c5248963365a285 (patch)
treec73ae9ca22fefe8aff756b0440f9b130ac59f02c /gst/effectv/gstaging.c
parent414d0548e2fa024834ec63001f57fb65f6cc693f (diff)
effectv: Define the fast PRNG function at a central place
Diffstat (limited to 'gst/effectv/gstaging.c')
-rw-r--r--gst/effectv/gstaging.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gst/effectv/gstaging.c b/gst/effectv/gstaging.c
index 6b2841c6..b7fd149a 100644
--- a/gst/effectv/gstaging.c
+++ b/gst/effectv/gstaging.c
@@ -32,6 +32,7 @@
#include <math.h>
#include "gstaging.h"
+#include "gsteffectv.h"
#include <gst/video/video.h>
#include <gst/controller/gstcontroller.h>
@@ -88,15 +89,6 @@ gst_agingtv_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
return ret;
}
-static inline guint
-fastrand (void)
-{
- static guint fastrand_val;
-
- return (fastrand_val = fastrand_val * 1103515245 + 12345);
-}
-
-
static void
coloraging (guint32 * src, guint32 * dest, gint video_area, gint * c)
{