diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 18:21:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 18:21:59 +0300 |
commit | 331559d5859644d1ef0e7ce04a7aefd73ff47452 (patch) | |
tree | f56820c9dd755642206f44e63bdcbc2efc98523b /source/blender/nodes/intern/CMP_util.h | |
parent | 314736eeb4bb52b5043e7c6441131ae9700905d4 (diff) |
Bugfix for defocus node gamma correct. It applied gamma correct to
a premul image but that doesn't work correct. Now it depremuls and
premuls again around the gamma correction. Better solution might be
possible, but this gives compatible results.
Diffstat (limited to 'source/blender/nodes/intern/CMP_util.h')
-rw-r--r-- | source/blender/nodes/intern/CMP_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/intern/CMP_util.h b/source/blender/nodes/intern/CMP_util.h index 7cb10b75f3a..6fa5251710a 100644 --- a/source/blender/nodes/intern/CMP_util.h +++ b/source/blender/nodes/intern/CMP_util.h @@ -176,6 +176,7 @@ void do_hsva_to_rgba(bNode *node, float *out, float *in); void do_ycca_to_rgba(bNode *node, float *out, float *in); void gamma_correct_compbuf(CompBuf *img, int inversed); +void premul_compbuf(CompBuf *img, int inversed); void convolve(CompBuf* dst, CompBuf* in1, CompBuf* in2); extern void node_ID_title_cb(void *node_v, void *unused_v); |