| #pragma once |
| |
| #ifndef igs_radial_blur_h |
| #define igs_radial_blur_h |
| |
| #ifndef IGS_RADIAL_BLUR_EXPORT |
| #define IGS_RADIAL_BLUR_EXPORT |
| #endif |
| |
| namespace igs { |
| namespace radial_blur { |
| IGS_RADIAL_BLUR_EXPORT void convert( |
| const unsigned char *in |
| , |
| const int margin |
| |
| , |
| const unsigned char *ref |
| , |
| const int ref_bits, |
| const int ref_mode |
| |
| , |
| unsigned char *out |
| |
| , |
| const int height |
| , |
| const int width |
| , |
| const int channels, const int bits |
| |
| , |
| const double xc, const double yc, const double twist_radian = 0.0, |
| const double twist_radius = 0.0, |
| const double intensity = 0.2 |
| , |
| const double radius = 0.0 |
| , |
| const int sub_div = 4 |
| , |
| const bool alpha_rendering_sw = true); |
| #if 0 |
| IGS_RADIAL_BLUR_EXPORT int enlarge_margin( |
| const int height |
| ,const int width |
| ,const double xc |
| ,const double yc |
| ,const double twist_radian |
| ,const double twist_radius |
| ,const double intensity=0.2 |
| |
| ,const double radius=0.0 |
| ,const int sub_div=4 |
| ); |
| #endif |
| IGS_RADIAL_BLUR_EXPORT int |
| reference_margin( |
| const int height, const int width, const double xc, |
| const double yc, const double twist_radian, |
| const double twist_radius, |
| const double intensity = 0.2 |
| |
| |
| , |
| const double radius = 0.0 |
| , |
| const int sub_div = 4 |
| ); |
| } |
| } |
| |
| #endif |