Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-11 12:48:35 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-11 12:48:35 +0400
commit92c8c2ed69fa36eb9d68ebb7033bdf892e58996f (patch)
tree1e11fc9fd3bc4d4d6700ad4267dd2d83e6477554 /source/blender/blenlib/BLI_math_interp.h
parenta9eb61047361534c5c6454716729c96b7c323d93 (diff)
Code de-duplication in imageprocess.c -- made it use interpolation functions from blenlib
Diffstat (limited to 'source/blender/blenlib/BLI_math_interp.h')
-rw-r--r--source/blender/blenlib/BLI_math_interp.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_interp.h b/source/blender/blenlib/BLI_math_interp.h
index 3a107be32bd..21975763779 100644
--- a/source/blender/blenlib/BLI_math_interp.h
+++ b/source/blender/blenlib/BLI_math_interp.h
@@ -29,7 +29,16 @@
#ifndef BLI_MATH_INTERP
#define BLI_MATH_INTERP
-void BLI_bicubic_interpolation(const float *buffer, float *output, int width, int height, int components, float u, float v);
-void BLI_bilinear_interpolation(const float *buffer, float *output, int width, int height, int components, float u, float v);
+void BLI_bicubic_interpolation_fl(const float *buffer, float *output, int width, int height,
+ int components, float u, float v);
+
+void BLI_bicubic_interpolation_char(const unsigned char *buffer, unsigned char *output, int width, int height,
+ int components, float u, float v);
+
+void BLI_bilinear_interpolation_fl(const float *buffer, float *output, int width, int height,
+ int components, float u, float v);
+
+void BLI_bilinear_interpolation_char(const unsigned char *buffer, unsigned char *output, int width, int height,
+ int components, float u, float v);
#endif