Commit Graph

1506 Commits

Author SHA1 Message Date
Måns Rullgård 43f60eba19 Move arch-specific makefile parts into $arch/Makefile
Originally committed as revision 22569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:22:59 +00:00
Måns Rullgård e0e335a023 configure: do not use $_
Both bash and ksh abuse this variable even in POSIX mode, leading
to unpleasant surprises.

Originally committed as revision 22568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:22:54 +00:00
Måns Rullgård 4693b031a3 Move H264 dsputil functions into their own struct
This moves the H264-specific functions from DSPContext to the new
H264DSPContext.  The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.

The qpel and chroma MC functions are not moved as these are used by
non-h264 code.

Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 01:17:00 +00:00
Måns Rullgård 2fad097788 Add FATE tests
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 19:23:24 +00:00
Martin Storsjö 0298cc04bd Add dependencies used by the RDT and ASF/RTP code
Originally committed as revision 22538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 08:35:07 +00:00
Måns Rullgård 05aec7bb87 Separate DWT from snow and dsputil
This moves the DWT functions from snow.c and dsputil.c to a file of
their own.  A new struct, DWTContext, holds the function pointers
previously part of DSPContext.

Originally committed as revision 22522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 17:50:12 +00:00
Diego Biurrun 2138dc99fc Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.
This make NetBSD compile out of the box at the cost of a hack, but a
locally contained one that is preferable to the one used in the wild.
Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work
around broken system headers. Since it is unlikely for NetBSD to fix their
headers, it is better to use a standard flag instead of a system-specific one.

As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition.

Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-12 17:28:02 +00:00
Ramiro Polla bb55e3a33d Document --disable-everything in configure --help.
Originally committed as revision 22481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-12 13:03:40 +00:00
Måns Rullgård 3952471da5 configure: remove stray semicolon
Originally committed as revision 22445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:42:13 +00:00
Måns Rullgård 54a2ae3728 configure: use map() function in a couple of places
Originally committed as revision 22444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:06 +00:00
Måns Rullgård 36e2dea032 configure: add --disable-everything option
This disables all codecs, formats, etc.  It saves some typing when
only a few components are desired.

Originally committed as revision 22443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:02 +00:00
Måns Rullgård 47b1860eef configure: allow mips64el and powerpc64 as values for --arch
Originally committed as revision 22439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:24:39 +00:00
Måns Rullgård 9a894c48ae undef av_always_inline before redefining
Fixes numerous warnings with --enable-small or --disable-optimizations.

Originally committed as revision 22430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 12:29:44 +00:00
Måns Rullgård 1afc4750ef configure: always write shared lib variables to config.mak
Originally committed as revision 22395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 14:58:22 +00:00
Peter Ross 279a0c976e Enable tcp_protocol when enabling http
Originally committed as revision 22388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 12:09:55 +00:00
Georgi Chorbadzhiyski 49351479ea Add missing build dependencies for the AAC decoder caused by adding of SBR.
Patch by Georgi Chorbadzhiyski gf at unixsol dor org

Originally committed as revision 22373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 06:10:01 +00:00
Måns Rullgård de63bfecd2 Error on missing function prototypes with gcc
This makes it an error to not have a prototype in scope for
a function with external linkage.  The flag is only enabled
for gcc due to -Werror=type not working with all compilers.

Originally committed as revision 22313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 02:36:27 +00:00
Måns Rullgård 62df111cf0 Use -Werror=implicit only with gcc
Some other compilers turn too many warnings into errors with this flag.

Originally committed as revision 22276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 06:53:12 +00:00
David Conrad 4def700e9e Fix clang sysroot flag
Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted

Originally committed as revision 22274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 03:01:36 +00:00
Måns Rullgård 1e50348a2a Error on implicit function declarations
Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

Originally committed as revision 22269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 23:19:07 +00:00
Måns Rullgård 6cfac0e908 Fix make install
Originally committed as revision 22245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:44:18 +00:00
Måns Rullgård fd676deb96 Add INSTALL makefile variable
Originally committed as revision 22242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:13 +00:00
Måns Rullgård 4335125ccc Add CP make variable
Originally committed as revision 22240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:08 +00:00
Måns Rullgård a4aea515b0 Add YASMDEP variable; use for deps on yasm files
Originally committed as revision 22239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:06 +00:00
Måns Rullgård b781cc1282 Make lsp a separate configurable and select it from codecs needing it
Originally committed as revision 22143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 03:16:27 +00:00
Diego Biurrun fc298fd9be Add -Wmissing-prototypes to CFLAGS if available.
Originally committed as revision 22009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 21:03:25 +00:00
Daniel Verkamp fa7252494c Fix snow encoder dependencies
Originally committed as revision 21985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 08:10:01 +00:00
Daniel Verkamp 19ecfb8aeb Fix svq1 encoder dependencies
Originally committed as revision 21984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 08:04:55 +00:00
Reimar Döffinger fc5607f862 Make -benchmark also print the maximum memory usage if possible.
Originally committed as revision 21973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 22:21:58 +00:00
Martin Storsjö 6f5a3d0a7b Add an RTSP muxer
Originally committed as revision 21971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 21:28:19 +00:00
Måns Rullgård dd4a03f7b3 Revert "Suppress icc warnings about unknown attributes"
This reverts r21884.  Apparently people want those warnings.

Originally committed as revision 21954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:12 +00:00
Måns Rullgård 976d7bf71c Suppress armcc warnings about unknown attributes
Originally committed as revision 21950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:28:20 +00:00
Stefano Sabatini 336ce917e6 Add FFprobe tool.
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/

Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.

Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:43:01 +00:00
Måns Rullgård b80218aa53 Suppress icc warnings about unknown attributes
Originally committed as revision 21884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-18 19:14:48 +00:00
Måns Rullgård 4f83739855 configure: allow setting strip tool with --strip
Originally committed as revision 21869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 21:37:33 +00:00
Måns Rullgård e6a0c3540d PPC and x86 support aligning variables on stack
Originally committed as revision 21865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 20:36:15 +00:00
Måns Rullgård d96cd42969 Add LOCAL_ALIGNED() macro for declaring aligned local arrays
Originally committed as revision 21864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 20:36:12 +00:00
Måns Rullgård 0844bae1ad Add "tomi" architecture
Originally committed as revision 21767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:59:49 +00:00
Måns Rullgård 8d4c00ed38 configure: require --arch and --target-os when cross-compiling
Originally committed as revision 21766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:57:52 +00:00
Måns Rullgård 4368990236 ffplay depends on rdft
Spotted by Ramiro.

Originally committed as revision 21765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:47 +00:00
Måns Rullgård 084cbbaab4 configure: add missing mdct deps
Originally committed as revision 21763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:39 +00:00
Måns Rullgård 26fbcc85d9 configure: make mdct and rdft select fft and update other deps
Originally committed as revision 21762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-11 23:40:37 +00:00
Måns Rullgård 33bd38dbd3 Stricter check for math.h functions
GCC is sometimes able to optimise constant calls to these functions,
incorrectly indicating that they exist.  Unoptimised calls will then
fail to link.

Originally committed as revision 21749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-10 22:14:28 +00:00
Måns Rullgård 6b73c0aedc configure: fix cosmetic typo in check_mathfunc
Originally committed as revision 21748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-10 22:14:25 +00:00
Måns Rullgård 645d26520a Special check for math.h functions
These are often, contrary to standards, implemented only as macros
or compiler-builtin functions without an actual symbol definition.

Originally committed as revision 21734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:13 +00:00
Måns Rullgård 0104b608ca Check for setrlimit()
Originally committed as revision 21733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:11 +00:00
Måns Rullgård 614d8911c6 configure: allow 'none' as target OS
Originally committed as revision 21732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-09 22:55:08 +00:00
Reinhard Tartler 5af4150831 libgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Approved by Diego at FOSDEM.

Originally committed as revision 21659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-06 16:52:38 +00:00
Peter Ross c0d3f516cb Bink Audio decoder
Originally committed as revision 21570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 12:51:15 +00:00
Måns Rullgård 6b35d421b9 Add CONFIG_SRAM to allow use of on-chip SRAM on some systems
Some SoCs have a small amount of on-chip SRAM which may be used
for frequently used code or data.  When enabled, this option
will allow FFmpeg to use such facilities where supported.

Originally committed as revision 21564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 00:20:27 +00:00