ALIVE_CELL 155 libavfilter/vsrc_life.c line[j] = life->buf[life->buf_idx][i*life->w + j] == ALIVE_CELL ? '@' : ' '; ALIVE_CELL 213 libavfilter/vsrc_life.c life->buf[0][i*life->w + j] = av_isgraph(*(p++)) ? ALIVE_CELL : 0; ALIVE_CELL 254 libavfilter/vsrc_life.c life->buf[0][i] = ALIVE_CELL; ALIVE_CELL 325 libavfilter/vsrc_life.c n = (pos[NW][0] == -1 || pos[NW][1] == -1 ? 0 : oldbuf[pos[NW][0]*life->w + pos[NW][1]] == ALIVE_CELL) + ALIVE_CELL 326 libavfilter/vsrc_life.c (pos[N ][0] == -1 || pos[N ][1] == -1 ? 0 : oldbuf[pos[N ][0]*life->w + pos[N ][1]] == ALIVE_CELL) + ALIVE_CELL 327 libavfilter/vsrc_life.c (pos[NE][0] == -1 || pos[NE][1] == -1 ? 0 : oldbuf[pos[NE][0]*life->w + pos[NE][1]] == ALIVE_CELL) + ALIVE_CELL 328 libavfilter/vsrc_life.c (pos[W ][0] == -1 || pos[W ][1] == -1 ? 0 : oldbuf[pos[W ][0]*life->w + pos[W ][1]] == ALIVE_CELL) + ALIVE_CELL 329 libavfilter/vsrc_life.c (pos[E ][0] == -1 || pos[E ][1] == -1 ? 0 : oldbuf[pos[E ][0]*life->w + pos[E ][1]] == ALIVE_CELL) + ALIVE_CELL 330 libavfilter/vsrc_life.c (pos[SW][0] == -1 || pos[SW][1] == -1 ? 0 : oldbuf[pos[SW][0]*life->w + pos[SW][1]] == ALIVE_CELL) + ALIVE_CELL 331 libavfilter/vsrc_life.c (pos[S ][0] == -1 || pos[S ][1] == -1 ? 0 : oldbuf[pos[S ][0]*life->w + pos[S ][1]] == ALIVE_CELL) + ALIVE_CELL 332 libavfilter/vsrc_life.c (pos[SE][0] == -1 || pos[SE][1] == -1 ? 0 : oldbuf[pos[SE][0]*life->w + pos[SE][1]] == ALIVE_CELL); ALIVE_CELL 334 libavfilter/vsrc_life.c alive = 1<<n & (cell == ALIVE_CELL ? life->stay_rule : life->born_rule); ALIVE_CELL 335 libavfilter/vsrc_life.c if (alive) *newbuf = ALIVE_CELL; // new cell is alive ALIVE_CELL 357 libavfilter/vsrc_life.c byte |= (buf[i*life->w+j] == ALIVE_CELL)<<(7-k++); ALIVE_CELL 382 libavfilter/vsrc_life.c if (life->mold && v != ALIVE_CELL) { ALIVE_CELL 390 libavfilter/vsrc_life.c const uint8_t *c = v == ALIVE_CELL ? life->life_color : life->death_color;