ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
neon.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_NEON
23#include <arm_neon.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
39uint8x16_t palette256_index_dithered_neon(uint8x16_t r, uint8x16_t g, uint8x16_t b, int pixel_offset);
40
51char *render_ascii_mono_neon(const image_t *image, const char *ascii_chars);
52
63char *render_ascii_color_neon(const image_t *image, bool use_background, bool use_256color, const char *ascii_chars);
64
77char *rgb_to_truecolor_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride_bytes);
78
88void image_flip_horizontal_neon(image_t *image);
89
90#endif
91
93
94#if SIMD_SUPPORT_NEON
95char *rgb_to_256color_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride, const char *palette);
96#endif
97
98#if SIMD_SUPPORT_NEON
99char *rgb_to_16color_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride, const char *palette);
100#endif
101
102#if SIMD_SUPPORT_NEON
103char *rgb_to_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride, const char *palette);
104#endif
105
106#ifdef __cplusplus
107}
108#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...