#include <polar.h>
Inherits Thread, and LoadServer.

Public Member Functions | |
| PolarEngine (PolarEffect *plugin, int cpus) | |
| void | init_packages () |
| LoadClient * | new_client () |
| LoadPackage * | new_package () |
| PolarEngine (PolarMain *plugin, int start_y, int end_y) | |
| ~PolarEngine () | |
| int | start_process_frame (VFrame **output, VFrame **input, int size) |
| int | wait_process_frame () |
| void | run () |
| void | get_pixel (const int &x, const int &y, VPixel *pixel, VPixel **input_rows) |
| int | calc_undistorted_coords (int wx, int wy, double &x, double &y) |
| VWORD | bilinear (double &x, double &y, VWORD *values) |
Data Fields | |
| PolarEffect * | plugin |
| PolarMain * | plugin |
| int | start_y |
| int | end_y |
| int | size |
| double | cen_x |
| double | cen_y |
| VFrame ** | output |
| VFrame ** | input |
| int | last_frame |
| Mutex | input_lock |
| Mutex | output_lock |
Definition at line 96 of file polar.C.
| PolarEngine::PolarEngine | ( | PolarEffect * | plugin, | |
| int | cpus | |||
| ) |
| PolarEngine::PolarEngine | ( | PolarMain * | plugin, | |
| int | start_y, | |||
| int | end_y | |||
| ) |
| PolarEngine::~PolarEngine | ( | ) |
| void PolarEngine::init_packages | ( | ) | [virtual] |
Reimplemented from LoadServer.
Definition at line 816 of file polar.C.
References VFrame::get_h(), LoadServer::get_package(), LoadServer::get_total_packages(), PolarEffect::input, plugin, PolarPackage::row1, and PolarPackage::row2.

| LoadClient * PolarEngine::new_client | ( | ) | [virtual] |
| LoadPackage * PolarEngine::new_package | ( | ) | [virtual] |
| int PolarEngine::wait_process_frame | ( | ) |
| void PolarEngine::run | ( | ) | [virtual] |
Implements Thread.
| void PolarEngine::get_pixel | ( | const int & | x, | |
| const int & | y, | |||
| VPixel * | pixel, | |||
| VPixel ** | input_rows | |||
| ) |
| int PolarEngine::calc_undistorted_coords | ( | int | wx, | |
| int | wy, | |||
| double & | x, | |||
| double & | y | |||
| ) |
| VWORD PolarEngine::bilinear | ( | double & | x, | |
| double & | y, | |||
| VWORD * | values | |||
| ) | [inline] |
| double PolarEngine::cen_x |
| double PolarEngine::cen_y |
1.5.5