tahoma2d/toonz/sources/stdfx/igs_density.h
Toshihiro Shimizu 890dddabbd first commit
2016-03-19 02:57:51 +09:00

31 lines
641 B
C++

#ifndef igs_density_h
#define igs_density_h
#ifndef IGS_DENSITY_EXPORT
#define IGS_DENSITY_EXPORT
#endif
namespace igs
{
namespace density
{
IGS_DENSITY_EXPORT void change(
unsigned char *image_array /* RGBAでなければならない */
,
const int height, const int width, const int channels /* 4(=RGBAでなければならない) */
,
const int bits
,
const unsigned char *ref /* 求める画像と同じ高、幅、ch数 */
,
const int ref_bits /* refがゼロのときはここもゼロ */
,
const int ref_mode /* 0=R,1=G,2=B,3=A,4=Luminance,5=Nothing */
,
const double density = 1.0);
}
}
#endif /* !igs_density_h */