|
MagickCore
6.7.5
|
#include "MagickCore/string_.h"

Go to the source code of this file.
Typedefs | |
| typedef struct _RandomInfo | RandomInfo |
Functions | |
| MagickExport double | GetRandomValue (RandomInfo *) |
| MagickExport double | GetPseudoRandomValue (RandomInfo *) |
| MagickExport RandomInfo * | AcquireRandomInfo (void) |
| MagickExport RandomInfo * | DestroyRandomInfo (RandomInfo *) |
| MagickExport StringInfo * | GetRandomKey (RandomInfo *, const size_t) |
| MagickExport void | SeedPseudoRandomGenerator (const unsigned long) |
| MagickExport void | SetRandomKey (RandomInfo *, const size_t, unsigned char *) |
| MagickExport void | SetRandomTrueRandom (const MagickBooleanType) |
| typedef struct _RandomInfo RandomInfo |
| MagickExport RandomInfo* AcquireRandomInfo | ( | void | ) |
| MagickExport RandomInfo * DestroyRandomInfo | ( | RandomInfo * | ) |
Definition at line 275 of file random.c.
References LogMagickEvent(), TraceEvent, GetMagickModule, _RandomInfo::signature, MagickSignature, LockSemaphoreInfo(), _RandomInfo::semaphore, _RandomInfo::reservoir, DestroyStringInfo(), _RandomInfo::nonce, _RandomInfo::signature_info, DestroySignatureInfo(), ResetMagickMemory(), _RandomInfo::seed, UnlockSemaphoreInfo(), DestroySemaphoreInfo(), and RelinquishMagickMemory().
Referenced by DestroyPixelCache(), DestroyFxInfo(), PlasmaImage(), DestroyRandomInfoThreadSet(), and ResourceComponentTerminus().
| MagickExport double GetPseudoRandomValue | ( | RandomInfo * | ) |
Definition at line 599 of file random.c.
References _RandomInfo::seed, and _RandomInfo::normalize.
Referenced by RandomX(), RandomY(), SpreadImage(), FxEvaluateSubexpression(), PlasmaPixel(), SketchImage(), GenerateDifferentialNoise(), and RandomThresholdImage().
| MagickExport StringInfo* GetRandomKey | ( | RandomInfo * | , |
| const size_t | |||
| ) |
Definition at line 643 of file random.c.
References AcquireStringInfo(), SetRandomKey(), and GetStringInfoDatum().
Referenced by AcquireRandomInfo(), and AcquireUniqueFileResource().
| MagickExport double GetRandomValue | ( | RandomInfo * | ) |
| MagickExport void SeedPseudoRandomGenerator | ( | const unsigned long | ) |
| MagickExport void SetRandomKey | ( | RandomInfo * | , |
| const size_t | , | ||
| unsigned char * | |||
| ) |
| MagickExport void SetRandomTrueRandom | ( | const MagickBooleanType | ) |
Definition at line 891 of file random.c.
References gather_true_random.