ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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#ifdef __cplusplus
23extern "C" {
24#endif
25
26#if SIMD_SUPPORT_SSSE3
27
38char *render_ascii_mono_ssse3(const image_t *image, const char *ascii_chars);
39
50char *render_ascii_color_ssse3(const image_t *image, bool use_background, bool use_256color, const char *ascii_chars);
51
57void ssse3_caches_destroy(void);
58
59#endif /* SIMD_SUPPORT_SSSE3 */
60
62
63#if SIMD_SUPPORT_SSSE3
64char *rgb_to_truecolor_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride);
65#endif
66
67#if SIMD_SUPPORT_SSSE3
68char *rgb_to_256color_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_16color_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride, const char *palette);
73#endif
74
75#if SIMD_SUPPORT_SSSE3
76char *rgb_to_halfblocks_ssse3(const uint8_t *rgb, int width, int height, int stride, const char *palette);
77#endif
78
79#ifdef __cplusplus
80}
81#endif
unsigned int height
Definition fft.c:24
unsigned int width
Definition fft.c:24
unsigned char uint8_t
SIMD-friendly storage for one RGB pixel. r, g, and b hold the color channels and padding keeps the la...