al_color_rgb_to_yuv(3alleg5)
β¨ al_color_rgb_to_yuv β¨
okay bestie, welcome to the Allegro 5 API manual, we're doing colors today π
π NAME π
al_color_rgb_to_yuv β the glow-up spell that yeets your RGB into YUV π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_color.h>
void al_color_rgb_to_yuv(float red, float green, float blue,
float *y, float *u, float *v)
π¦ DESCRIPTION π¦
so basically it converts RGB values into the YUV color space. that's it, that's the whole vibe. you hand it your red, green and blue, and it drops the y, u and v results into the pointers you passed in. no cap, it's literally just a color-space translation and nothing else π«Ά
π SEE ALSO π
π heads up: this is Allegro reference manual energy β al_color_rgb_to_yuv(3alleg5). that's the source, that's the version, that's the whole page. periodt. πβ¨π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms