EffectTV Class Reference

#include <effecttv.h>

Collaboration diagram for EffectTV:

Collaboration graph
[legend]

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]
YUVyuv

Static Public Attributes

static unsigned int fastrand_val = 0

Detailed Description

Definition at line 9 of file effecttv.h.


Constructor & Destructor Documentation

EffectTV::EffectTV ( int  w,
int  h 
)

Definition at line 13 of file effecttv.C.

References background, diff, diff2, yuv, and yuv_init().

Here is the call graph for this function:

EffectTV::~EffectTV (  )  [virtual]

Definition at line 24 of file effecttv.C.

References background, diff, diff2, and yuv.


Member Function Documentation

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 
)

unsigned char * EffectTV::image_bgsubtract_y ( unsigned char **  input_rows,
int  color_model 
)

void EffectTV::image_bgset_y ( VFrame frame  ) 

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 (  ) 

Definition at line 33 of file effecttv.C.

References BtoV, BtoY, GtoU, GtoV, GtoY, RtoU, RtoV, RtoY, UtoB, UtoG, VtoG, VtoR, and YtoRGB.

Referenced by EffectTV().

void EffectTV::frame_to_effecttv ( VFrame frame,
uint32_t *  tmp 
) [static]

void EffectTV::effecttv_to_frame ( VFrame frame,
uint32_t *  tmp 
) [static]

static unsigned int EffectTV::fastrand (  )  [inline, static]

Definition at line 36 of file effecttv.h.

References fastrand_val.

Referenced by BurnClient::process_package().


Field Documentation

unsigned int EffectTV::fastrand_val = 0 [static]

Definition at line 34 of file effecttv.h.

Referenced by fastrand().

Definition at line 39 of file effecttv.h.

Referenced by FFT::do_fft(), and image_diff_filter().

Definition at line 42 of file effecttv.h.

Referenced by image_diff_filter(), and FFT::symmetry().

Definition at line 44 of file effecttv.h.

Referenced by image_set_threshold_y().

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]

Definition at line 49 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::VtoR[0x100]

Definition at line 50 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::VtoG[0x100]

Definition at line 51 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::UtoG[0x100]

Definition at line 52 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::UtoB[0x100]

Definition at line 53 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::RtoY[0x100]

Definition at line 54 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::RtoU[0x100]

Definition at line 55 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::RtoV[0x100]

Definition at line 56 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::GtoY[0x100]

Definition at line 57 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::GtoU[0x100]

Definition at line 58 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::GtoV[0x100]

Definition at line 59 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::BtoY[0x100]

Definition at line 60 of file effecttv.h.

Referenced by yuv_init().

int EffectTV::BtoV[0x100]

Definition at line 61 of file effecttv.h.

Referenced by yuv_init().

Definition at line 62 of file effecttv.h.

Referenced by EffectTV(), and ~EffectTV().


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

Generated on Mon Apr 28 14:24:10 2008 for Cinelerra by  doxygen 1.5.5