ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ascii_frame_t Struct Reference

When code needs to work with ascii frame, it keeps output, output_target, width, source_height here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields. More...

#include <include/ascii-chat/video/ascii/render.h>

Public Member Functions

 _Alignas (64) uint32_t inline_scratch[512 *6]

Data Fields

outbuf_t output
outbuf_t * output_target
size_t width
size_t source_height
uint32_t table [64]
uint32_t * scratch
uint32_t * packed
uint32_t * index
uint32_t * glyph
uint32_t * fg
uint32_t * bg
uint8_t * luma
ascii_stabilizer_t * stabilizer
size_t row
bool temporal_preselected
bool dithered

Detailed Description

When code needs to work with ascii frame, it keeps output, output_target, width, source_height here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields.

Prepared row storage shared by ISA-owned processing loops. No pixel work occurs here.

Definition at line 72 of file include/ascii-chat/video/ascii/render.h.

Member Function Documentation

◆ _Alignas()

Field Documentation

◆ bg

◆ dithered

bool ascii_frame_t::dithered

Definition at line 82 of file include/ascii-chat/video/ascii/render.h.

Referenced by ascii_frame_emit_row(), and ascii_render().

◆ fg

◆ glyph

◆ index

◆ luma

◆ output

◆ output_target

outbuf_t* ascii_frame_t::output_target

Definition at line 74 of file include/ascii-chat/video/ascii/render.h.

Referenced by ascii_frame_finish().

◆ packed

◆ row

size_t ascii_frame_t::row

◆ scratch

uint32_t* ascii_frame_t::scratch

◆ source_height

size_t ascii_frame_t::source_height

◆ stabilizer

◆ table

◆ temporal_preselected

bool ascii_frame_t::temporal_preselected

◆ width


The documentation for this struct was generated from the following file: