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:
authorCampbell Barton <ideasman42@gmail.com>2008-11-19 06:28:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-11-19 06:28:07 +0300
commitf8e56e96bf2be4580dd34c33c6379339642638f0 (patch)
tree2c63e34f6c8b3c43c29ada03cf108e8b82d5723e /source/blender/nodes/intern/TEX_nodes/TEX_mixRgb.c
parenta4776347ea5946aa70a5a77ee5628817f995d4d8 (diff)
Split up the following imbuf functions in 2...
void bicubic_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout); void neareast_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout); void bilinear_interpolation(struct ImBuf *in, struct ImBuf *out, float u, float v, int xout, int yout); Added... void bicubic_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v); void neareast_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v); void bilinear_interpolation_color(struct ImBuf *in, unsigned char *col, float *col_float, float u, float v); This is needed so for projection painting but generally useful if you want to get the interpolated color of a pixel in an image without having a destination imbuf. While editing these I noticed the functons are a bit dodgy, they assume the input ImBuf has matching float/chr buffer to the output.
Diffstat (limited to 'source/blender/nodes/intern/TEX_nodes/TEX_mixRgb.c')
0 files changed, 0 insertions, 0 deletions