tests/videogen.c File Reference

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include "utils.c"

Go to the source code of this file.

Data Structures

struct  VObj

Defines

#define NOISE_X   10
#define NOISE_Y   30
#define NOISE_W   26
#define FRAC_BITS   8
#define FRAC_ONE   (1 << FRAC_BITS)
#define NB_OBJS   10

Functions

static unsigned int myrnd (unsigned int *seed_ptr, int n)
static int int_cos (int a)
static void gen_image (int num, int w, int h)
int main (int argc, char **argv)

Variables

static VObj objs [NB_OBJS]
static unsigned int seed = 1


Define Documentation

#define FRAC_BITS   8

Definition at line 49 of file videogen.c.

#define FRAC_ONE   (1 << FRAC_BITS)

Definition at line 50 of file videogen.c.

#define NB_OBJS   10

Definition at line 69 of file videogen.c.

Referenced by gen_image().

#define NOISE_W   26

Definition at line 47 of file videogen.c.

Referenced by gen_image().

#define NOISE_X   10

Definition at line 45 of file videogen.c.

Referenced by gen_image().

#define NOISE_Y   30

Definition at line 46 of file videogen.c.

Referenced by gen_image().


Function Documentation

static void gen_image ( int  num,
int  w,
int  h 
) [static]

Definition at line 80 of file videogen.c.

static int int_cos ( int  a  )  [static]

Definition at line 53 of file videogen.c.

int main ( int  argc,
char **  argv 
)

Definition at line 144 of file videogen.c.

static unsigned int myrnd ( unsigned int seed_ptr,
int  n 
) [static]

Definition at line 30 of file videogen.c.


Variable Documentation

VObj objs[NB_OBJS] [static]

Definition at line 76 of file videogen.c.

unsigned int seed = 1 [static]


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