James Almer
1e24fad867
doc/utils: add missing 22.2 layout entry
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
987763ac35
ffmpeg: convert to new channel layout-API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Moritz Barsnick
7ab375f574
doc/utils: document the "s", "ms" and "us" suffixes for durations
...
These suffixes were introduced in 61c972384d
and completed in 8218249f1f
.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
5 years ago
Limin Wang
e7626e4e79
doc/utils: add more examples for valid time duration
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Gyan Doshi
ed78ca4123
doc/utils: add hexadecagonal channel layout
5 years ago
Paul B Mahol
961d6493e8
avutil/eval: add sgn()
5 years ago
Mark Thompson
3650cb2dfa
lavu,lavfi,ffmpeg: Remove experimental OpenCL API
...
This was added in early 2013 and abandoned several months later; as far as
I can tell, there are no external users. Future OpenCL use will be via
hwcontext, which requires neither special OpenCL-only API nor global state
in libavutil.
All internal users are also deleted - this is just the unsharp filter
(replaced by unsharp_opencl, which is more flexible) and the deshake filter
(no replacement).
7 years ago
Paul B Mahol
1146133df8
avutil/eval: add linear interpolation helper
7 years ago
Kevin Mark
482566ccc3
libavutil/eval: Add round function to expression parser
...
We have floor, ceil, and trunc. Let's add round.
Signed-off-by: Kevin Mark <kmark937@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
13564fc24d
avutil/eval: add atan2 function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Marton Balint
c4618f842a
avutil/channel_layout: add av_get_extended_channel_layout
...
Return a channel layout and the number of channels based on the specified name.
This function is similar to av_get_channel_layout(), but can also parse unknown
channel layout specifications.
Unknown channel layout specifications are a decimal number and a capital 'C'
suffix, in order to not break compatibility with the lowercase 'c' suffix,
which is used for a guessed channel layout with the specified number of
channels.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
5049f05f27
avutil/channel_layout: fix remains of old syntax in docs and comments
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Paul B Mahol
bdf474bcff
doc/utils: fix typo for min() description
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
ecba41bfd3
doc: More semantic markup using @samp and @var where appropriate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Andreas Cadhalpun
10fd7ff814
doc: avoid the incorrect phrase 'allow to'
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Stefano Sabatini
f3e886c7df
lavu/eval: add clip function
11 years ago
Timothy Gu
7bf5084e30
doc/utils: add missing `@c man end` title
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Andreas Cadhalpun
9898bd9a82
Fix spelling errors in texi files: accomodate -> accommodate allows to -> allows one to choosen -> chosen compability -> compatibility explictly -> explicitly overriden -> overridden specifed -> specified Trasmission -> Transmission
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lenny Wang
64f73acd1d
cmdutils & opencl: add -opencl_bench option to test and show available OpenCL devices
...
Reviewed-by: Wei Gao <highgod0401@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
a3505136f9
doc/utils: document channel layout specification
11 years ago
Michael Niedermayer
9a63a45e48
doc/utils: fix docs build
...
Not sure this is the correct solution but that can be investigated too once
the docs build again
Tested-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
155a5ff00d
doc/utils: reformat doc for color syntax and add list of supported colors
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years ago
Timothy Gu
b4da1fa550
doc/utils: rewrite doc for time duration syntax
...
Extend description and clarify syntax.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years ago
Niv Sardi
49ba6e56bd
lavu/parseutils: add more resolutions
...
See http://en.wikipedia.org/wiki/Graphics_display_resolution
Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years ago
Clément Bœsch
0bc34ef02e
doc/utils: use @code markup for opencl function names.
12 years ago
Stefano Sabatini
9ae9ae10f9
doc/utils: apply misc fixes to OpenCL docs
12 years ago
Stefano Sabatini
949c8627b6
doc: merge syntax.texi, eval.texi and opencl.texi into utils.texi
12 years ago
Clément Bœsch
77f60f0011
lavu/eval: add between() function.
12 years ago
Stefano Sabatini
b2098d2417
lavu/eval: add bitor and bitand functions
...
Warning note suggested by Reimar.
12 years ago
Michael Niedermayer
09ece9fa6c
eval: print() support
...
This allows printing values via av_log from expressions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
dcfbe1e0b6
doc/eval: sort functions by name
12 years ago
Stefano Sabatini
41e5e28daf
doc/eval: fix/extend documentation for taylor() function
12 years ago
Stefano Sabatini
d99bc84752
doc/eval: fix/extend documentation for root() function
12 years ago
Stefano Sabatini
c89a8ee23d
doc/eval: fix/review the section about SI prefixes and usage
...
In particular, prefer "prefix" to "postfix" as in the tool manuals, and
specify powers of 2 and 10 explicitly.
This is based on the commit:
commit 2bf794b698
Author: Marcus Stollsteimer <sto.mar@web.de>
Date: Mon Nov 19 21:39:20 2012 +0100
12 years ago
Stefano Sabatini
ca1bc188f4
doc/eval: fix documentation for time() function
12 years ago
Stefano Sabatini
2b207bab19
doc/eval: substitute if/then/else construct with an example making use of boolean expression composition
...
Since the if/then/else construct is now supported natively, showing how
to compose such a construct from basic primitives is misleading.
12 years ago
Stefano Sabatini
2ed0803c6c
lavu/eval: extend if/ifnot functions to accept a third parameter
...
Add support to an if/else construct, simplify logic in expressions.
12 years ago
Michael Niedermayer
31cd1e20bb
eval: add function to access the current "wallclock" time.
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
4a91962771
doc/eval: add missing documentation of functions
13 years ago
Martin Storsjö
143f1e9203
eval: Add the isinf() function and tests for it
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
59affed23c
eval: add root() to solve f(x)=0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
923092697a
eval: Allow specifying the variable id.
...
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
43b1943a55
eval: Add taylor series evaluation support.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e4e291061c
doc/eval.texi: add precisation about the assumption for "trueness" in conditional expressions
13 years ago
Stefano Sabatini
999495734b
lavu/eval: add if() and ifnot() eval functions
...
They allow to implement the if/then/else logic, which cannot be
implemented otherwise.
For example the expression:
A*B + not(A)*C
always evaluates to NaN if B is NaN, even in the case where A is 0.
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Michael Niedermayer
cdba9b617f
eval.texi: document that variables are not shared between expressions.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
root
551b9eb9ef
docs: Spelling fixes to 9 texi files from /doc
...
credits to: Violet Lin (from Google Code-in)
Signed-off-by: burek <burek021@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
40963ea9e9
eval: add mathematical constants (PI, E, PHI).
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
d557152285
eval: document recently added random(), hypot(), gcd().
13 years ago