summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-04 19:08:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-07 17:33:18 +0900
commit7043c8bb89dfe8a9740a5a2a4d759664c534b766 (patch)
tree0e157d70baceed1923841eef0bd15c46a373a6d1 /src
parent43962135be5cf2ad6c71d0e32d170ebd63e1a58f (diff)
Evas filters: Disable gauss blur
And fix doc in parser
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/filters/evas_filter_blur.c5
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/evas/filters/evas_filter_blur.c b/src/lib/evas/filters/evas_filter_blur.c
index bd294de626..5db74a723b 100644
--- a/src/lib/evas/filters/evas_filter_blur.c
+++ b/src/lib/evas/filters/evas_filter_blur.c
@@ -33,8 +33,9 @@ _smallest_pow2_larger_than(int val)
33# define DIVIDE_BY_DIAMETER(val) ((val) / diameter) 33# define DIVIDE_BY_DIAMETER(val) ((val) / diameter)
34#endif 34#endif
35 35
36// Switch from Pascal Triangle based gaussian to Sine 36// Switch from Pascal Triangle based gaussian to Sine.
37#define MAX_GAUSSIAN_RADIUS 5 37// Gaussian is now disabled (because gauss and sine are too different)
38#define MAX_GAUSSIAN_RADIUS 0
38#if MAX_GAUSSIAN_RADIUS > 12 39#if MAX_GAUSSIAN_RADIUS > 12
39# error Impossible value 40# error Impossible value
40#endif 41#endif
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index f30095f539..04298b3024 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1046,7 +1046,7 @@ _mask_instruction_prepare(Evas_Filter_Instruction *instr)
1046 EINA_SAFETY_ON_FALSE_RETURN_VAL(!strcasecmp(instr->name, "mask"), EINA_FALSE); 1046 EINA_SAFETY_ON_FALSE_RETURN_VAL(!strcasecmp(instr->name, "mask"), EINA_FALSE);
1047 1047
1048 /* 1048 /*
1049 * mask [mask=]BUFFER [input=BUFFER] [output=BUFFER] [color=COLOR] 1049 * mask [mask=]BUFFER [src=BUFFER] [dst=BUFFER] [color=COLOR]
1050 */ 1050 */
1051 1051
1052 instr->type = EVAS_FILTER_MODE_MASK; 1052 instr->type = EVAS_FILTER_MODE_MASK;