tahoma2d/toonz/sources/stdfx/igs_density.h
2016-06-15 15:43:10 +09:00

32 lines
698 B
C++

#pragma once
#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 */