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>2014-01-23 14:51:32 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-23 14:51:32 +0400
commit898498c8008078b0c5d311b9a0a362b5a0ad23be (patch)
treee4c4592d68d785bfd3827fcdf5780433c0a930c8 /source/blender/imbuf/intern/IMB_filter.h
parentcbdedc169dd948d308dcdb1fc2e74b1fdd25880c (diff)
Fix for IMB_(un)premultiply_rect_float() not doing right business
- Made them receive number of channels rather than number of planes. This matches to how ImBuf structure stored planes and channels. - IMB_premultiply_rect_float() was called with channels passed instead of planes already :S.
Diffstat (limited to 'source/blender/imbuf/intern/IMB_filter.h')
-rw-r--r--source/blender/imbuf/intern/IMB_filter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/IMB_filter.h b/source/blender/imbuf/intern/IMB_filter.h
index 6bd5f44307f..65656103435 100644
--- a/source/blender/imbuf/intern/IMB_filter.h
+++ b/source/blender/imbuf/intern/IMB_filter.h
@@ -39,10 +39,10 @@ struct ImBuf;
void imb_filterx(struct ImBuf *ibuf);
void IMB_premultiply_rect(unsigned int *rect, char planes, int w, int h);
-void IMB_premultiply_rect_float(float *rect_float, char planes, int w, int h);
+void IMB_premultiply_rect_float(float *rect_float, int channels, int w, int h);
void IMB_unpremultiply_rect(unsigned int *rect, char planes, int w, int h);
-void IMB_unpremultiply_rect_float(float *rect_float, char planes, int w, int h);
+void IMB_unpremultiply_rect_float(float *rect_float, int channels, int w, int h);
void imb_onehalf_no_alloc(struct ImBuf *ibuf2, struct ImBuf *ibuf1);