ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
avx2/mono.c
Go to the documentation of this file.
1#if SIMD_SUPPORT_AVX2
2#define SIMD_CELL_AVX2 1
3#define SIMD_CELL_ISA avx2
4#include "../simd/lookup.c"
7char *render_ascii_mono_avx2(const image_t *image, const char *palette) {
8 return render_ascii_cells_avx2(image, palette, ASCII_COLOR_NONE, false);
9}
10#endif
AVX2-optimized ASCII rendering functions.
char * render_ascii_cells_avx2(const image_t *, const char *, ascii_color_t, bool)
SIMD-friendly storage for one RGB pixel. r, g, and b hold the color channels and padding keeps the la...