tahoma2d/toonz/sources/stdfx/igs_gaussian_blur.h
2023-02-25 20:59:02 -05:00

31 lines
1.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#ifndef igs_gaussian_blur_hv_h
#define igs_gaussian_blur_hv_h
#ifndef IGS_GAUSSIAN_BLUR_HV_EXPORT
#define IGS_GAUSSIAN_BLUR_HV_EXPORT
#endif
namespace igs {
namespace gaussian_blur_hv {
IGS_GAUSSIAN_BLUR_HV_EXPORT const int int_radius(const double real_radius);
IGS_GAUSSIAN_BLUR_HV_EXPORT const int buffer_bytes(const int height_with_margin,
const int width_with_margin,
const int int_radius);
IGS_GAUSSIAN_BLUR_HV_EXPORT void convert(
/* 入出力画像 */
const float* in_with_margin, float* out_no_margin,
const int height_with_margin, const int width_with_margin,
const int channels,
/* Pixel毎に効果の強弱 */
const float* ref, /* 豎ゅ繧狗判蜒・out)§€€h謨ー */
void* buffer,
int buffer_bytes, // Must be igs::gaussian_blur_hv::buffer_bytes(-)
/* Action Geometry */
const int int_radius, // =margin
const double real_radius, const double sigma = 0.25);
} // namespace gaussian_blur_hv
} // namespace igs
#endif /* !igs_gaussian_blur_hv_h */