ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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
35uint8x16_t palette256_index_dithered_neon(uint8x16_t r, uint8x16_t g, uint8x16_t b, int pixel_offset);
36
47char *render_ascii_mono_neon(const image_t *image, const char *ascii_chars);
48
59char *render_ascii_color_neon(const image_t *image, bool use_background, bool use_256color, const char *ascii_chars);
60
73char *rgb_to_truecolor_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride_bytes);
74
84void image_flip_horizontal_neon(image_t *image);
85
86#endif
87
89
90#if SIMD_SUPPORT_NEON
91char *rgb_to_256color_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride, const char *palette);
92#endif
93
94#if SIMD_SUPPORT_NEON
95char *rgb_to_16color_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_halfblocks_neon(const uint8_t *rgb, int width, int height, int stride, const char *palette);
100#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...