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
Carl Eugen Hoyos
34e7a3d74c
Move the iconv test to the bottom of configure.
...
This fixes a possible mis-detection of iconv on OS X.
OS X with macports often has two version of libiconv.2.dylib
installed, one with symbols like "_iconv_open" and one with
"_libiconv_open", so test for iconv with all flags to make
sure the detection uses the same library as the actual
compilation / linking.
Tested-by: Paul Sturbaum
12 years ago
Paul B Mahol
3f35f36a2e
lavfi: port MP stereo3d filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
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
Carl Eugen Hoyos
d043461344
Add h264chroma dependency for mpegvideo / lowres to configure.
...
Fix building for some unusual configurations.
12 years ago
Clément Bœsch
53ca0cb8d4
build: [autodetect] -> [no] in iconv help.
12 years ago
Carl Eugen Hoyos
523b12affc
Add h264chroma dependency for cavs decoder to configure.
...
Fix building for some unusual configurations.
12 years ago
Carl Eugen Hoyos
9051e297d2
Add h264qpel dependency for snow codec to configure.
...
Fix building for some unusual configurations.
12 years ago
Carl Eugen Hoyos
2b09078a61
Add h264chroma dependency for vp5 and vp6 decoder to configure.
...
Fix building for some unusual configurations.
12 years ago
Clément Bœsch
9ad3cd5b5f
build: disable iconv by default.
...
It seems to break a lot on MacOS because of a mixup between multiple
iconv libraries. The issue is that the configure check link with no
particular library path (so it uses /usr/lib/libiconv.dylib where all
the symbols are defined). OTOH, the final build might link with extra
library paths, such as the ports lib directory (typically you get
-L/opt/local/lib because of an extra library such as SDL). Whatever this
option position (before or after -liconv), it will try to link with
/opt/local/lib/libiconv.dylib, and the issue is that this version has
the same symbols as the ones in /usr/lib/libiconv.dylib except that they
all start with 'lib' (libiconv_open, libiconv_close, ...). I don't plan
to try to workaround this mess, so any better solution is welcome.
12 years ago
Ronald S. Bultje
d4e649cca6
h264: make it possible to compile without error_resilience.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
454c5d10b2
h264: add a copy of draw_horiz_band.
...
This makes the decoder independent of mpegvideo.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
7b2d50f81e
build: make iconv build configurable.
12 years ago
Clément Bœsch
2ecf564f94
build: fix iconv detection on some systems.
...
This at least fix the build on CentOS.
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
Michael Niedermayer
dbabea2f23
configure: hwaccel autodetection has been removed in 82ca17ac7a
...
If you want it back (yeah i want it back too)
then you just need to volunteer to maintain the code in configure
thats related to hwaccel autodetection.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
fdd392ed27
configure: Simplify VDPAU header check
...
Conflicts:
configure
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
James Almer
67b3fcf655
configure: Use libiconv on systems that lack built-in iconv
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
2b10d41464
h264: add videodsp dependency.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
76415a9420
configure: fix libavfilter pkgconfig description
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
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
Clément Bœsch
f796399344
lavc: support subtitles character encoding conversion.
12 years ago
Paul B Mahol
af882e1819
lavfi: port MP noise filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
759a3a2177
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
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
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
79dad2a932
dsputil: Separate h264chroma
12 years ago
Diego Biurrun
70b348ec5b
configure: Group all hwaccels together in a separate variable
12 years ago
James Almer
13eb9fcf56
build: Remove superfluous MAKE variable for the build suffix
...
Use BUILDSUF instead.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Steven Boswell II
6289a8296a
build-sys: Fix pkgconfig files when ffmpeg is built with --build-suffix
...
Tested-on: Fedora Core 14, 16, and 17.
Tested-on: Ubuntu by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago