ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ssse3.h
Go to the documentation of this file.
1#pragma once
2
16
17#include <stdint.h>
18#include <stddef.h>
19#include <stdbool.h>
21
22#if SIMD_SUPPORT_SSSE3
23
34char *render_ascii_mono_ssse3(const image_t *image, const char *ascii_chars);
35
46char *render_ascii_color_ssse3(const image_t *image, bool use_background, bool use_256color, const char *ascii_chars);
47
53void ssse3_caches_destroy(void);
54
55#endif /* SIMD_SUPPORT_SSSE3 */
56
58
59#if SIMD_SUPPORT_SSSE3
60char *rgb_to_truecolor_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride);
61#endif
62
63#if SIMD_SUPPORT_SSSE3
64char *rgb_to_256color_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride, const char *palette);
65#endif
66
67#if SIMD_SUPPORT_SSSE3
68char *rgb_to_16color_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride, const char *palette);
69#endif
70
71#if SIMD_SUPPORT_SSSE3
72char *rgb_to_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride, const char *palette);
73#endif
unsigned int height
Definition fft.c:23
unsigned int width
Definition fft.c:23
unsigned char uint8_t
Definition common.h:60
SIMD-friendly storage for one RGB pixel. r, g, and b hold the color channels and padding keeps the la...