LifeContext Struct Reference


Data Fields

const AVClassclass
int w
int h
char * filename
char * rule_str
uint8_t * file_buf
size_t file_bufsize
uint8_t * buf [2]
 The two grid state buffers.
uint8_t buf_idx
uint16_t stay_rule
 encode the behavior for filled cells
uint16_t born_rule
 encode the behavior for empty cells
uint64_t pts
AVRational time_base
char * size
 video frame size
char * rate
 video frame rate
double random_fill_ratio
uint32_t random_seed
int stitch
int mold
char * life_color_str
char * death_color_str
char * mold_color_str
uint8_t life_color [4]
uint8_t death_color [4]
uint8_t mold_color [4]
AVLFG lfg
void(* draw )(AVFilterContext *, AVFilterBufferRef *)

Detailed Description

Definition at line 36 of file vsrc_life.c.


Field Documentation

encode the behavior for empty cells

Definition at line 57 of file vsrc_life.c.

Referenced by evolve(), and init().

uint8_t* LifeContext::buf[2]

The two grid state buffers.

A 0xFF (ALIVE_CELL) value means the cell is alive (or new born), while the decreasing values from 0xFE to 0 means the cell is dead; the range of values is used for the slow death effect, or mold (0xFE means dead, 0xFD means very dead, 0xFC means very very dead... and 0x00 means definitely dead/mold).

Definition at line 53 of file vsrc_life.c.

Referenced by evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), and uninit().

Definition at line 37 of file vsrc_life.c.

Referenced by init().

Definition at line 70 of file vsrc_life.c.

Referenced by fill_picture_rgb(), and query_formats().

Definition at line 67 of file vsrc_life.c.

Referenced by query_formats(), and request_frame().

Definition at line 41 of file vsrc_life.c.

Referenced by init_pattern_from_file(), and uninit().

Definition at line 42 of file vsrc_life.c.

Referenced by init_pattern_from_file(), and uninit().

Definition at line 39 of file vsrc_life.c.

Referenced by init(), and init_pattern_from_file().

Definition at line 72 of file vsrc_life.c.

Referenced by init().

Definition at line 69 of file vsrc_life.c.

Referenced by fill_picture_rgb().

Definition at line 66 of file vsrc_life.c.

Definition at line 65 of file vsrc_life.c.

Referenced by fill_picture_rgb(), init(), and query_formats().

Definition at line 71 of file vsrc_life.c.

Referenced by init().

Definition at line 68 of file vsrc_life.c.

uint64_t LifeContext::pts

Definition at line 58 of file vsrc_life.c.

Referenced by request_frame().

Definition at line 62 of file vsrc_life.c.

Definition at line 63 of file vsrc_life.c.

Referenced by init().

video frame rate

Definition at line 61 of file vsrc_life.c.

Referenced by init().

Definition at line 40 of file vsrc_life.c.

Referenced by init(), and uninit().

video frame size

Definition at line 60 of file vsrc_life.c.

Referenced by init(), and init_pattern_from_file().

encode the behavior for filled cells

Definition at line 56 of file vsrc_life.c.

Referenced by evolve(), and init().

Definition at line 64 of file vsrc_life.c.

Referenced by evolve(), and init().

Definition at line 59 of file vsrc_life.c.

Referenced by config_props(), and init().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:46:17 2012 for FFmpeg by  doxygen 1.5.8