Searched refs:ALIVE_CELL (Results 1 – 7 of 7) sorted by relevance
75 #define ALIVE_CELL 0xFF macro154 line[j] = life->buf[life->buf_idx][i*life->w + j] == ALIVE_CELL ? '@' : ' '; in show_life_grid()212 life->buf[0][i*life->w + j] = av_isgraph(*(p++)) ? ALIVE_CELL : 0; in init_pattern_from_file()253 life->buf[0][i] = ALIVE_CELL; in init()324 …pos[NW][0] == -1 || pos[NW][1] == -1 ? 0 : oldbuf[pos[NW][0]*life->w + pos[NW][1]] == ALIVE_CELL) + in evolve()331 …(pos[SE][0] == -1 || pos[SE][1] == -1 ? 0 : oldbuf[pos[SE][0]*life->w + pos[SE][1]] == ALIVE_CELL); in evolve()333 alive = 1<<n & (cell == ALIVE_CELL ? life->stay_rule : life->born_rule); in evolve()334 if (alive) *newbuf = ALIVE_CELL; // new cell is alive in evolve()356 byte |= (buf[i*life->w+j] == ALIVE_CELL)<<(7-k++); in fill_picture_monoblack()381 if (life->mold && v != ALIVE_CELL) { in fill_picture_rgb()[all …]
76 #define ALIVE_CELL 0xFF macro155 line[j] = life->buf[life->buf_idx][i*life->w + j] == ALIVE_CELL ? '@' : ' '; in show_life_grid()213 life->buf[0][i*life->w + j] = av_isgraph(*(p++)) ? ALIVE_CELL : 0; in init_pattern_from_file()254 life->buf[0][i] = ALIVE_CELL; in init()325 …pos[NW][0] == -1 || pos[NW][1] == -1 ? 0 : oldbuf[pos[NW][0]*life->w + pos[NW][1]] == ALIVE_CELL) + in evolve()332 …(pos[SE][0] == -1 || pos[SE][1] == -1 ? 0 : oldbuf[pos[SE][0]*life->w + pos[SE][1]] == ALIVE_CELL); in evolve()334 alive = 1<<n & (cell == ALIVE_CELL ? life->stay_rule : life->born_rule); in evolve()335 if (alive) *newbuf = ALIVE_CELL; // new cell is alive in evolve()357 byte |= (buf[i*life->w+j] == ALIVE_CELL)<<(7-k++); in fill_picture_monoblack()382 if (life->mold && v != ALIVE_CELL) { in fill_picture_rgb()[all …]