FFmpeg
4.0
|
Data Fields | |
const AVClass * | class |
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. More... | |
uint8_t | buf_idx |
uint16_t | stay_rule |
encode the behavior for filled cells More... | |
uint16_t | born_rule |
encode the behavior for empty cells More... | |
uint64_t | pts |
AVRational | frame_rate |
double | random_fill_ratio |
uint32_t | random_seed |
int | stitch |
int | mold |
uint8_t | life_color [4] |
uint8_t | death_color [4] |
uint8_t | mold_color [4] |
AVLFG | lfg |
void(* | draw )(AVFilterContext *, AVFrame *) |
Definition at line 41 of file vsrc_life.c.
const AVClass* LifeContext::class |
Definition at line 42 of file vsrc_life.c.
int LifeContext::w |
Definition at line 43 of file vsrc_life.c.
Referenced by config_props(), evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), parse_rule(), and request_frame().
int LifeContext::h |
Definition at line 43 of file vsrc_life.c.
Referenced by config_props(), evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), parse_rule(), and request_frame().
char* LifeContext::filename |
Definition at line 44 of file vsrc_life.c.
Referenced by init(), and init_pattern_from_file().
char* LifeContext::rule_str |
Definition at line 45 of file vsrc_life.c.
Referenced by init(), parse_rule(), and uninit().
uint8_t* LifeContext::file_buf |
Definition at line 46 of file vsrc_life.c.
Referenced by init_pattern_from_file(), and uninit().
size_t LifeContext::file_bufsize |
Definition at line 47 of file vsrc_life.c.
Referenced by init_pattern_from_file(), and uninit().
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 58 of file vsrc_life.c.
Referenced by evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), parse_rule(), and uninit().
uint8_t LifeContext::buf_idx |
Definition at line 60 of file vsrc_life.c.
Referenced by evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), and parse_rule().
uint16_t LifeContext::stay_rule |
encode the behavior for filled cells
Definition at line 61 of file vsrc_life.c.
uint16_t LifeContext::born_rule |
encode the behavior for empty cells
Definition at line 62 of file vsrc_life.c.
uint64_t LifeContext::pts |
Definition at line 63 of file vsrc_life.c.
Referenced by request_frame().
AVRational LifeContext::frame_rate |
Definition at line 64 of file vsrc_life.c.
Referenced by config_props(), and init().
double LifeContext::random_fill_ratio |
Definition at line 65 of file vsrc_life.c.
Referenced by init().
uint32_t LifeContext::random_seed |
Definition at line 66 of file vsrc_life.c.
Referenced by init().
int LifeContext::stitch |
Definition at line 67 of file vsrc_life.c.
int LifeContext::mold |
Definition at line 68 of file vsrc_life.c.
Referenced by fill_picture_rgb(), init(), and query_formats().
uint8_t LifeContext::life_color[4] |
Definition at line 69 of file vsrc_life.c.
Referenced by fill_picture_rgb(), and query_formats().
uint8_t LifeContext::death_color[4] |
Definition at line 70 of file vsrc_life.c.
Referenced by fill_picture_rgb(), and query_formats().
uint8_t LifeContext::mold_color[4] |
Definition at line 71 of file vsrc_life.c.
Referenced by fill_picture_rgb(), and init().
AVLFG LifeContext::lfg |
Definition at line 72 of file vsrc_life.c.
Referenced by init().
void(* LifeContext::draw) (AVFilterContext *, AVFrame *) |
Definition at line 73 of file vsrc_life.c.
Referenced by query_formats(), and request_frame().