From 9298357670f5a1acc5515a771276fa444245aeb3 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Tue, 10 Jul 2007 19:13:03 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- source/blender/imbuf/IMB_imbuf.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source/blender/imbuf/IMB_imbuf.h') 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. -- cgit v1.2.3