tahoma2d/toonz/sources/stdfx/igs_warp.h

44 lines
1.1 KiB
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
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
2016-06-15 18:43:10 +12:00
namespace igs {
namespace warp {
2016-03-19 06:57:51 +13:00
IGS_WARP_EXPORT void hori_change(
2016-06-15 18:43:10 +12:00
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);
2016-03-19 06:57:51 +13:00
IGS_WARP_EXPORT void vert_change(
2016-06-15 18:43:10 +12:00
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);
2016-03-19 06:57:51 +13:00
}
}
#endif /* !igs_warp_h */