Home
last modified time | relevance | path

Searched refs:ALIVE_CELL (Results 1 – 7 of 7) sorted by relevance

/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/
H A Dvsrc_life.c75 #define ALIVE_CELL 0xFF macro
154 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 …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/
H A Dvsrc_life.c76 #define ALIVE_CELL 0xFF macro
155 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 …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/
H A Dvsrc_life.c76 #define ALIVE_CELL 0xFF macro
155 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 …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/
H A Dvsrc_life.c76 #define ALIVE_CELL 0xFF macro
155 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 …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/
H A Dvsrc_life.c75 #define ALIVE_CELL 0xFF macro
154 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 …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/
H A Dvsrc_life.c76 #define ALIVE_CELL 0xFF macro
155 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 …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/
H A Dvsrc_life.c76 #define ALIVE_CELL 0xFF macro
155 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 …]