diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-17 17:28:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-17 18:16:49 +0300 |
commit | 578f98d7ad31d7f1630f674253aeb4872502b6da (patch) | |
tree | abffffd9f2ae84370819511bc3a2dc67b92668bd /source/blender/blenlib/BLI_math_interp.h | |
parent | 8512a8b9562e782c147b008c66eabf4caeaecf5d (diff) |
Fix T47452: Translate-node seams w/ subpixel offset
Diffstat (limited to 'source/blender/blenlib/BLI_math_interp.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_interp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_interp.h b/source/blender/blenlib/BLI_math_interp.h index d2ec7b80d86..a3c5ce82630 100644 --- a/source/blender/blenlib/BLI_math_interp.h +++ b/source/blender/blenlib/BLI_math_interp.h @@ -45,6 +45,12 @@ void BLI_bilinear_interpolation_fl(const float *buffer, float *output, int width void BLI_bilinear_interpolation_char(const unsigned char *buffer, unsigned char *output, int width, int height, int components, float u, float v); +void BLI_bilinear_interpolation_wrap_fl(const float *buffer, float *output, int width, int height, + int components, float u, float v, bool wrap_x, bool wrap_y); + +void BLI_bilinear_interpolation_wrap_char(const unsigned char *buffer, unsigned char *output, int width, int height, + int components, float u, float v, bool wrap_x, bool wrap_y); + #define EWA_MAXIDX 255 extern const float EWA_WTS[EWA_MAXIDX + 1]; |