Diego Biurrun
cfac648e6a
doxygen: Remove documentation for non-existing parameters; misc small fixes.
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
8c5ee45d13
eval: Check that single parameter functions dont get a second param.
...
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
Justin Ruggles
c9bca80132
avutil: add AVERROR_UNKNOWN
...
Useful to return instead of -1 when the cause of the error is unknown,
typically from an external library.
13 years ago
Michael Niedermayer
946de27d25
random_seed: add selftest
...
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
b315042c8c
Remove libpostproc.
...
This library does not fit into Libav as a whole and its code is just a
maintenance burden. Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git
13 years ago
Michael Niedermayer
094673ff1b
eval: support 3 parameter functions.
...
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
Tim Walker
147715ca10
Add channel names to channel_names[] array for channels added in b2890f5
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Nicolas George
f16c950f32
lavu: document av_reverse.
13 years ago
Michael Niedermayer
68fac5c2b8
doxy: Disable the main index page.
...
Theres no usefull or even remotely complete information on it currently.
Which just leads to confusion.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tim W
b38b6d56ca
Add names for more channel layouts to the channel layout map.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Alex Converse
b0f29db5c2
Mark mutable static data const where appropriate.
13 years ago
Justin Ruggles
0b42a9388c
avutil: add av_rescale_q_rnd() to allow different rounding
13 years ago
Clément Bœsch
95317821ea
audioconvert: consistent use of FF_ARRAY_ELEMS for channel_layout_map.
13 years ago
Diego Biurrun
6df5c528ca
Move some conditionally used variables into the block where they are used.
...
This allows dropping the av_unused argument from them.
13 years ago
Reimar Döffinger
b223035511
Detect and check for CMOV.
...
Some MMX-only CPUs do not have support for CMOV.
All SSE/MMX2 CPUs should be fine, thus no check was
added to those functions.
See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&atid=992986
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Stefano Sabatini
c28e7af70d
lavu: add timestamp.h header with convenience timestamp utilities
13 years ago
Diego Biurrun
f769cfedd8
build: Add missing directories to DIRS declarations.
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Haruhiko Yamagata
166f399377
x86inc: support yasm -f win64 flag also.
...
This sets __OUTPUT_FORMAT__ to win64 instead of win32, even though both
(through -m amd64) produce 64-bit binary code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Henrik Gramner
9cf7385309
x86inc: allow manual use of WIN64_SPILL_XMM.
...
Functions using INIT_MMX may still access XMM registers through direct
means (xmm0-15). Therefore, they still need to be marked for clobber
so they can be properly saved/restored.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alex Converse
314af0ff94
aacdec: Use correct speaker order for 7.1.
...
The spec says the following speaker mapping is default:
center front speaker
left, right center front speakers,
left, right outside front speakers,
left surround, right surround rear speakers,
front low frequency effects speaker
13 years ago
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
...
Factorize code and provide ratio parsing consistency.
13 years ago
Michael Niedermayer
d3f912c1f0
adler32: add comment for the SIMD code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
26585d2a7f
adler32: rewrite using integer SIMD.
...
about twice as fast as before.
the not CONFIG_SMALL case is also droped as it is not faster than the
CONFIG_SMALL case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7f8027b76f
adler32: avoid "too big" check in the inner loop
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
9477fa094b
lavu/timecode: use @see for URL in doxygen.
13 years ago
Ronald S. Bultje
7e4d9d5d45
win64: add a XMM clobber test configure option.
...
This will be useful to test more aggressively for failures to mark XMM
registers as clobbered in Win64 builds, and prevent regressions thereof.
Based on a patch by Ramiro Polla <ramiro.polla@gmail.com>
13 years ago
Clément Bœsch
0eaa123b34
lavu: add public timecode API.
13 years ago
Paul B Mahol
8b933129b9
avutil: make intfloat api public
...
The functions are already av_ prefixed and intfloat header is already provided.
Install libavutil/intfloat.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Paul B Mahol
f9ca1ac796
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Conflicts:
libavutil/avutil.h
libavutil/pixfmt.h
13 years ago
Ronald S. Bultje
412b248edb
x86inc.asm: fix typo.
...
Assemblers don't understand ! in %if statements.
13 years ago
Ronald S. Bultje
3b15a6d742
config.asm: change %ifdef directives to %if directives.
...
This allows combining multiple conditionals in a single statement.
13 years ago
Alex Converse
08628b6afb
Revert "sws/pixfmt/pixdesc: add support for yuva444p"
...
This reverts commit fc115c80b7
.
Tests are broken.
13 years ago
Paul B Mahol
fc115c80b7
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Diego Biurrun
299ab0fd17
libavutil: Remove pointless file test program.
13 years ago
Michael Niedermayer
2bb7396bfd
base64: 10l endian fix.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
daa47fdd2c
Optimized base64 decode by writing 3 bytes at once.
...
About 25% faster.
decode: 248852 -> 200385 decicycles
(syntax check unchanged)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
420719e141
Cosmetics: add do {} while 0 to macro.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Jean First
39bf7ffeb5
pixdesc: cosmetics
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
def19c9036
Unroll base64 decode loop.
...
Around 50% faster.
decode: 374139 -> 248852 decicycles
syntax check: 236955 -> 123854 decicycles
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
523f676b51
Use a full table for base64 decode.
...
Also encodes error or end marker into table.
About 20% faster.
decode: 466491 -> 374139 decicycles
syntax check: 236955 -> 161182 decicycles
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
8650d5faf9
base64: more thorough decode tests.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
bdd739e91c
base64: Only run benchmark when "-t" is specified.
...
As the test is run during fate and the benchmark is useless for fate
this very slightly speeds up fate. Its also consistent with the other
tests.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
57822f0660
base64: fix little typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
01084336b7
base64: add a benchmark for a pure syntax check.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ea4da94895
base64: simplify end handling in av_base64_encode()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago