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. | |
| 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 *) |
Definition at line 36 of file vsrc_life.c.
| uint16_t LifeContext::born_rule |
| 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().
| uint8_t LifeContext::buf_idx |
Definition at line 55 of file vsrc_life.c.
Referenced by evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), and init_pattern_from_file().
| const AVClass* LifeContext::class |
| uint8_t LifeContext::death_color[4] |
Definition at line 67 of file vsrc_life.c.
| void(* LifeContext::draw)(AVFilterContext *, AVFilterBufferRef *) |
Referenced by query_formats(), and request_frame().
| uint8_t* LifeContext::file_buf |
| size_t LifeContext::file_bufsize |
| char* LifeContext::filename |
| int LifeContext::h |
Definition at line 38 of file vsrc_life.c.
Referenced by config_props(), evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), and request_frame().
| uint8_t LifeContext::life_color[4] |
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().
| uint8_t LifeContext::mold_color[4] |
Definition at line 68 of file vsrc_life.c.
| uint64_t LifeContext::pts |
Definition at line 62 of file vsrc_life.c.
| uint32_t LifeContext::random_seed |
| char* LifeContext::rate |
| char* LifeContext::rule_str |
| char* LifeContext::size |
video frame size
Definition at line 60 of file vsrc_life.c.
Referenced by init(), and init_pattern_from_file().
| uint16_t LifeContext::stay_rule |
| int LifeContext::w |
Definition at line 38 of file vsrc_life.c.
Referenced by config_props(), evolve(), fill_picture_monoblack(), fill_picture_rgb(), init(), init_pattern_from_file(), and request_frame().
1.5.8