al_color_rgb_to_yuv(3) al_color_rgb_to_yuv(3)

al_color_rgb_to_yuv - Allegro 5 API

#include <allegro5/allegro_color.h>
void al_color_rgb_to_yuv(float red, float green, float blue,

float *y, float *u, float *v)

Convert RGB values to YUV color space.

al_color_yuv(3), al_color_yuv_to_rgb(3)

Allegro reference manual