projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30780db
)
gaudi: fix to 30780db1
author
Luis de Bethencourt
<luis.bg@samsung.com>
Wed, 22 Apr 2015 14:04:03 +0000
(15:04 +0100)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Wed, 22 Apr 2015 14:04:05 +0000
(15:04 +0100)
The second check for (factor == 0) creeped in the last commit.
Apologies.
gst/gaudieffects/gstexclusion.c
patch
|
blob
|
history
diff --git
a/gst/gaudieffects/gstexclusion.c
b/gst/gaudieffects/gstexclusion.c
index
60e9632
..
8f762ad
100644
(file)
--- a/
gst/gaudieffects/gstexclusion.c
+++ b/
gst/gaudieffects/gstexclusion.c
@@
-280,12
+280,6
@@
transform (guint32 * src, guint32 * dest, gint video_area, gint factor)
green = (in >> 8) & 0xff;
blue = (in) & 0xff;
- if (factor == 0) {
- red = 0;
- green = 0;
- blue = 0;
- }
-
red = factor -
(((factor - red) * (factor - red) / factor) + ((green * red) / factor));
green = factor -