#include <overlayframe.h>
Inherits LoadClient.

Public Member Functions | |
| ScaleUnit (ScaleEngine *server, OverlayFrame *overlay) | |
| ~ScaleUnit () | |
| float | cubic_bspline (float x) |
| void | tabulate_bcubic_f (float *&coef_table, int *&coord_table, float scale, float start, int pixels, int total_pixels, float coefficient) |
| void | tabulate_blinear_f (int *&table_int1, int *&table_int2, float *&table_frac, float *&table_antifrac, float scale, int pixel1, int pixel2, float start, int total_pixels) |
| void | tabulate_bcubic_i (int *&coef_table, int *&coord_table, float scale, int start, int pixels, int total_pixels, float coefficient) |
| void | tabulate_blinear_i (int *&table_int1, int *&table_int2, int *&table_frac, int *&table_antifrac, float scale, int pixel1, int pixel2, float start, int total_pixels) |
| void | tabulate_reduction (bilinear_table_t *&table, float scale, int pixel1, int out_total, int in_total) |
| void | tabulate_enlarge (bilinear_table_t *&table, float scale, float pixel1, int out_total, int in_total) |
| void | dump_bilinear (bilinear_table_t *table, int total) |
| void | process_package (LoadPackage *package) |
Data Fields | |
| OverlayFrame * | overlay |
| ScaleEngine * | engine |
Definition at line 77 of file overlayframe.h.
| ScaleUnit::ScaleUnit | ( | ScaleEngine * | server, | |
| OverlayFrame * | overlay | |||
| ) |
| ScaleUnit::~ScaleUnit | ( | ) |
Definition at line 798 of file overlayframe.C.
| float ScaleUnit::cubic_bspline | ( | float | x | ) |
Definition at line 1319 of file overlayframe.C.
Referenced by tabulate_bcubic_f(), and tabulate_bcubic_i().
| void ScaleUnit::tabulate_bcubic_f | ( | float *& | coef_table, | |
| int *& | coord_table, | |||
| float | scale, | |||
| float | start, | |||
| int | pixels, | |||
| int | total_pixels, | |||
| float | coefficient | |||
| ) |
Definition at line 1365 of file overlayframe.C.
References a, CLAMP, and cubic_bspline().

| void ScaleUnit::tabulate_blinear_f | ( | int *& | table_int1, | |
| int *& | table_int2, | |||
| float *& | table_frac, | |||
| float *& | table_antifrac, | |||
| float | scale, | |||
| int | pixel1, | |||
| int | pixel2, | |||
| float | start, | |||
| int | total_pixels | |||
| ) |
| void ScaleUnit::tabulate_bcubic_i | ( | int *& | coef_table, | |
| int *& | coord_table, | |||
| float | scale, | |||
| int | start, | |||
| int | pixels, | |||
| int | total_pixels, | |||
| float | coefficient | |||
| ) |
Definition at line 1391 of file overlayframe.C.
References a, CLAMP, and cubic_bspline().

| void ScaleUnit::tabulate_blinear_i | ( | int *& | table_int1, | |
| int *& | table_int2, | |||
| int *& | table_frac, | |||
| int *& | table_antifrac, | |||
| float | scale, | |||
| int | pixel1, | |||
| int | pixel2, | |||
| float | start, | |||
| int | total_pixels | |||
| ) |
| void ScaleUnit::tabulate_reduction | ( | bilinear_table_t *& | table, | |
| float | scale, | |||
| int | pixel1, | |||
| int | out_total, | |||
| int | in_total | |||
| ) |
Definition at line 804 of file overlayframe.C.
References bilinear_table_t::input_fraction1, bilinear_table_t::input_fraction2, bilinear_table_t::input_fraction3, bilinear_table_t::input_pixel1, bilinear_table_t::input_pixel2, and bilinear_table_t::total_fraction.
| void ScaleUnit::tabulate_enlarge | ( | bilinear_table_t *& | table, | |
| float | scale, | |||
| float | pixel1, | |||
| int | out_total, | |||
| int | in_total | |||
| ) |
Definition at line 892 of file overlayframe.C.
References bilinear_table_t::input_fraction1, bilinear_table_t::input_fraction3, bilinear_table_t::input_pixel1, bilinear_table_t::input_pixel2, and bilinear_table_t::total_fraction.
| void ScaleUnit::dump_bilinear | ( | bilinear_table_t * | table, | |
| int | total | |||
| ) |
Definition at line 947 of file overlayframe.C.
| void ScaleUnit::process_package | ( | LoadPackage * | package | ) | [virtual] |
Reimplemented from LoadClient.
Definition at line 1479 of file overlayframe.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, BICUBIC, BILINEAR_ENLARGE, BILINEAR_REDUCE, engine, VFrame::get_color_model(), ScaleEngine::h_scale, ScaleEngine::in_x1_float, ScaleEngine::in_y1_float, input, ScaleEngine::interpolation_type, ScaleEngine::out_h_int, ScaleEngine::out_w_int, output, ScaleEngine::scale_input, ScaleEngine::scale_output, and ScaleEngine::w_scale.

Definition at line 132 of file overlayframe.h.
1.5.5