ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
rgb_pixel_simd_t Struct Reference

SIMD-aligned RGB pixel structure for optimal NEON/AVX performance. More...

#include <include/ascii-chat/video/rgba/image.h>

Data Fields

uint8_t r
 Red color component (0-255)
 
uint8_t g
 Green color component (0-255)
 
uint8_t b
 Blue color component (0-255)
 
uint8_t padding
 Padding byte to align to 4-byte boundary (SIMD alignment)
 

Detailed Description

SIMD-aligned RGB pixel structure for optimal NEON/AVX performance.

SIMD-optimized RGB pixel structure with 4-byte alignment for efficient vector operations. Includes padding byte to align to 16-byte boundary for optimal SIMD (NEON/AVX/SSE) performance.

Note
Structure is 16-byte aligned for SIMD optimization.
Color components are in range 0-255.
Size: 4 bytes per pixel (includes padding).
Use this structure for SIMD-optimized image processing.

Definition at line 102 of file video/rgba/image.h.

Field Documentation

◆ b

uint8_t rgb_pixel_simd_t::b

Blue color component (0-255)

Definition at line 105 of file video/rgba/image.h.

◆ g

uint8_t rgb_pixel_simd_t::g

Green color component (0-255)

Definition at line 104 of file video/rgba/image.h.

◆ padding

uint8_t rgb_pixel_simd_t::padding

Padding byte to align to 4-byte boundary (SIMD alignment)

Definition at line 106 of file video/rgba/image.h.

◆ r

uint8_t rgb_pixel_simd_t::r

Red color component (0-255)

Definition at line 103 of file video/rgba/image.h.


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