al_color_yuv(3alleg5)

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

πŸ’– 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 as floats β€” y, u and v β€” and what comes out the other side is a full-on ALLEGRO_COLOR. no cap. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

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