Blame toonz/sources/stdfx/igs_gaussian_blur.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Shinya Kitaoka |
810553 |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef igs_gaussian_blur_hv_h
|
|
Toshihiro Shimizu |
890ddd |
#define igs_gaussian_blur_hv_h
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef IGS_GAUSSIAN_BLUR_HV_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#define IGS_GAUSSIAN_BLUR_HV_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
namespace igs {
|
|
Shinya Kitaoka |
120a6e |
namespace gaussian_blur_hv {
|
|
Shinya Kitaoka |
120a6e |
IGS_GAUSSIAN_BLUR_HV_EXPORT const int int_radius(const double real_radius);
|
|
Shinya Kitaoka |
120a6e |
IGS_GAUSSIAN_BLUR_HV_EXPORT const int buffer_bytes(const int height_with_margin,
|
|
Shinya Kitaoka |
120a6e |
const int width_with_margin,
|
|
Shinya Kitaoka |
120a6e |
const int int_radius);
|
|
Toshihiro Shimizu |
890ddd |
IGS_GAUSSIAN_BLUR_HV_EXPORT void convert(
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
const void *in_with_margin, void *out_no_margin
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int height_with_margin, const int width_with_margin,
|
|
Shinya Kitaoka |
120a6e |
const int channels, const int bits
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const unsigned char *ref
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int ref_bits
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int ref_mode
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
void *buffer, int buffer_bytes
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int int_radius
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double real_radius, const double sigma = 0.25);
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|