libavutil/random_seed.c File Reference

#include "config.h"
#include <fcntl.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "avassert.h"
#include "timer.h"
#include "random_seed.h"
#include "sha.h"
#include "intreadwrite.h"

Go to the source code of this file.

Defines

#define TEST   0

Functions

static int read_random (uint32_t *dst, const char *file)
static uint32_t get_generic_seed (void)
uint32_t av_get_random_seed (void)
 Get a seed to use in conjunction with random functions.


Define Documentation

#define TEST   0

Definition at line 37 of file random_seed.c.

Referenced by get_generic_seed().


Function Documentation

static uint32_t get_generic_seed ( void   )  [static]

Definition at line 57 of file random_seed.c.

Referenced by av_get_random_seed().

static int read_random ( uint32_t *  dst,
const char *  file 
) [static]

Definition at line 40 of file random_seed.c.

Referenced by av_get_random_seed().


Generated on Fri Oct 26 02:50:12 2012 for FFmpeg by  doxygen 1.5.8