A structure containing a YUV value. More...
#include <yuva.h>
Public Member Functions | |
YUVA (double yuv_y=0.0, double yuv_u=0.0, double yuv_v=0.0, double yuv_a=1.0) | |
YUVA (const RGBA &rgb) | |
double | operator[] (unsigned index) |
YUVA & | operator= (const RGBA &rgb) |
operator RGBA () | |
Public Attributes | |
double | y |
double | u |
double | v |
double | alpha |
A structure containing a YUV value.
Papyrus::YUVA::YUVA | ( | double | yuv_y = 0.0 , |
|
double | yuv_u = 0.0 , |
|||
double | yuv_v = 0.0 , |
|||
double | yuv_a = 1.0 | |||
) |
Papyrus::YUVA::YUVA | ( | const RGBA & | rgb | ) |
Papyrus::YUVA::operator RGBA | ( | ) |
References alpha, Papyrus::RGBA::alpha, Papyrus::RGBA::blue, Papyrus::RGBA::green, Papyrus::RGBA::red, u, v, y, and Papyrus::yuv_to_rgb().
References Papyrus::RGBA::alpha, alpha, Papyrus::RGBA::blue, Papyrus::RGBA::green, Papyrus::RGBA::red, Papyrus::rgb_to_yuv(), u, v, and y.
double Papyrus::YUVA::alpha |
Referenced by operator RGBA(), operator=(), and operator[]().
double Papyrus::YUVA::u |
Referenced by operator RGBA(), operator=(), and operator[]().
double Papyrus::YUVA::v |
Referenced by operator RGBA(), operator=(), and operator[]().
double Papyrus::YUVA::y |
Referenced by operator RGBA(), operator=(), and operator[]().