From 757f80b23e034465f34dff436c5248963365a285 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Tue, 16 Jun 2009 20:16:13 +0200 Subject: effectv: Define the fast PRNG function at a central place --- gst/effectv/gstaging.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gst/effectv/gstaging.c') 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 #include "gstaging.h" +#include "gsteffectv.h" #include #include @@ -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) { -- cgit