BlurEngine Class Reference

#include <blur.h>

Inherits Thread.

Collaboration diagram for BlurEngine:

Collaboration graph
[legend]

Public Member Functions

 BlurEngine (BlurMain *plugin, int start_y, int end_y)
 ~BlurEngine ()
void run ()
int start_process_frame (VFrame *output, VFrame *input)
int wait_process_frame ()
int get_constants ()
int reconfigure ()
int transfer_pixels (pixel_f *src1, pixel_f *src2, pixel_f *dest, int size)
int multiply_alpha (pixel_f *row, int size)
int separate_alpha (pixel_f *row, int size)
int blur_strip3 (int &size)
int blur_strip4 (int &size)

Data Fields

int color_model
float vmax
pixel_fval_p
pixel_fval_m
pixel_fvp
pixel_fvm
pixel_fsp_p
pixel_fsp_m
float n_p [5]
float n_m [5]
float d_p [5]
float d_m [5]
float bd_p [5]
float bd_m [5]
float std_dev
pixel_fsrc
pixel_fdst
pixel_f initial_p
pixel_f initial_m
int terms
BlurMainplugin
int start_in
int start_out
int end_in
int end_out
VFrameoutput
VFrameinput
int last_frame
Mutex input_lock
Mutex output_lock

Detailed Description

Definition at line 70 of file blur.h.


Constructor & Destructor Documentation

BlurEngine::BlurEngine ( BlurMain plugin,
int  start_y,
int  end_y 
)

Definition at line 316 of file blur.C.

References dst, VFrame::get_h(), VFrame::get_w(), BlurMain::input, input_lock, last_frame, Mutex::lock(), output_lock, Thread::set_synchronous(), src, val_m, and val_p.

Here is the call graph for this function:

BlurEngine::~BlurEngine (  ) 

Definition at line 334 of file blur.C.

References input_lock, Thread::join(), last_frame, and Mutex::unlock().

Here is the call graph for this function:


Member Function Documentation

void BlurEngine::run (  )  [virtual]

int BlurEngine::start_process_frame ( VFrame output,
VFrame input 
)

Definition at line 341 of file blur.C.

References input_lock, and Mutex::unlock().

Referenced by BlurMain::process_realtime().

Here is the call graph for this function:

int BlurEngine::wait_process_frame (  ) 

Definition at line 349 of file blur.C.

References Mutex::lock(), and output_lock.

Referenced by BlurMain::process_realtime().

Here is the call graph for this function:

int BlurEngine::get_constants (  ) 

Definition at line 506 of file blur.C.

References a, b, bd_m, bd_p, constants, d_m, d_p, M_PI, n_m, n_p, and std_dev.

Referenced by reconfigure().

int BlurEngine::reconfigure (  ) 

Definition at line 499 of file blur.C.

References get_constants(), plugin, and std_dev.

Here is the call graph for this function:

int BlurEngine::transfer_pixels ( pixel_f src1,
pixel_f src2,
pixel_f dest,
int  size 
)

Definition at line 591 of file blur.C.

References pixel_f::a, pixel_f::b, BOUNDARY, pixel_f::g, and pixel_f::r.

Referenced by blur_strip3(), and blur_strip4().

int BlurEngine::multiply_alpha ( pixel_f row,
int  size 
)

Definition at line 621 of file blur.C.

Referenced by blur_strip3(), and blur_strip4().

int BlurEngine::separate_alpha ( pixel_f row,
int  size 
)

Definition at line 636 of file blur.C.

Referenced by blur_strip3(), and blur_strip4().

int BlurEngine::blur_strip3 ( int &  size  ) 

Definition at line 658 of file blur.C.

References pixel_f::b, bd_m, bd_p, d_m, d_p, dst, pixel_f::g, initial_m, initial_p, multiply_alpha(), n_m, n_p, plugin, pixel_f::r, separate_alpha(), sp_m, sp_p, src, terms, transfer_pixels(), val_m, val_p, vm, and vp.

Here is the call graph for this function:

int BlurEngine::blur_strip4 ( int &  size  ) 

Definition at line 721 of file blur.C.

References pixel_f::a, pixel_f::b, bd_m, bd_p, d_m, d_p, dst, pixel_f::g, initial_m, initial_p, multiply_alpha(), n_m, n_p, plugin, pixel_f::r, separate_alpha(), sp_m, sp_p, src, terms, transfer_pixels(), val_m, val_p, vm, and vp.

Here is the call graph for this function:


Field Documentation

Definition at line 89 of file blur.h.

Referenced by run().

Definition at line 90 of file blur.h.

Definition at line 91 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and BlurEngine().

Definition at line 91 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and BlurEngine().

Definition at line 91 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 91 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 92 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 92 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

float BlurEngine::n_p[5]

Definition at line 93 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

float BlurEngine::n_m[5]

Definition at line 93 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

float BlurEngine::d_p[5]

Definition at line 94 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

float BlurEngine::d_m[5]

Definition at line 94 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

float BlurEngine::bd_p[5]

Definition at line 95 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

float BlurEngine::bd_m[5]

Definition at line 95 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and get_constants().

Definition at line 96 of file blur.h.

Referenced by get_constants(), and reconfigure().

Definition at line 97 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and BlurEngine().

Definition at line 97 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), and BlurEngine().

Definition at line 98 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 99 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 100 of file blur.h.

Referenced by blur_strip3(), and blur_strip4().

Definition at line 101 of file blur.h.

Referenced by blur_strip3(), blur_strip4(), reconfigure(), and run().

Definition at line 103 of file blur.h.

Referenced by run().

Definition at line 103 of file blur.h.

Referenced by run().

Definition at line 104 of file blur.h.

Referenced by run().

Definition at line 104 of file blur.h.

Referenced by run().

Definition at line 105 of file blur.h.

Definition at line 105 of file blur.h.

Referenced by run().

Definition at line 106 of file blur.h.

Referenced by BlurEngine(), run(), and ~BlurEngine().

Definition at line 107 of file blur.h.

Referenced by BlurEngine(), run(), start_process_frame(), and ~BlurEngine().

Definition at line 107 of file blur.h.

Referenced by BlurEngine(), run(), and wait_process_frame().


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

Generated on Mon Apr 28 14:16:49 2008 for Cinelerra by  doxygen 1.5.5