ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
sve.h
Go to the documentation of this file.
1#pragma once
2
17
18#include <stdint.h>
19#include <stddef.h>
20#include <stdbool.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#if SIMD_SUPPORT_SVE
28
39char *render_ascii_mono_sve(const image_t *image, const char *ascii_chars);
40
51char *render_ascii_color_sve(const image_t *image, bool use_background, bool use_256color, const char *ascii_chars);
52
58void sve_caches_destroy(void);
59
60#endif /* SIMD_SUPPORT_SVE */
61
63
64#if SIMD_SUPPORT_SVE
65char *rgb_to_truecolor_halfblocks_sve(const uint8_t *rgb, int width, int height, int stride);
66#endif
67
68#if SIMD_SUPPORT_SVE
69char *rgb_to_256color_halfblocks_sve(const uint8_t *rgb, int width, int height, int stride, const char *palette);
70#endif
71
72#if SIMD_SUPPORT_SVE
73char *rgb_to_16color_halfblocks_sve(const uint8_t *rgb, int width, int height, int stride, const char *palette);
74#endif
75
76#if SIMD_SUPPORT_SVE
77char *rgb_to_halfblocks_sve(const uint8_t *rgb, int width, int height, int stride, const char *palette);
78#endif
79
80#ifdef __cplusplus
81}
82#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...