| #pragma once |
| |
| #ifndef igs_rotate_blur_h |
| #define igs_rotate_blur_h |
| |
| #ifndef IGS_ROTATE_BLUR_EXPORT |
| #define IGS_ROTATE_BLUR_EXPORT |
| #endif |
| |
| namespace igs { |
| namespace rotate_blur { |
| IGS_ROTATE_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 cx, const double cy, |
| const double degree = 30.0 |
| , |
| const double blur_radius = 0.0 |
| , |
| const double spin_radius = 0.0 |
| かつぼかし強弱の一定になる半径となる */ |
| , |
| const int sub_div = 4 |
| , |
| const bool alpha_rendering_sw = true); |
| #if 0 |
| IGS_ROTATE_BLUR_EXPORT int enlarge_margin( |
| const int height |
| ,const int width |
| ,const double xc |
| ,const double yc |
| ,const double degree |
| ,const double blur_radius |
| ,const double spin_radius |
| かつぼかし強弱の一定になる半径となる */ |
| ,const int sub_div |
| ); |
| #endif |
| IGS_ROTATE_BLUR_EXPORT int reference_margin( |
| const int height |
| , |
| const int width |
| , |
| const double xc, const double yc, const double degree |
| , |
| const double blur_radius |
| , |
| const double spin_radius |
| |
| , |
| const int sub_div |
| ); |
| } |
| } |
| |
| #endif |