al_color_rgb_to_yuv(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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