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:
381eb95
)
gaudieffects: declare floor and ceiling as constants
author
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 30 Oct 2014 16:05:14 +0000
(16:05 +0000)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 30 Oct 2014 16:16:19 +0000
(16:16 +0000)
gst/gaudieffects/gstsolarize.c
patch
|
blob
|
history
diff --git
a/gst/gaudieffects/gstsolarize.c
b/gst/gaudieffects/gstsolarize.c
index
14323cd
..
fde4c09
100644
(file)
--- a/
gst/gaudieffects/gstsolarize.c
+++ b/
gst/gaudieffects/gstsolarize.c
@@
-314,8
+314,8
@@
transform (guint32 * src, guint32 * dest, gint video_area,
guint32 in;
guint32 color[3];
gint x, c;
-
g
int floor = 0;
-
g
int ceiling = 255;
+
static const gu
int floor = 0;
+
static const gu
int ceiling = 255;
gint period, up_length, down_length, height_scale, param;