#include <effecttv.h>

Public Member Functions | |
| EffectTV (int w, int h) | |
| virtual | ~EffectTV () |
| void | image_set_threshold_y (int threshold) |
| unsigned char * | image_bgsubtract_update_y (unsigned char **input_rows, unsigned char **output_rows, int color_model) |
| unsigned char * | image_bgsubtract_y (unsigned char **input_rows, int color_model) |
| void | image_bgset_y (VFrame *frame) |
| unsigned char * | image_diff_filter (unsigned char *diff) |
| int | yuv_init () |
Static Public Member Functions | |
| static void | frame_to_effecttv (VFrame *frame, uint32_t *tmp) |
| static void | effecttv_to_frame (VFrame *frame, uint32_t *tmp) |
| static unsigned int | fastrand () |
Data Fields | |
| int | w |
| int | h |
| int | y_threshold |
| unsigned char * | background |
| unsigned char * | diff |
| unsigned char * | diff2 |
| int | YtoRGB [0x100] |
| int | VtoR [0x100] |
| int | VtoG [0x100] |
| int | UtoG [0x100] |
| int | UtoB [0x100] |
| int | RtoY [0x100] |
| int | RtoU [0x100] |
| int | RtoV [0x100] |
| int | GtoY [0x100] |
| int | GtoU [0x100] |
| int | GtoV [0x100] |
| int | BtoY [0x100] |
| int | BtoV [0x100] |
| YUV * | yuv |
Static Public Attributes | |
| static unsigned int | fastrand_val = 0 |
Definition at line 9 of file effecttv.h.
| EffectTV::EffectTV | ( | int | w, | |
| int | h | |||
| ) |
Definition at line 13 of file effecttv.C.
References background, diff, diff2, yuv, and yuv_init().

| EffectTV::~EffectTV | ( | ) | [virtual] |
| void EffectTV::image_set_threshold_y | ( | int | threshold | ) |
Definition at line 178 of file effecttv.C.
References y_threshold.
Referenced by BurnMain::process_realtime(), and HoloMain::reconfigure().
| unsigned char * EffectTV::image_bgsubtract_update_y | ( | unsigned char ** | input_rows, | |
| unsigned char ** | output_rows, | |||
| int | color_model | |||
| ) |
Definition at line 264 of file effecttv.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, diff, and IMAGE_BGSUBTRACT_UPDATE_Y.
| unsigned char * EffectTV::image_bgsubtract_y | ( | unsigned char ** | input_rows, | |
| int | color_model | |||
| ) |
Definition at line 413 of file effecttv.C.
References background, BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, diff, IMAGE_BGSUBTRACT_Y, and r.
Referenced by HoloClient::process_package(), and BurnClient::process_package().
| void EffectTV::image_bgset_y | ( | VFrame * | frame | ) |
Definition at line 591 of file effecttv.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::get_color_model(), and IMAGE_BGSET_Y.
Referenced by BurnMain::process_realtime(), and HoloMain::set_background().

| unsigned char * EffectTV::image_diff_filter | ( | unsigned char * | diff | ) |
Definition at line 484 of file effecttv.C.
References diff2, h, height, src, w, and width.
Referenced by HoloClient::process_package().
| int EffectTV::yuv_init | ( | ) |
| void EffectTV::frame_to_effecttv | ( | VFrame * | frame, | |
| uint32_t * | tmp | |||
| ) | [static] |
Definition at line 86 of file effecttv.C.
References BC_RGB161616, BC_RGB888, BC_RGBA16161616, BC_RGBA8888, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, FRAME_TO_EFFECTTV, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), height, and width.

| void EffectTV::effecttv_to_frame | ( | VFrame * | frame, | |
| uint32_t * | tmp | |||
| ) | [static] |
Definition at line 147 of file effecttv.C.
References BC_RGB161616, BC_RGB888, BC_RGBA16161616, BC_RGBA8888, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, EFFECTTV_TO_FRAME, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), height, and width.

| static unsigned int EffectTV::fastrand | ( | ) | [inline, static] |
Definition at line 36 of file effecttv.h.
References fastrand_val.
Referenced by BurnClient::process_package().
unsigned int EffectTV::fastrand_val = 0 [static] |
| int EffectTV::w |
| int EffectTV::h |
| unsigned char* EffectTV::background |
Definition at line 46 of file effecttv.h.
Referenced by EffectTV(), image_bgsubtract_y(), and ~EffectTV().
| unsigned char* EffectTV::diff |
Definition at line 47 of file effecttv.h.
Referenced by EffectTV(), image_bgsubtract_update_y(), image_bgsubtract_y(), and ~EffectTV().
| unsigned char * EffectTV::diff2 |
Definition at line 47 of file effecttv.h.
Referenced by EffectTV(), image_diff_filter(), and ~EffectTV().
| int EffectTV::YtoRGB[0x100] |
| int EffectTV::VtoR[0x100] |
| int EffectTV::VtoG[0x100] |
| int EffectTV::UtoG[0x100] |
| int EffectTV::UtoB[0x100] |
| int EffectTV::RtoY[0x100] |
| int EffectTV::RtoU[0x100] |
| int EffectTV::RtoV[0x100] |
| int EffectTV::GtoY[0x100] |
| int EffectTV::GtoU[0x100] |
| int EffectTV::GtoV[0x100] |
| int EffectTV::BtoY[0x100] |
| int EffectTV::BtoV[0x100] |
1.5.5