Evas filters: Disable gauss blur

And fix doc in parser
This commit is contained in:
Jean-Philippe Andre 2014-02-04 19:08:08 +09:00
parent 43962135be
commit 7043c8bb89
2 changed files with 4 additions and 3 deletions

View 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

View 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;