#include <plugincolors.h>
Public Member Functions | |
| YUV () | |
| ~YUV () | |
| void | rgb_to_yuv_8 (int &y, int &u, int &v) |
| void | rgb_to_yuv_8 (int r, int g, int b, int &y, int &u, int &v) |
| void | rgb_to_yuv_8 (int r, int g, int b, unsigned char &y, unsigned char &u, unsigned char &v) |
| void | rgb_to_yuv_16 (int r, int g, int b, int &y, int &u, int &v) |
| void | rgb_to_yuv_8 (float r, float g, float b, float &y, float &u, float &v) |
| void | rgb_to_yuv_16 (float r, float g, float b, float &y, float &u, float &v) |
| void | yuv_to_rgb_8 (int &r, int &g, int &b) |
| void | yuv_to_rgb_8 (int &r, int &g, int &b, int y, int u, int v) |
| void | rgb_to_yuv_16 (int r, int g, int b, uint16_t &y, uint16_t &u, uint16_t &v) |
| void | yuv_to_rgb_16 (int &r, int &g, int &b, int y, int u, int v) |
| void | yuv_to_rgb_8 (float &r, float &g, float &b, float y, float u, float v) |
| void | yuv_to_rgb_16 (float &r, float &g, float &b, float y, float u, float v) |
Static Public Member Functions | |
| static void | rgb_to_yuv_f (float r, float g, float b, float &y, float &u, float &v) |
| static void | rgb_to_yuv_f (int r, int g, int b, int &y, int &u, int &v) |
| static void | yuv_to_rgb_f (float &r, float &g, float &b, float y, float u, float v) |
| static void | yuv_to_rgb_f (int &r, int &g, int &b, int y, int u, int v) |
Private Attributes | |
| int | rtoy_tab_8 [0x100] |
| int | gtoy_tab_8 [0x100] |
| int | btoy_tab_8 [0x100] |
| int | rtou_tab_8 [0x100] |
| int | gtou_tab_8 [0x100] |
| int | btou_tab_8 [0x100] |
| int | rtov_tab_8 [0x100] |
| int | gtov_tab_8 [0x100] |
| int | btov_tab_8 [0x100] |
| int | vtor_tab_8 [0x100] |
| int | vtog_tab_8 [0x100] |
| int | utog_tab_8 [0x100] |
| int | utob_tab_8 [0x100] |
| int * | vtor_8 |
| int * | vtog_8 |
| int * | utog_8 |
| int * | utob_8 |
| int | rtoy_tab_16 [0x10000] |
| int | gtoy_tab_16 [0x10000] |
| int | btoy_tab_16 [0x10000] |
| int | rtou_tab_16 [0x10000] |
| int | gtou_tab_16 [0x10000] |
| int | btou_tab_16 [0x10000] |
| int | rtov_tab_16 [0x10000] |
| int | gtov_tab_16 [0x10000] |
| int | btov_tab_16 [0x10000] |
| int | vtor_tab_16 [0x10000] |
| int | vtog_tab_16 [0x10000] |
| int | utog_tab_16 [0x10000] |
| int | utob_tab_16 [0x10000] |
| int * | vtor_16 |
| int * | vtog_16 |
| int * | utog_16 |
| int * | utob_16 |
Definition at line 32 of file plugincolors.h.
| YUV::YUV | ( | ) |
Definition at line 181 of file plugincolors.C.
References B_TO_U, B_TO_V, B_TO_Y, btou_tab_16, btou_tab_8, btov_tab_16, btov_tab_8, btoy_tab_16, btoy_tab_8, G_TO_U, G_TO_V, G_TO_Y, gtou_tab_16, gtou_tab_8, gtov_tab_16, gtov_tab_8, gtoy_tab_16, gtoy_tab_8, R_TO_U, R_TO_V, R_TO_Y, rtou_tab_16, rtou_tab_8, rtov_tab_16, rtov_tab_8, rtoy_tab_16, rtoy_tab_8, U_TO_B, U_TO_G, utob_16, utob_8, utob_tab_16, utob_tab_8, utog_16, utog_8, utog_tab_16, utog_tab_8, V_TO_G, V_TO_R, vtog_16, vtog_8, vtog_tab_16, vtog_tab_8, vtor_16, vtor_8, vtor_tab_16, and vtor_tab_8.
| YUV::~YUV | ( | ) |
Definition at line 246 of file plugincolors.C.
| void YUV::rgb_to_yuv_8 | ( | int & | y, | |
| int & | u, | |||
| int & | v | |||
| ) | [inline] |
Definition at line 38 of file plugincolors.h.
References b, btou_tab_8, btov_tab_8, btoy_tab_8, gtou_tab_8, gtov_tab_8, gtoy_tab_8, r, rtou_tab_8, rtov_tab_8, and rtoy_tab_8.
Referenced by HSV::hsv_to_yuv(), TitleTranslateUnit::process_package(), GradientUnit::process_package(), rgb_to_yuv(), and ColorBalanceEngine::run().
| void YUV::rgb_to_yuv_8 | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int & | y, | |||
| int & | u, | |||
| int & | v | |||
| ) | [inline] |
Definition at line 48 of file plugincolors.h.
References btou_tab_8, btov_tab_8, btoy_tab_8, gtou_tab_8, gtov_tab_8, gtoy_tab_8, rtou_tab_8, rtov_tab_8, and rtoy_tab_8.
| void YUV::rgb_to_yuv_8 | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| unsigned char & | y, | |||
| unsigned char & | u, | |||
| unsigned char & | v | |||
| ) | [inline] |
Definition at line 55 of file plugincolors.h.
References btou_tab_8, btov_tab_8, btoy_tab_8, gtou_tab_8, gtov_tab_8, gtoy_tab_8, rtou_tab_8, rtov_tab_8, and rtoy_tab_8.
| static void YUV::rgb_to_yuv_f | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float & | y, | |||
| float & | u, | |||
| float & | v | |||
| ) | [inline, static] |
Definition at line 62 of file plugincolors.h.
References B_TO_U, B_TO_V, B_TO_Y, G_TO_U, G_TO_V, G_TO_Y, R_TO_U, R_TO_V, and R_TO_Y.
Referenced by ThresholdMain::handle_opengl(), GradientMain::handle_opengl(), ChromaKeyUnit::process_chromakey(), GammaUnit::process_package(), and rgb_to_yuv().
| void YUV::rgb_to_yuv_16 | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int & | y, | |||
| int & | u, | |||
| int & | v | |||
| ) | [inline] |
Definition at line 69 of file plugincolors.h.
References btou_tab_16, btov_tab_16, btoy_tab_16, gtou_tab_16, gtov_tab_16, gtoy_tab_16, rtou_tab_16, rtov_tab_16, and rtoy_tab_16.
Referenced by HSV::hsv_to_yuv(), TitleTranslateUnit::process_package(), rgb_to_yuv(), and ColorBalanceEngine::run().
| void YUV::rgb_to_yuv_8 | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float & | y, | |||
| float & | u, | |||
| float & | v | |||
| ) | [inline] |
Definition at line 77 of file plugincolors.h.
| void YUV::rgb_to_yuv_16 | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float & | y, | |||
| float & | u, | |||
| float & | v | |||
| ) | [inline] |
Definition at line 81 of file plugincolors.h.
| static void YUV::rgb_to_yuv_f | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int & | y, | |||
| int & | u, | |||
| int & | v | |||
| ) | [inline, static] |
Definition at line 85 of file plugincolors.h.
| void YUV::yuv_to_rgb_8 | ( | int & | r, | |
| int & | g, | |||
| int & | b | |||
| ) | [inline] |
Definition at line 89 of file plugincolors.h.
References CLAMP, utob_tab_8, utog_tab_8, vtog_tab_8, and vtor_tab_8.
Referenced by VideoScopeUnit::render_data(), ColorBalanceEngine::run(), and HSV::yuv_to_hsv().
| void YUV::yuv_to_rgb_8 | ( | int & | r, | |
| int & | g, | |||
| int & | b, | |||
| int | y, | |||
| int | u, | |||
| int | v | |||
| ) | [inline] |
Definition at line 103 of file plugincolors.h.
References CLAMP, utob_tab_8, utog_tab_8, vtog_tab_8, and vtor_tab_8.
| static void YUV::yuv_to_rgb_f | ( | float & | r, | |
| float & | g, | |||
| float & | b, | |||
| float | y, | |||
| float | u, | |||
| float | v | |||
| ) | [inline, static] |
Definition at line 115 of file plugincolors.h.
References U_TO_B, U_TO_G, V_TO_G, and V_TO_R.
Referenced by ChromaKeyUnit::process_chromakey(), and GammaUnit::process_package().
| void YUV::rgb_to_yuv_16 | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| uint16_t & | y, | |||
| uint16_t & | u, | |||
| uint16_t & | v | |||
| ) | [inline] |
Definition at line 122 of file plugincolors.h.
References btou_tab_16, btov_tab_16, btoy_tab_16, gtou_tab_16, gtov_tab_16, gtoy_tab_16, rtou_tab_16, rtov_tab_16, and rtoy_tab_16.
| void YUV::yuv_to_rgb_16 | ( | int & | r, | |
| int & | g, | |||
| int & | b, | |||
| int | y, | |||
| int | u, | |||
| int | v | |||
| ) | [inline] |
Definition at line 129 of file plugincolors.h.
References CLAMP, utob_tab_16, utog_tab_16, vtog_tab_16, and vtor_tab_16.
Referenced by HistogramUnit::process_package(), VideoScopeUnit::render_data(), ColorBalanceEngine::run(), and HSV::yuv_to_hsv().
| void YUV::yuv_to_rgb_8 | ( | float & | r, | |
| float & | g, | |||
| float & | b, | |||
| float | y, | |||
| float | u, | |||
| float | v | |||
| ) | [inline] |
Definition at line 142 of file plugincolors.h.
| void YUV::yuv_to_rgb_16 | ( | float & | r, | |
| float & | g, | |||
| float & | b, | |||
| float | y, | |||
| float | u, | |||
| float | v | |||
| ) | [inline] |
Definition at line 147 of file plugincolors.h.
| static void YUV::yuv_to_rgb_f | ( | int & | r, | |
| int & | g, | |||
| int & | b, | |||
| int | y, | |||
| int | u, | |||
| int | v | |||
| ) | [inline, static] |
Definition at line 151 of file plugincolors.h.
int YUV::rtoy_tab_8[0x100] [private] |
int YUV::gtoy_tab_8[0x100] [private] |
int YUV::btoy_tab_8[0x100] [private] |
int YUV::rtou_tab_8[0x100] [private] |
int YUV::gtou_tab_8[0x100] [private] |
int YUV::btou_tab_8[0x100] [private] |
int YUV::rtov_tab_8[0x100] [private] |
int YUV::gtov_tab_8[0x100] [private] |
int YUV::btov_tab_8[0x100] [private] |
int YUV::vtor_tab_8[0x100] [private] |
int YUV::vtog_tab_8[0x100] [private] |
int YUV::utog_tab_8[0x100] [private] |
int YUV::utob_tab_8[0x100] [private] |
int* YUV::vtor_8 [private] |
int * YUV::vtog_8 [private] |
int * YUV::utog_8 [private] |
int * YUV::utob_8 [private] |
int YUV::rtoy_tab_16[0x10000] [private] |
int YUV::gtoy_tab_16[0x10000] [private] |
int YUV::btoy_tab_16[0x10000] [private] |
int YUV::rtou_tab_16[0x10000] [private] |
int YUV::gtou_tab_16[0x10000] [private] |
int YUV::btou_tab_16[0x10000] [private] |
int YUV::rtov_tab_16[0x10000] [private] |
int YUV::gtov_tab_16[0x10000] [private] |
int YUV::btov_tab_16[0x10000] [private] |
int YUV::vtor_tab_16[0x10000] [private] |
int YUV::vtog_tab_16[0x10000] [private] |
int YUV::utog_tab_16[0x10000] [private] |
int YUV::utob_tab_16[0x10000] [private] |
int* YUV::vtor_16 [private] |
int * YUV::vtog_16 [private] |
int * YUV::utog_16 [private] |
int * YUV::utob_16 [private] |
1.5.5