Commit Graph

1386 Commits

Author SHA1 Message Date
Måns Rullgård
e45391bb32 configure: add some blank lines to improve readability
Originally committed as revision 19502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 23:30:50 +00:00
Måns Rullgård
adcb219081 Move output redirection of deps generation from make rule to DEPEND_CMD
Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:30:20 +00:00
Diego Biurrun
4eef77c1a3 Make Theora decoder depend on the VP3 decoder.
Practically all the code is shared.

Originally committed as revision 19491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 21:36:50 +00:00
Måns Rullgård
df5e397839 configure: group tests for compiler characteristics together
Originally committed as revision 19490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:41 +00:00
Måns Rullgård
a036c1b537 configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:39 +00:00
Måns Rullgård
d90330dc20 configure: remove special flags for XLC on Darwin
Rationale:
- Current versions of XLC accept gcc flags
- XLC can't compile FFmpeg

Originally committed as revision 19488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:35 +00:00
Måns Rullgård
55b290c690 configure: remove some darwin-related cruft
Originally committed as revision 19487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:31 +00:00
Måns Rullgård
fa0912fe50 configure: group all cpu-specific tests together
Originally committed as revision 19485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 16:05:24 +00:00
Diego Biurrun
baf91bb9a3 Make E-AC-3 decoder depend on the AC-3 decoder.
It is impossible to build E-AC-3 without AC-3.

Originally committed as revision 19477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-21 09:03:45 +00:00
Måns Rullgård
ce742de22c ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 22:30:24 +00:00
Måns Rullgård
89f2932baf configure: make --extra-cflags cumulative again
Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 19:00:59 +00:00
Diego Biurrun
e82dc4c91e Make VP6A/VP6F decoders depend on the VP6 decoder.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 09:24:59 +00:00
Diego Biurrun
015f8ee009 Make WMV3 decoders depend on their VC-1 counterparts.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 11:07:10 +00:00
Måns Rullgård
6fec122af7 Support building with TI TMS470 compiler
Originally committed as revision 19465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:52:35 +00:00
Diego Biurrun
63d72fdaf2 If any input/output devices are enabled then indevs/outdevs should
get enabled, not demuxers/muxers.

Originally committed as revision 19463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:40:28 +00:00
Stefano Sabatini
8beb41783a Replace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
missed them in r19293. Re-enable version check on w32api.h if the
vfwcap input device has been selected.

Originally committed as revision 19461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 10:38:53 +00:00
Carl Eugen Hoyos
0e57fe17eb Allow enabling alsa and jack devices.
Originally committed as revision 19460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 09:32:26 +00:00
Måns Rullgård
24524f36a1 configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:26 +00:00
Måns Rullgård
980a75c5a5 configure: remove some useless comments
Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:23 +00:00
Måns Rullgård
e7ea5e3d8d Check for __attribute__((packed)) support
Not all compilers claiming to be gcc support this attribute.

Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:43 +00:00
Måns Rullgård
df5cdc24b9 configure: handle --cpu before running compiler
It is possible that the compiler requires flags set by the --cpu
option, so we should not attempt to run it before those flags have
been added.

Originally committed as revision 19452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:41 +00:00
Måns Rullgård
a915980acd configure: simplify --cpu handling slightly
Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:37 +00:00
Måns Rullgård
88ec6ac9e4 configure: do not warn about mismatching altivec/cpu selection
We do not issue similar warnings for other architectures, and we
generally assume users know what they want.

Originally committed as revision 19445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:29:15 +00:00
Martin Storsjö
2b2c2a8179 Fix check_func_headers. The reference to the function under test was being
optimized out by gcc when the headers lied about the function existing,
rendering the test useless in that situation.
This new test throws a warning in mingw-w64, but that should not be a problem.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 16:02:50 +00:00
Måns Rullgård
973859f523 Disable gcc auto-vectorisation
The auto-vectoriser in gcc is enabled by default at -O3 since version
4.3.  However, it provides no speed benefit, but does produce incorrect
code on many targets.  Disabling it for gcc should give more reliable
builds.

If the adventurous want it back, they can edit the makefile themselves.

Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 19:02:07 +00:00
Måns Rullgård
89e053f83d Require aligned memory for everything that needs it
Altivec, NEON, and SSE require more alignment than standard malloc()
guarantees, whereas MMX does not.  Update checks to reflect this.

Originally committed as revision 19438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 18:33:12 +00:00
Diego Biurrun
bd20afc401 Skip the check for SSE aligned memory allocators when SSE is disabled.
Fixes issue 1269.

Originally committed as revision 19437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 12:23:38 +00:00
Måns Rullgård
ad420e25e2 Use normal check_func test for math functions
Originally committed as revision 19434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 08:22:06 +00:00
Martin Storsjö
f4c1387249 Improve linker check for Winsock library name.
On Windows CE, the Winsock library name is ws2, not ws2_32.
patch by Martin Storsjö, martin martin st

Originally committed as revision 19431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-14 14:02:09 +00:00
Måns Rullgård
19b4c62883 Set default flag filters before compiler detection
This allows use of the add_*flags functions in the compiler detection
section.

Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 22:46:10 +00:00
Martin Storsjö
b9349ff4ca Install the mingw import libraries, too.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 21:59:26 +00:00
Martin Storsjö
336cc1b0ee Enable creation of microsoft-style import libraries on arm.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 19:08:27 +00:00
Måns Rullgård
38a9c529e2 Use add_*flags only after compiler-specific configuration
Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 23:03:08 +00:00
Måns Rullgård
caf458dda4 Allow filtering of flags passed to compiler and assembler
This can be used to map gcc-type flags to equivalents with other
compilers.

Originally committed as revision 19421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:44:05 +00:00
Diego Biurrun
647c2356a6 Make (de)muxers for format variants select the main format (de)muxer.
It makes little sense to enable the variant without the main format.

Originally committed as revision 19420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:31:05 +00:00
Måns Rullgård
d8059267bc Place flags for dependency generation in DEPFLAGS
This avoids duplicating the full DEPEND_CMD line only to change some
flags.

Originally committed as revision 19419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:28:24 +00:00
Måns Rullgård
ce40e3470c Set CPPFLAGS in config.mak using normal assignment
Setting this value using ?= caused some trouble if it was already
defined in the environment.

Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:14:00 +00:00
Måns Rullgård
8c6d2da5be Protect config.mak against multiple inclusion
Some of the values set here are modified by the main makefiles
and should not be reset when config.mak is included again.

Originally committed as revision 19417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:13:57 +00:00
Måns Rullgård
0115927eae Use CFLAGS in default DEPEND_CMD
Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:34 +00:00
Måns Rullgård
9e7f32775c Use CFLAGS in check_cpp
Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:32 +00:00
Måns Rullgård
75bafbac7b Set as_default after compiler detection, allowing compiler-specific defaults
Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:55 +00:00
Måns Rullgård
2f2e6c7ce1 Pass ASFLAGS to assembler instead of CFLAGS
Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:53 +00:00
Måns Rullgård
7f32f40c89 Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:51 +00:00
Måns Rullgård
997f3ba4ef Set CPU selection flags in $cpuflags, add to cflags outside case block
Originally committed as revision 19410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:48 +00:00
Måns Rullgård
7e6c86e65d Allow unusual ways of specifying compiler output file
Some compilers do not use the typical -c -o foo.o style.
This allows compiler-specific equivalents to be set by the
configure script.

Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:46 +00:00
Måns Rullgård
50567afa5a Use DEPCC to find dependencies, default to same as CC
Originally committed as revision 19408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:43 +00:00
Måns Rullgård
684b28e09c Use LD for linking, default to same as CC
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:40 +00:00
Måns Rullgård
3198f6187a Set CFLAGS directly in config.mak instead of using OPTFLAGS
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:38 +00:00
Måns Rullgård
467256f248 Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:35 +00:00
Måns Rullgård
50a334e426 Separate C preprocessor flags into CPPFLAGS variable
Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:32 +00:00
Diego Biurrun
95a61cfc24 Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.
The VAAPI/VDPAU variants of foo require almost all of the code of foo.
Thus it makes little sense to enable just the accelerated variant.
This allows refactoring some object dependencies in the Makefiles.

Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:22:01 +00:00
Måns Rullgård
fed5d54b56 configure: allow bulk-disabled things to be re-enabled by dependents
Originally committed as revision 19401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 00:17:42 +00:00
Alex Converse
291fd18a6e Add a log2 replacement for systems that haven't quite caught up with the C99
standard library.

Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 19:20:06 +00:00
Diego Biurrun
fc1206a4d9 Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
libopencore can now be used as a replacement except for AMR-WB encoding.

Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-07 00:28:16 +00:00
Måns Rullgård
d6ced96317 ARM: enable fast_unaligned when --cpu=armv[67] is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 12:46:09 +00:00
Måns Rullgård
07a8eef699 Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.

Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 20:45:49 +00:00
Stefano Sabatini
4e622deaab Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 20:00:58 +00:00
Stefano Sabatini
38e54a75ab Make the configure script select the input/output devices using
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.

Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 18:49:15 +00:00
Stefano Sabatini
c2b3565e4a Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 23:21:40 +00:00
Adrian Stutz
30b1fff69c Only checks for jack if it is enabled and hence only links to jack if
it is not disabled.

Patch by Adrian Stutz $firsname@sttz ch.

Originally committed as revision 19277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 22:48:49 +00:00
Michael Kostylev
28c9f06959 Disable network support if required headers cannot be found.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 19227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-19 17:21:13 +00:00
Måns Rullgård
b04251c5d0 configure: properly quote configure options stored in config.*
Originally committed as revision 19201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:21 +00:00
Diego Biurrun
90b4f09177 Merge FreeBSD and DragonFlyBSD OS detection sections.
Apparently DragonFlyBSD does not need memalign either.

Originally committed as revision 19191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 14:49:46 +00:00
Adam Hoka
d6dcfc7f5b Add DragonFlyBSD to the list of supported OSes.
patch by Adam Hoka, ahoka NetBSD org

Originally committed as revision 19190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 13:18:10 +00:00
Diego Biurrun
17492d5e40 Add code to enable and disable all VAAPI and VDPAU parts.
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.

Originally committed as revision 19145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-10 20:50:53 +00:00
Diego Biurrun
28b80940ff Express the H.264 parser dependency on the golomb code in configure instead of
in the Makefile as it is done for all other parts that depend on golomb.

Originally committed as revision 19139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-09 20:29:52 +00:00
Diego Biurrun
0b175caac8 Add support for external OpenCORE libraries for AMR-NB/WB support.
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 12:32:40 +00:00
Diego Biurrun
9cad0e4ed8 Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 11:04:03 +00:00
Måns Rullgård
85dd97adff configure: detect Loongson MIPS extensions
Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 23:19:29 +00:00
Reimar Döffinger
34d11b875f Change HAVE_PPC64 to ARCH_PPC64.
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).

Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 05:00:51 +00:00
Diego Biurrun
57f8df050f dv1394 is disabled by default, do not redundantly disable it on Hurd.
Originally committed as revision 18946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 20:18:33 +00:00
Andres Mejia
34e82167f3 Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 05:39:58 +00:00
Diego Biurrun
ba7a703947 Print out more verbose licensing information.
Originally committed as revision 18893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 10:10:02 +00:00
Diego Biurrun
1754fe4d30 The AC-3 decoder is now LGPL. Exchange the license header and change references
in the build system and documentation that mark it as GPL.

Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 22:58:09 +00:00
Måns Rullgård
bae3abb02c Define ARCH_MIPS64 when building for MIPS64
Originally committed as revision 18874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:24 +00:00
Måns Rullgård
08a85a59d6 Define HAVE_BIGENDIAN as 0 or 1 according to CPU type
This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

Originally committed as revision 18873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:22 +00:00
Måns Rullgård
5b34250da0 configure: add some MIPS CPUs
Originally committed as revision 18872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:38:44 +00:00
Andres Mejia
83993c1c76 Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 11:45:41 +00:00
Måns Rullgård
4c27207c12 configure: fix licence check function
Originally committed as revision 18717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 16:14:33 +00:00
Diego Biurrun
2f7ae63ba1 Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.

Originally committed as revision 18715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:40:25 +00:00
Diego Biurrun
2184c6f7af Factorize GPL and nonfree license checks into a common function.
Originally committed as revision 18714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:32:40 +00:00
Måns Rullgård
e4ddc8edfa configure: support Blackfin CPU names with --cpu
Originally committed as revision 18660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 09:27:36 +00:00
Måns Rullgård
cc078b5d8f PPC: check for x-form asm constraint support
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 13:57:30 +00:00
Måns Rullgård
9f5ff83f2a PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions.  Using these avoids a separate byteswap.  This makes the
vorbis decoder about 5% faster.  Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.

Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 00:00:31 +00:00
Diego Biurrun
8bb3d6a612 Do not add -fno-common to CFLAGS on DOS, it is unneeded.
Originally committed as revision 18536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-16 10:34:14 +00:00
Martin Storsjö
29382bc1eb Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st

Originally committed as revision 18526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 17:29:20 +00:00
Ramiro Polla
1894e741f5 win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216

Originally committed as revision 18501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 22:54:21 +00:00
Diego Biurrun
e467369278 Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:55:05 +00:00
Ramiro Polla
e90f5b5ab1 configure: Add --enable-runtime-cpudetect
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:26:18 +00:00
Olivier Guilyardi
80ff8a16f5 Implement JACK input device.
Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".

Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 23:53:47 +00:00
Gwenole Beauchesne
ff41873562 Add VA API deps.
Originally committed as revision 18312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:49:33 +00:00
Gwenole Beauchesne
5666fd731e Add hwaccel configury. This generates CONFIG_<CODEC>_<HWACCEL>_HWACCEL
from registered HW accelerated codecs with REGISTER_HWACCEL().

Originally committed as revision 18311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:48:06 +00:00
Diego Biurrun
d326cf7f8f Add an empty line in front of configure debug instructions.
This makes the actual error message that configure prints be more noticeable.

Originally committed as revision 18308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:02:32 +00:00
Måns Rullgård
13cbe2c026 Quote stored configure arguments containing spaces
Originally committed as revision 18252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:12:44 +00:00
Ramiro Polla
4b51fb1ce0 mingw32: Restore creation of import libraries. They are still not being
installed, but they're good for creating -dev packages.

Originally committed as revision 18214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 03:42:32 +00:00
Ramiro Polla
b2cfd7e360 Create swscale subdirs for out-of-tree builds.
Originally committed as revision 18191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 01:29:20 +00:00
Diego Biurrun
0a7ee3ef59 cosmetics: Group all path variables together in config.mak.
Originally committed as revision 18187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 17:46:25 +00:00
Cédric Schieli
a9ddb5b1a4 Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)
Originally committed as revision 18075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 14:12:47 +00:00
Ramiro Polla
7c5bfe7add Check for VirtualAlloc() so it may be used to allocate executable memory in
Windows.

Originally committed as revision 18050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:52:01 +00:00
Ramiro Polla
06abe7f5b4 mingw32: call lib.exe instead of lib to facilitate running it through wine.
Originally committed as revision 17995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 23:15:57 +00:00
Matthieu Castet
337cee680b Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 21:32:36 +00:00
Carl Eugen Hoyos
be2cf98a75 Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209

Originally committed as revision 17985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 13:22:41 +00:00
Diego Biurrun
5e622c401f Replace all `` by $(), the latter can be nested more easily.
Originally committed as revision 17923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:59:31 +00:00
Diego Biurrun
5fd89ca03f Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
Originally committed as revision 17922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:33:27 +00:00
Måns Rullgård
75800dce2b Set AS to $CC by default, override with gcc only when CC is armcc
Originally committed as revision 17920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:39:49 +00:00
Måns Rullgård
aa033b1ed7 Enable CONFIG_FASTDIV by default
Originally committed as revision 17900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 09:19:11 +00:00
Måns Rullgård
82bb33290e Allow different executable suffix for host and target
Originally committed as revision 17885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:11:24 +00:00
Diego Biurrun
5add54b4f9 cosmetics: fix indentation
Originally committed as revision 17864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 19:56:21 +00:00
Diego Biurrun
711dae776f Get rid of redundant vdpau option, decoders can still be disabled individually.
Originally committed as revision 17855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 10:18:39 +00:00
Måns Rullgård
03e3776293 ARM: detect armcc compiler and enable gcc mode
Originally committed as revision 17829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:08 +00:00
Måns Rullgård
f65883c812 configure: check asm support using $as
Originally committed as revision 17828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:04 +00:00
Måns Rullgård
313c46a610 Compile .S files with $(AS), set it in configure
Assembler files using the GNU syntax need to be processed by gcc,
whichever compiler is used for C files.

Originally committed as revision 17827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:01 +00:00
Reimar Döffinger
15ef402663 Remove the swscale dummy option, most (all?) FATE configs should be updated
to work without it.

Originally committed as revision 17809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:41:47 +00:00
Måns Rullgård
03754fcd6f Alpha: use -g3 with ccc to allow optimisation with debugging symbols
Originally committed as revision 17793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:53:29 +00:00
Måns Rullgård
511b3667d6 Allow --enable-swscale until FATE is updated
Originally committed as revision 17788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:07:12 +00:00
Michael Niedermayer
6d4f53cbac Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Diego Biurrun
fdf119062e Remove deprecated vhook subsystem.
Originally committed as revision 17769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 14:09:10 +00:00
Diego Biurrun
9d821fc2d2 Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
CFLAGS.  Apparently there are some systems that do not like these definitions.

Originally committed as revision 17755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 12:52:12 +00:00
Diego Biurrun
892438a3d1 Remove mpeg4aac dependency declaration, the decoder was removed.
Originally committed as revision 17753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 12:45:48 +00:00
Måns Rullgård
54460a8347 configure: improve temp file creation and cleanup
Originally committed as revision 17752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 08:53:55 +00:00
Måns Rullgård
b77df6377b configure: fix return value from check_header
Originally committed as revision 17695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 17:57:14 +00:00
Måns Rullgård
cd0d9a9de6 configure: check_func_headers should mark headers as found
Originally committed as revision 17668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 19:56:21 +00:00
Måns Rullgård
7270270541 configure: {enable,disable}_safe functions that sanitise arguments
Originally committed as revision 17667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 19:56:19 +00:00
Måns Rullgård
92971e91ec configure: remove redundant alsa/asoundlib.h check
Originally committed as revision 17650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:15:12 +00:00
Diego Biurrun
760227633d 100l: Revert removal of GPL check for libswscale.
libswscale still compiles GPL parts by default.

Originally committed as revision 17557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:33:39 +00:00
Diego Biurrun
f83a40985c The software scaler is no longer GPLed.
Originally committed as revision 17556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:11:45 +00:00
Diego Biurrun
75ecf14900 Check if -lrt is required for nanosleep, as is the case on Solaris.
inspired by a patch from Fabian Groffen, grobian gentoo org

Originally committed as revision 17537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 01:56:08 +00:00
Diego Biurrun
3a636b6fd7 Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.
Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 11:04:22 +00:00
Måns Rullgård
df442a8d48 configure: detect ccc compiler (Alpha) and set required flags
Originally committed as revision 17507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:13:19 +00:00
Måns Rullgård
b1598b5805 configure: indent
Originally committed as revision 17503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 22:12:47 +00:00
Måns Rullgård
154d432cc4 Pass sysroot argument to gcc
Originally committed as revision 17500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:37 +00:00
Måns Rullgård
c5200f1753 Add --sysroot and --sysinclude configure options
Some cross-compilers need these parameters, and we can't
figure out the correct values.

Originally committed as revision 17499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:34 +00:00
Måns Rullgård
629687f62f configure: move detection of compiler type to single location
Originally committed as revision 17498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:32 +00:00
Måns Rullgård
333d5374d0 Remove special treatment of version.h in DEPEND_CMD
Originally committed as revision 17484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 18:19:29 +00:00
Måns Rullgård
f4870943ea configure: add (empty) avr32 arch case
Originally committed as revision 17479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:27 +00:00
Måns Rullgård
cfdb6148d6 configure: sort cases in arch section
Originally committed as revision 17478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:25 +00:00
Aurelien Jacobs
d52b39c79c fix missing dependencies
Originally committed as revision 17445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:27:57 +00:00
Diego Biurrun
ca14e2a8b7 Handle conditional compilation of CPU-specific FFT code in the Makefile.
Also replace one coarse MMX condition with more fine-grained
3DNow!/3DNowExt!/SSE conditions.

Originally committed as revision 17409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:11:49 +00:00
Diego Biurrun
a1ef9f08ec Add support for enabling/disabling AMD 3DNow! extended optimizations.
Originally committed as revision 17408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:03:09 +00:00
Andreas Öman
3fff63826b Gopher protocol should depend on networking being enabled.
Ok'd by Måns and DonDiego on IRC.

Originally committed as revision 17399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 22:25:40 +00:00
Diego Biurrun
8f6f050aae 100l: Remove stray character that slipped into header name.
Originally committed as revision 17231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:54:24 +00:00
Diego Biurrun
fc2dd7e3de Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +00:00
Diego Biurrun
d3a4b4e09c Add check whether the compiler/assembler supports 10 or more operands.
thanks to Loren for some help with the asm statements

Originally committed as revision 17151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:16:00 +00:00
Mathieu Malaterre
3d6fac8cee Use default system include path for an installed OpenJPEG library.
patch by Mathieu Malaterre, mathieu.malaterre gmail com

Originally committed as revision 17129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 11:29:31 +00:00
Jai Menon
9a77d59a89 Use libopenjpeg for jpeg2k decoding.
Patch by Jaikrishnan Menon

Originally committed as revision 17017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 11:49:31 +00:00
Måns Rullgård
7595a5e491 configure: add command flag to disable yasm use
Originally committed as revision 16998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 02:47:26 +00:00
Måns Rullgård
c0f5b7f107 configure: set EXESUF before it is used
Originally committed as revision 16997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 00:03:54 +00:00
Måns Rullgård
993f2d0fd7 configure: move basic sanity tests before other tests
Originally committed as revision 16995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 21:28:54 +00:00
Diego Biurrun
242e22708c fastdiv is disabled by default, so put --enable-fastdiv into the help output.
Originally committed as revision 16991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:34:08 +00:00
Alex Converse
63cae55d62 Use the new RDFT code in the QDM2 decoder.
Originally committed as revision 16865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:33:29 +00:00