ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
halfblock.h
Go to the documentation of this file.
1#pragma once
2
17
18#include <stdint.h>
19#include <stddef.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
52char *rgb_to_truecolor_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes);
53
69char *rgb_to_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette);
70
88char *rgb_to_16color_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette);
89
107char *rgb_to_256color_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette);
108
110
111#ifdef __cplusplus
112}
113#endif
unsigned int height
Definition fft.c:24
unsigned int width
Definition fft.c:24
unsigned char uint8_t
char * rgb_to_truecolor_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes)
Convert RGB to truecolor half-blocks using scalar code.
char * rgb_to_16color_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette)
Convert RGB to 16-color half-blocks using scalar code.
char * rgb_to_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette)
Convert RGB to monochrome (grayscale) half-blocks using scalar code.
char * rgb_to_256color_halfblocks_scalar(const uint8_t *rgb, int width, int height, int stride_bytes, const char *palette)
Convert RGB to 256-color half-blocks using scalar code.