al_color_yuv(3alleg5)
π al_color_yuv β Allegro 5 API π
okay bestie, welcome to the al_color_yuv(3alleg5) page, straight out of the Allegro reference manual. it's giving "short but iconic", and honestly? we love a page that knows exactly what it is. no filler, just vibes and one (1) very useful function. π
β¨ NAME β¨
al_color_yuv β Allegro 5 API π
π SYNOPSIS π
#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_yuv(float y, float u, float v)
π¦ DESCRIPTION π¦
so like, here's the tea β β this function hands you back an ALLEGRO_COLOR(3alleg5) structure, built straight from your YUV values. that's it. that's the whole job. she's a builder, she's a converter, she's lowkey the plug for getting YUV data into color form. β¨
bestie reminder: the YUV values come in asfloats βy,uandvβ and what comes out the other side is a full-onALLEGRO_COLOR. no cap. π
π SEE ALSO π
al_color_yuv_to_rgb(3alleg5)β for when you need to go YUV β RGB πΈal_color_rgb_to_yuv(3alleg5)β and the reverse, RGB β YUV π«Ά
iykyk, these three are a little friend group and they always show up together. π
and that's the whole page, periodt. π this was al_color_yuv(3alleg5) from the Allegro reference manual β tysm for reading, mwah, go make something gorgeous with your colors. πβ¨π¦
π¦ 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