diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-07-10 23:13:03 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-07-10 23:13:03 +0400 |
commit | 9298357670f5a1acc5515a771276fa444245aeb3 (patch) | |
tree | c9491ee4a1a0a821b996b228b5f09bd446a29d89 /source/blender/imbuf/IMB_imbuf.h | |
parent | 209407a7e1e6078c2b5d23ba0183338850bcb1a1 (diff) |
This is patch [#6929] Interpolation Methods
http://projects.blender.org/tracker/index.php?func=detail&aid=6929&group_id=9&atid=127
Its a subset of patch [#6766] Transform Sequencer effect
It adds 3 image functions for different types of interpolation.
For people that like pictures:
http://wiki.blender.org/index.php/User:Damiles#Interpolations_Algorithms
Patch provided by David Millán Escrivá (damiles)
Kent
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index d6ca21830aa..840d39ea0bd 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -395,7 +395,13 @@ void IMB_float_from_rect(struct ImBuf *ibuf); * @attention Defined in imageprocess.c */ void IMB_convert_rgba_to_abgr(struct ImBuf *ibuf); - +/** + * + * @attention defined in imageprocess.c + */ +void bicubic_interpolation(struct ImBuf *in, struct ImBuf *out, float x, float y, 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); /** * Change the ordering of the color bytes pointed to by rect from * rgba to abgr. size * 4 color bytes are reordered. |