tahoma2d/toonz/sources/stdfx/igs_warp.h

40 lines
1,004 B
C
Raw Normal View History

2016-03-19 06:57:51 +13:00
#ifndef igs_warp_h
#define igs_warp_h
#ifndef IGS_WARP_EXPORT
#define IGS_WARP_EXPORT
#endif
namespace igs
{
namespace warp
{
IGS_WARP_EXPORT void hori_change(
unsigned char *image, const int height, const int width, const int channels, const int bits
,
const unsigned char *refer // by height,width,channels
,
const int refchannels, const int refcc, const int refbit
,
const double offset = 0.5 //(double)(1<<(bits-1))/((1<<bits)-1)
,
const double maxlen = 1.0, const bool alpha_rendering_sw = true, const bool anti_aliasing_sw = true);
IGS_WARP_EXPORT void vert_change(
unsigned char *image, const int height, const int width, const int channels, const int bits
,
const unsigned char *refer // by height,width,channels
,
const int refchannels, const int refcc, const int refbit
,
const double offset = 0.5 //(double)(1<<(bits-1))/((1<<bits)-1)
,
const double maxlen = 1.0, const bool alpha_rendering_sw = true, const bool anti_aliasing_sw = true);
}
}
#endif /* !igs_warp_h */