ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
luminance.h
Go to the documentation of this file.
1#pragma once
3char *ascii_luminance_render(const image_t *image, const char *palette, ascii_color_t color, bool background, bool dither, const simd_cells_t *ops);
4char *ascii_luminance_halfblocks(const uint8_t *rgb, int width, int height, int stride, ascii_color_t color, const simd_cells_t *ops);
unsigned int height
Definition fft.c:24
unsigned int width
Definition fft.c:24
unsigned char uint8_t
char * ascii_luminance_halfblocks(const uint8_t *rgb, int width, int height, int stride, ascii_color_t color, const simd_cells_t *ops)
char * ascii_luminance_render(const image_t *image, const char *palette, ascii_color_t color, bool background, bool dither, const simd_cells_t *ops)
SIMD-friendly storage for one RGB pixel. r, g, and b hold the color channels and padding keeps the la...
The useful part of simd cells is in luminance: together they describe what is pending,...
Definition cells.h:14