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

43 lines
1.1 KiB
C++

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