Evas filters: Disable gauss blur
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 4 Feb 2014 10:08:08 +0000 (19:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 08:33:18 +0000 (17:33 +0900)
And fix doc in parser

src/lib/evas/filters/evas_filter_blur.c
src/lib/evas/filters/evas_filter_parser.c

index bd294de..5db74a7 100644 (file)
@@ -33,8 +33,9 @@ _smallest_pow2_larger_than(int val)
 # define DIVIDE_BY_DIAMETER(val) ((val) / diameter)
 #endif
 
-// Switch from Pascal Triangle based gaussian to Sine
-#define MAX_GAUSSIAN_RADIUS 5
+// Switch from Pascal Triangle based gaussian to Sine.
+// Gaussian is now disabled (because gauss and sine are too different)
+#define MAX_GAUSSIAN_RADIUS 0
 #if MAX_GAUSSIAN_RADIUS > 12
 # error Impossible value
 #endif
index f30095f..04298b3 100644 (file)
@@ -1046,7 +1046,7 @@ _mask_instruction_prepare(Evas_Filter_Instruction *instr)
    EINA_SAFETY_ON_FALSE_RETURN_VAL(!strcasecmp(instr->name, "mask"), EINA_FALSE);
 
    /*
-   * mask [mask=]BUFFER [input=BUFFER] [output=BUFFER] [color=COLOR]
+   * mask [mask=]BUFFER [src=BUFFER] [dst=BUFFER] [color=COLOR]
    */
 
    instr->type = EVAS_FILTER_MODE_MASK;