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:
5c52506
)
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
author
Edward Hervey
<bilboed@bilboed.com>
Sat, 18 Apr 2009 16:38:29 +0000
(18:38 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 18 Apr 2009 16:51:28 +0000
(18:51 +0200)
gst/goom/convolve_fx.c
patch
|
blob
|
history
diff --git
a/gst/goom/convolve_fx.c
b/gst/goom/convolve_fx.c
index
fd14804
..
9c29192
100644
(file)
--- a/
gst/goom/convolve_fx.c
+++ b/
gst/goom/convolve_fx.c
@@
-283,12
+283,14
@@
convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info)
{
ConvData *data = (ConvData *) _this->fx_data;
+#ifdef DRAW_MOTIF
float ff;
int iff;
ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) +
FVAL (data->light)) / 100.0f;
iff = (unsigned int) (ff * 256);
+#endif
{
double fcycle = (double) info->cycle;