Ronald S. Bultje
28bc406c84
mjpeg: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
1277dc07fb
svq1enc: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
2f6bc5f7c1
svq3: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
f4fed5a2f9
mpegvideo: Use hpeldsp instead of dsputil for half-pel functions
...
This also converts vc1, since that is mpegvideo-based.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
6caa44aa7d
svq1: Use hpeldsp instead of dsputil for half-pel functions
...
This makes svq1 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
c10470035e
mimic: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
8071264f21
interplayvideo: Use hpeldsp instead of dsputil for half-pel functions
...
This makes interplayvideo independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
0f0a11d576
bink: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
8f992dc8c7
indeo3: Use hpeldsp instead of dsputil for half-pel functions
...
This makes the Indeo 3 decoder independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
cb7ecb7563
vp56: Use hpeldsp instead of dsputil for half-pel functions
...
This makes vp5 and vp6 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
3bd062bf7f
vp3: Use hpeldsp instead of dsputil for half-pel functions
...
This makes vp3 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
68d8238cca
hpeldsp: Add half-pel functions (currently copies of dsputil)
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Vittorio Giovara
3fce136798
lavfi: new interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
93e65e9a6c
Cosmetics, restore alphabetic order in atomics lists.
12 years ago
Ronald S. Bultje
b93b27edb0
dsputil: Make dsputil selectable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Reinhard Tartler
a862c7d336
Integrate lcov/gcov into Libav
...
The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/
12 years ago
Luca Barbato
19f251a288
clang: use -fsantize=address and -fsanitize=thread
...
The previous syntax is deprecated.
12 years ago
Martin Storsjö
817dff578f
configure: Check for the atomic.h functions used in the suncc atomics header
...
The "suncc" atomics implementation uses a suncc specific memory
barrier, but also relies on a few atomic functions from atomic.h,
that are not suncc specific but specific to solaris. This made
the current implementation fail on suncc on linux.
12 years ago
Anton Khirnov
f9f6402e9c
configure: prettify atomics handling.
...
Add simpler names and a shorthand for native atomics (as opposed to
pthreads fallback).
12 years ago
Martin Storsjö
cfe5908a72
configure: Add error_resilience as dependency to the eatqi decoder
...
This makes standalone compilation of the eatqi decoder
succeed. The dependency comes from the shared mpeg12dec.o file.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Janne Grunau
d767e2f969
configure: fix dependencies of XvMC and old vdpau mpeg2 decoders
12 years ago
Martin Storsjö
2ece5bf3ec
configure: Remove a stray msmpeg4v1 encoder declaration
...
No such encoder exists currently.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
3b2d0ec473
configure: Remove the mpegvideo dependency from svq1
...
The svq1 decoder can be built standalone without mpegvideo.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
0b499c9b06
h264: Make it possible to compile without error_resilience
...
Error resilience is enabled by the h264 decoder, unless explicitly
disabled. --disable-everything --enable-decoder=h264 will produce
a h264 decoder with error resilience enabled, while
--disable-everything --enable-decoder=h264 --disable-error-resilience
will produce a h264 decoder with error resilience disabled.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
75644335b9
lavc: Move start code finding to utils.c
...
This allows dropping the mpegvideo dependency from a number of
components.
This also fixes standalone building of the h264 parser, which
was broken in 64e438697
.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
2e2ec66741
configure: Enable hwaccels without external dependencies by default.
12 years ago
Vittorio Giovara
2eaa3663fd
avplay: enable only when SDL 1.2 is found
...
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Martin Storsjö
e460aa3282
atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize
...
Not all gcc configurations have an implementation of all the atomic
operations, and some gcc configurations have some atomic builtins
implemented but not all.
Thus check for the most essential function, whose presence should
indicate that all others are present as well, since it can be used
to implement all the other ones.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
65f1d45dcc
lavu: add support for atomic operations.
...
These could be used for reference counting, or for keeping track of
decoding progress in references in multithreaded decoders.
Support is provided by gcc/msvc/suncc intrinsics, with a fallback using
pthread mutexes.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
870add0de9
configure: Add missing videodsp dependencies to some decoders
12 years ago
Diego Biurrun
bcd0a7137e
configure: Add missing h264chroma dependencies to vp5, vp6
12 years ago
Diego Biurrun
06b54e8425
build: Fix error_resilience code dependencies
12 years ago
Ronald S. Bultje
64e4386974
h264: Integrate draw_horiz_band into ff_h264_draw_horiz_band
...
This makes the decoder independent of mpegvideo.
This copy of the draw_horiz_band code is simplified compared to
the "generic" mpegvideo one which still has a number of special
cases for different codecs.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Carl Eugen Hoyos
5da5128493
cavs: Add a dependency on h264chroma
...
This fixes standalone building of this decoder.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
2a7ab2dfaa
configure: Use check_builtin() where appropriate
12 years ago
Diego Biurrun
9c7d85b3b4
configure: Add check_builtin convenience function
12 years ago
Diego Biurrun
f868b24d0f
configure: Add sanitize_var_name convenience function
...
This is useful in all the places where special characters in
variable names are manually translated to underscores.
12 years ago
Diego Biurrun
813b82b927
configure: Fix silly typo in logging command of check_struct()
12 years ago
Diego Biurrun
3a02b6884c
configure: icc: Drop nonsense adding of cpuflags to LDFLAGS
...
This fixes many icc warnings when not setting the CPU type.
12 years ago
Diego Biurrun
b2d688ea9f
configure: Identify icc compiler with a less ambiguous pattern
12 years ago
Diego Biurrun
b58b00aeca
configure: Separate "ln" command line arguments
...
This is more compatible and not more complicated.
12 years ago
Mans Rullgard
04cccb5fc1
configure: List external libs used using print_enabled()
...
This cuts some lines from the script as well as the output and
simplifies maintenance.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
3fc09b0081
configure: Move list of external libs to a separate variable
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
45235ac488
configure: Move x11grab option to a more suitable place in the help output
12 years ago
Diego Biurrun
82ca17ac7a
configure: Fix vaapi/vda/vdpau dependency declarations
12 years ago
Diego Biurrun
215cdd35ef
configure: Refactor dxva2api.h dependency declarations
12 years ago
Diego Biurrun
4cc4b33f71
build: Add proper infrastructure for adding and checking host CPPFLAGS
12 years ago
Diego Biurrun
2aac411fd4
configure: Simplify VDPAU header check
12 years ago
Diego Biurrun
9840130edf
configure: Simplify VDA header and extralibs check
12 years ago
Mans Rullgard
0a8da1a3e5
configure: Do not redundantly list enabled hwaccel libs
...
The enabled hwaccels are listed later anyway.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago