[FFmpeg-devel] [PATCH 5/8] Add eval.texi file.

Michael Niedermayer michaelni
Sun Oct 31 21:53:53 CET 2010


On Sun, Oct 31, 2010 at 04:04:32PM +0100, Stefano Sabatini wrote:
> On date Sunday 2010-10-31 15:27:30 +0100, Stefano Sabatini encoded:
> > ---
> >  Makefile            |    4 +-
> >  doc/eval.texi       |  117 +++++++++++++++++++++++++++++++++++++++++++++++++++
> >  doc/ffmpeg-doc.texi |  106 ++++++++++++++++------------------------------
> >  doc/ffplay-doc.texi |    1 +
> >  4 files changed, 156 insertions(+), 72 deletions(-)
> >  create mode 100644 doc/eval.texi
> [...]
> 
> Updated with some fixes/clarifications.
> -- 
> FFmpeg = Formidable & Fancy Merciless Purposeless Elastic Geek

>  Makefile            |    4 -
>  doc/eval.texi       |  115 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  doc/ffmpeg-doc.texi |  104 +++++++++++++++--------------------------------
>  doc/ffplay-doc.texi |    1 
>  4 files changed, 152 insertions(+), 72 deletions(-)
> 7ef4957e5286b3aa8a517c7a6bd9241c8adbcc0a  0005-Add-eval.texi-file.patch
> From e9686e8ae04a93e05a7c8ff71ce3ee119d950b4a Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sun, 31 Oct 2010 12:08:22 +0100
> Subject: [PATCH 5/8] Add eval.texi file.
> 
> ---
>  Makefile            |    4 +-
>  doc/eval.texi       |  115 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  doc/ffmpeg-doc.texi |  104 +++++++++++++++-------------------------------
>  doc/ffplay-doc.texi |    1 +
>  4 files changed, 152 insertions(+), 72 deletions(-)
>  create mode 100644 doc/eval.texi
> 
> diff --git a/Makefile b/Makefile
> index b81b655..e9d9854 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -115,8 +115,8 @@ documentation: $(addprefix doc/, developer.html faq.html general.html libavfilte
>  
>  $(HTMLPAGES) $(MANPAGES): doc/fftools-common-opts.texi
>  
> -doc/ffmpeg.pod doc/ffmpeg-doc.html: doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
> -doc/ffplay.pod doc/ffplay-doc.html: doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
> +doc/ffmpeg.pod doc/ffmpeg-doc.html: doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
> +doc/ffplay.pod doc/ffplay-doc.html: doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
>  doc/ffprobe.pod doc/ffprobe-doc.html: doc/indevs.texi doc/protocols.texi
>  
>  doc/%.html: TAG = HTML
> diff --git a/doc/eval.texi b/doc/eval.texi
> new file mode 100644
> index 0000000..b60d7f4
> --- /dev/null
> +++ b/doc/eval.texi
> @@ -0,0 +1,115 @@
> + at chapter Expression Evaluation
> + at c man begin EXPRESSION EVALUATION
> +
> +When evaluating an expression, FFmpeg uses an internal formula
> +evaluator, implemeneted through the @file{libavutil/eval.h} interface.
> +

> +Two expressions @var{expr1} and @var{expr2} can be combined to form
> +another expression "@var{expr1};@var{expr2}".
> + at var{expr1} and @var{expr2} are evaluated in turn, and the new
> +expression evaluates to the value of @var{expr2}.

I really dont think this should be at the begin of the docs


> +
> +An expression may contain unary, binary operators, and functions with
> +one or two arguments.

theres no point in saying how many function arguments currently supported
functions have

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101031/17a2fd65/attachment.pgp>



More information about the ffmpeg-devel mailing list