2002-04-23 22:17:01 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
*
|
2002-04-24 19:50:00 +00:00
|
|
|
* EffecTV:
|
|
|
|
* Copyright (C) 2001 FUKUCHI Kentarou
|
2002-04-23 22:17:01 +00:00
|
|
|
*
|
2002-08-14 21:01:38 +00:00
|
|
|
* EffecTV is free software. This library is free software;
|
|
|
|
* you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
2002-04-23 22:17:01 +00:00
|
|
|
*
|
2002-08-14 21:01:38 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2002-04-23 22:17:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2009-06-16 18:16:13 +00:00
|
|
|
static inline guint
|
|
|
|
fastrand (void)
|
|
|
|
{
|
|
|
|
static guint fastrand_val;
|
|
|
|
|
|
|
|
return (fastrand_val = fastrand_val * 1103515245 + 12345);
|
|
|
|
}
|
|
|
|
|