HSV Class Reference

#include <plugincolors.h>

Collaboration diagram for HSV:

Collaboration graph
[legend]

Public Member Functions

 HSV ()
 ~HSV ()

Static Public Member Functions

static int rgb_to_hsv (float r, float g, float b, float &h, float &s, float &v)
static int hsv_to_rgb (float &r, float &g, float &b, float h, float s, float v)
static int yuv_to_hsv (int y, int u, int v, float &h, float &s, float &va, int max)
static int hsv_to_yuv (int &y, int &u, int &v, float h, float s, float va, int max)
static int yuv_to_hsv (float y, float u, float v, float &h, float &s, float &va, float max)
static int hsv_to_yuv (float &y, float &u, float &v, float h, float s, float va, float max)

Static Public Attributes

static YUV yuv_static

Detailed Description

Definition at line 186 of file plugincolors.h.


Constructor & Destructor Documentation

HSV::HSV (  ) 

Definition at line 5 of file plugincolors.C.

HSV::~HSV (  ) 

Definition at line 10 of file plugincolors.C.


Member Function Documentation

int HSV::rgb_to_hsv ( float  r,
float  g,
float  b,
float &  h,
float &  s,
float &  v 
) [static]

int HSV::hsv_to_rgb ( float &  r,
float &  g,
float &  b,
float  h,
float  s,
float  v 
) [static]

int HSV::yuv_to_hsv ( int  y,
int  u,
int  v,
float &  h,
float &  s,
float &  va,
int  max 
) [static]

Definition at line 108 of file plugincolors.C.

References b, r, rgb_to_hsv(), s2, yuv_static, YUV::yuv_to_rgb_16(), and YUV::yuv_to_rgb_8().

Here is the call graph for this function:

int HSV::hsv_to_yuv ( int &  y,
int &  u,
int &  v,
float  h,
float  s,
float  va,
int  max 
) [static]

Definition at line 134 of file plugincolors.C.

References b, CLIP, hsv_to_rgb(), r, YUV::rgb_to_yuv_16(), YUV::rgb_to_yuv_8(), and yuv_static.

Here is the call graph for this function:

static int HSV::yuv_to_hsv ( float  y,
float  u,
float  v,
float &  h,
float &  s,
float &  va,
float  max 
) [inline, static]

Definition at line 200 of file plugincolors.h.

static int HSV::hsv_to_yuv ( float &  y,
float &  u,
float &  v,
float  h,
float  s,
float  va,
float  max 
) [inline, static]

Definition at line 201 of file plugincolors.h.


Field Documentation

YUV HSV::yuv_static [static]

Definition at line 201 of file plugincolors.h.

Referenced by hsv_to_yuv(), and yuv_to_hsv().


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

Generated on Mon Apr 28 14:27:56 2008 for Cinelerra by  doxygen 1.5.5