[Ffmpeg-devel] [PATCH] optimize ff_eval

Oded Shimon ods15
Fri Oct 27 12:27:34 CEST 2006


On Fri, Oct 27, 2006 at 12:25:06PM +0200, Oded Shimon wrote:
> +    switch (e->type) {
> +    	case 0: return e->value;
> +    	case 1: return e->value * p->const_value[e->a.const_index];
> +        case 2: return e->value * e->a.func0(eval_expr(p, e->param[0]));
> +        case 3: return e->value * e->a.func1(p->opaque, eval_expr(p, e->param[0]));

  ^ tabs fixed locally

- ods15




More information about the ffmpeg-devel mailing list