![]() |
N64 QOI Encoder Demo 1.0.1
Encoder for N64 that saves it to SD card
|
QOI pixel structure for storing the color values of a pixel in both individual channels and as a concatenated value for easy comparison and hashing. More...
#include <qoi_enc_n64.h>
Data Fields | |
| struct { | |
| uint8_t red | |
| The red value of the pixel. More... | |
| uint8_t green | |
| The green value of the pixel. More... | |
| uint8_t blue | |
| The blue value of the pixel. More... | |
| uint8_t alpha | |
| The alpha value of the pixel, which represents the transparency of the pixel. A value of 0 means the pixel is fully transparent, while a value of 255 means the pixel is fully opaque. More... | |
| }; | |
| The individual color channels of the pixel. | |
| uint8_t | channels [4] |
| channels of the pixel in an array for easy access to channels by index | |
| uint32_t | concatenated_pixel_values |
| The concatenated pixel values in a single 32-bit integer for easy comparison of pixels as a single value instead of comparing each channel separately. The order of the channels in the concatenated value is RGBA, with red being the most significant byte and alpha being the least significant byte. | |
| struct { | |
| uint8_t red | |
| The red value of the pixel. More... | |
| uint8_t green | |
| The green value of the pixel. More... | |
| uint8_t blue | |
| The blue value of the pixel. More... | |
| uint8_t alpha | |
| The alpha value of the pixel, which represents the transparency of the pixel. A value of 0 means the pixel is fully transparent, while a value of 255 means the pixel is fully opaque. More... | |
| }; | |
| The individual color channels of the pixel. | |
QOI pixel structure for storing the color values of a pixel in both individual channels and as a concatenated value for easy comparison and hashing.
Definition at line 107 of file qoi_enc_n64.h.
| struct { ... } |
The individual color channels of the pixel.
| struct { ... } |
The individual color channels of the pixel.
| uint8_t alpha |
The alpha value of the pixel, which represents the transparency of the pixel. A value of 0 means the pixel is fully transparent, while a value of 255 means the pixel is fully opaque.
Definition at line 118 of file qoi_enc_n64.h.
| uint8_t blue |
The blue value of the pixel.
Definition at line 116 of file qoi_enc_n64.h.
| uint8_t channels |
channels of the pixel in an array for easy access to channels by index
Definition at line 122 of file qoi_enc_n64.h.
| uint32_t concatenated_pixel_values |
The concatenated pixel values in a single 32-bit integer for easy comparison of pixels as a single value instead of comparing each channel separately. The order of the channels in the concatenated value is RGBA, with red being the most significant byte and alpha being the least significant byte.
Definition at line 124 of file qoi_enc_n64.h.
| uint8_t green |
The green value of the pixel.
Definition at line 114 of file qoi_enc_n64.h.
| uint8_t red |
The red value of the pixel.
Definition at line 112 of file qoi_enc_n64.h.