Stefano Sabatini
481fdeeecf
lavu/opt: add AV_OPT_SAMPLE_FMT option
12 years ago
Anton Khirnov
b4dc6dccba
crc: move doxy to the header
12 years ago
Diego Biurrun
0a7a94f2e5
x86: Refactor PSWAPD fallback implementations and port to cpuflags
12 years ago
Diego Biurrun
26f01bd106
x86: PMINUB: port to cpuflags
12 years ago
Diego Biurrun
61bc2bc7d4
x86util: Add cpuflags_mmxext alias for cpuflags_mmx2
...
"mmxext" is a more sensible name and more common in outside projects.
12 years ago
Nicolas George
483c1aa5f1
lavu/bprint: add av_bprint_get_buffer().
...
It is useful to use bprint to handle a growing buffer
used with another API.
12 years ago
Diego Biurrun
012f73e271
x86inc: Only define program_name if the macro is unset
...
This allows overriding the value from outside of the file.
12 years ago
Michael Niedermayer
6204ea17f1
rational: test add/sub too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
25a21c587c
eval-test: add some otherwise untested functions.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
adc39b28a5
av_image_copy: check for av_image_get_linesize() failure.
...
Fixes CID703722
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3a34ac6541
file: typo
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
31bf820a26
av_tempfile: document umask() issue
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Dave Yeo
264f12342c
x86: Fix assembly with NASM
...
Unlike YASM, NASM only looks for include files in the current
directory, not in the directory that included files reside in.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Dave Yeo
9c167914a1
x86: Fix assembly with NASM
...
Unlike YASM, NASM only looks for include files in the current
directory, not in the directory that included files reside in.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Michael Niedermayer
6c49562d79
tree-test: fix printf() types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
588fafe7f3
x86: MMX2 ---> MMXEXT in macro names
12 years ago
Diego Biurrun
6860b4081d
x86: include x86inc.asm in x86util.asm
...
This is necessary to allow refactoring some x86util macros with cpuflags.
12 years ago
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Ronald S. Bultje
08b028c18d
Remove INIT_AVX from x86inc.asm.
12 years ago
Michael Niedermayer
977cb54f94
tree: fix type used for testing the tree
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
01b760190d
lavr: add general API usage doxy
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Stefano Sabatini
d4604d10fe
lavu/parseutils: add trailing characters check in av_parse_video_size()
...
Return an error in case the video size specifications contains spurious
trailing chars, like in "320x240foobar".
12 years ago
Michael Niedermayer
ac090fa68c
lavu: keep context size variables
...
They are essential to be able to use the utils without av_malloc()
That is for example use with malloc(), memalign(), some other
private allocation function, on the stack or others.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2bcbdd8456
lavu: add more doxy to av_rescale_delta
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8766ad9eb1
lavu: add av_rescale_delta()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
90d4b07063
mathemathics: update copyright years
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ae52eb7fc7
lavu: add av_clip64()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
15f52e50fe
tools: add ffescape utility
12 years ago
Alexis Ballier
ce028ab9a7
Restore installation of libavutil/lzo.h after 2a91ada828
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
2a91ada828
avutil: Make LZO decoder code configure-time selectable
12 years ago
Diego Biurrun
5bac2d0c30
avutil: Move memcpy_backptr() to mem.c
...
The function is used elsewhere and does not belong with the LZO code.
12 years ago
Mans Rullgard
d82f188504
Remove need for padding in av_memcpy_backptr()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
ceb754d041
lzo: Use AV_COPY*U macros where appropriate
12 years ago
Diego Biurrun
af6dd6de08
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
12 years ago
Mans Rullgard
fab0a8b2c6
libm: add fallbacks for various single-precision functions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Anton Khirnov
c692957c4e
lavu: remove disabled avoptions cruft
12 years ago
Anton Khirnov
468ea9d5b1
Revert "avutil: make some tables visible again"
...
This reverts commit def8c94699
.
After the major bump this is no longer necessary.
12 years ago
Anton Khirnov
add3a6902e
lavu: bump major to 52
...
In addition to the recent tables mess, the AVOption defaults behavior
changed, so an old lavc used with a new lavu will get completely messed
up defaults.
12 years ago
Anton Khirnov
2b8dd371e4
lavu: postpone recent deprecations until the next major bump
12 years ago
Anton Khirnov
00ed7f5958
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft
12 years ago
Anton Khirnov
8207c67a24
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
12 years ago
Anton Khirnov
c6b25d1d5e
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
...
This reverts commit d15c21e5fa
.
After the major bump this is no longer necessary.
12 years ago
Stefano Sabatini
b6e36a4244
lavu/parseutils: remove unused gcd variable in av_parse_ratio()
...
Fix warning.
12 years ago
Nathan Caldwell
a893655bda
avutil: Add AVERROR_EXPERIMENTAL
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Mans Rullgard
ebe46b8063
ARM: reinstate optimised intmath.h
...
Use of the ARM optimised intmath.h was accidentally dropped in 9734b8b
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Martin Storsjö
d15c21e5fa
avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility
...
Earlier versions of for instance of libavcodec expect this symbol to be
present in libavutil. This commit can be reverted after the next major
bump.
New shared builds of avcodec will link to the internal copy of the
table within that library, so those builds won't rely on this table
being present in avutil any longer either.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Reinhard Tartler
def8c94699
avutil: make some tables visible again
...
These tables are used for instance by older versions of libavcodec and
need to remain visible until the next SONAME bump.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Mans Rullgard
8c0a3d5fe0
avutil: remove inline av_log2 from public API
...
This removes inline av_log2 and av_log2_16bit from the public API,
instead exporting them as regular functions. In-tree code still
gets the inline and otherwise optimised variants.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Stefano Sabatini
cdea54b4c8
lavu/parseutils: rework rational reduction logic in av_parse_ratio()
...
Avoid to divide num and den by gcd in case of a parsed expression, since
that is already done in av_d2q(), and force reduction in case of "a:b"
form, allowing to honour the max parameter.
The latter change is consistent with the a/b case, and with the
documentation.
12 years ago
Diego Biurrun
5532cf3178
avutil/mem: K&R formatting cosmetics
12 years ago