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
Diego Biurrun
7432e87206
configure: Add print_3_columns helper function and use where appropriate
12 years ago
Luca Barbato
aa11cb7931
build: make audio_frame_queue a stand-alone component
...
Encoders requiring it have the dependency expressed in the
configure.
12 years ago
Diego Biurrun
759a3a2177
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
12 years ago
Diego Biurrun
69dca3a4f4
openbsd: Add minor number to shared library install name
...
This is what the OpenBSD porter's manual describes as correct, cf.
http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs
12 years ago
Diego Biurrun
304b806cb5
build: Make library minor version visible in the Makefile
...
This allows employing that number in library install commands.
12 years ago
Diego Biurrun
79dad2a932
dsputil: Separate h264chroma
12 years ago
Diego Biurrun
70b348ec5b
configure: Group all hwaccels together in a separate variable
12 years ago
Diego Biurrun
197252f1c5
configure: Add a comment indicating why uclibc is checked before glibc
12 years ago
Diego Biurrun
29f1fa7422
configure: Move newlib libc check before mingw libc check
...
On Cygwin systems MinGW headers can be present if the corresponding
packages have been installed. Since the MinGW libc is checked for
first, this results in newlib getting misdetected as MinGW libc.
12 years ago
Diego Biurrun
2c10e2a2f6
build: Make the H.264 parser select h264qpel
...
It is required for building the shared H.264 code.
12 years ago
Diego Biurrun
528878ee7b
openbsd: configure: Stop enabling PIC by default
...
Previously PIC was enabled as a magic workaround for binaries that
built fine, but failed to function at all. This problem no longer
exists, possibly since the introduction of symbol versioning.
12 years ago
Brad Smith
c7df1532e5
libgsm: detect libgsm header path
...
Libgsm header can reside either in the base include dir or in
the gsm subdir.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Sean McGovern
6d1114a806
configure: Run SHFLAGS through ldflags_filter()
...
These flags are as linker-specific as other LDFLAGS and thus
need to be translated to the correct linker syntax.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Luca Barbato
43e0e0c4e5
libcdio: support recent cdio-paranoia
...
Upstream decided to split the paranoia interface and move the headers
accordingly.
12 years ago
Martin Storsjö
0eecafc948
configure: Make the new srtp protocol depend on the rtp protocol
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
99853cb8d4
configure: Make warnings from -Wreturn-type fatal errors
...
These warnings have no false positives and point to serious bugs.
12 years ago
Sean McGovern
5e753ed502
suncc: Replace more GCC flags by their equivalents in suncc_flags()
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Luca Barbato
3f111804eb
libvpx: make vp8 and vp9 selectable
...
Support older libvpx versions.
12 years ago
Rémi Denis-Courmont
7752532789
vdpau: Add VC-1 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Rémi Denis-Courmont
51b56a0716
vdpau: Add H.264 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Rémi Denis-Courmont
200e8ac920
vdpau: Add MPEG-4 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Rémi Denis-Courmont
aaf9d0e8f3
vdpau: Add MPEG-1/2 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago