papyrus logo

Papyrus::YUVA Struct Reference

A structure containing a YUV value. More...

#include <yuva.h>

List of all members.

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)
YUVAoperator= (const RGBA &rgb)
 operator RGBA ()

Public Attributes

double y
double u
double v
double alpha

Detailed Description

A structure containing a YUV value.

Constructor & Destructor Documentation

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  ) 

Member Function Documentation

Papyrus::YUVA::operator RGBA (  ) 
YUVA & Papyrus::YUVA::operator= ( const RGBA rgb  ) 
double Papyrus::YUVA::operator[] ( unsigned  index  ) 

References alpha, u, v, and y.

Member Data Documentation

The documentation for this struct was generated from the following files:

Generated on Fri Apr 16 12:41:10 2010 for papyrus by doxygen 1.6.1