Commit Graph

484 Commits

Author SHA1 Message Date
Måns Rullgård aab3ea5f7d fate: add oneoff comparison method
This adds the 'oneoff' comparison method.  It compares two s16le pcm
files with a max difference <= the fuzz factor treated as success.
Default fuzz is 1.  On failure, the full tiny_psnr output is printed.

Originally committed as revision 24134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:51 +00:00
Måns Rullgård 3ade7d32c1 fate: pass additional variables to test script
This passes the following additional variables to the test script:

- CMP  method to use comparing output with reference, default 'diff'
- REF  reference file, default 'tests/ref/fate/${test}'
- FUZZ maximum fuzz factor in comparison, meaning depends on CMP

Originally committed as revision 24133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:45 +00:00
Måns Rullgård f955d45226 Change names of regtest output files to closer match the reference files
Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:10:14 +00:00
Måns Rullgård 9770a7ad0e Simplify regtest reference makefile dependencies
Originally committed as revision 24121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:08 +00:00
Måns Rullgård 57442411d7 Move regression test dependencies to configure
This allows expressing complex dependencies more easily.

Originally committed as revision 24120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:06 +00:00
Måns Rullgård 9be24c60d3 Create the regtest reference files only when necessary
This avoid recreating the ref files every time an individual test
is run from the command line.

Originally committed as revision 24113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:30 +00:00
Måns Rullgård e1621087b6 Clean up make rules for calling codec test scripts
Originally committed as revision 24112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:25 +00:00
Måns Rullgård 4ab20de636 Beautify make messages when generating test data files
Originally committed as revision 24111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:23 +00:00
Stefano Sabatini ce2e4ae35a Add pixdesctest filter and corresponding test.
Originally committed as revision 24092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 18:24:55 +00:00
Stefano Sabatini 3275ac6a23 Make the ffmpeg and ffplay man pages show the list of lavfi filters,
sinks and sources, and document the -vf option.

Originally committed as revision 23689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 22:09:07 +00:00
Stefano Sabatini dd46b538ec Update documentation dependencies, make ff* tools manpages and HTML
pages depend of fftools-common-opts.texi.

Originally committed as revision 23687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 21:38:19 +00:00
Michael Niedermayer 59b847d3a9 Add simple rgb/yuv in avi regression test.
Originally committed as revision 23501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 00:05:12 +00:00
Stefano Sabatini e34d5db595 Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.

The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.

Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 20:38:50 +00:00
Måns Rullgård 666d7d18e1 FATE: print friendly error for individual tests when SAMPLES unset
Originally committed as revision 23079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 09:32:59 +00:00
Vitor Sessak 1840b28059 Makefile: make fate target depend on compiling ffmpeg
Originally committed as revision 22912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 13:05:26 +00:00
Stefano Sabatini cec96e8de3 Add some ad-hoc tests for libavfilter.
A patched version of ffmpeg supporting video filters is required for
getting this working; thus make lavfitest is supposed to work only in
the libavfilter repository for now.

Originally committed as revision 22586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 23:23:44 +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
Måns Rullgård 7732f641ff Fix brief make output for generated tables
Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 19:48:09 +00:00
Måns Rullgård 0853a2b47e 10l: fix version.h generation
Note to self: always test in a clean directory

Originally committed as revision 22423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 03:10:26 +00:00
Måns Rullgård f82bf85055 Make version.h depend on git changes
Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:59 +00:00
Måns Rullgård 6a53fffd77 Improve version.h generation
Force version.sh to run whenever the version might have changed,
regardless of what is being built.  This is done by attaching the
dependencies to a dummy file (.version) which is included from the
makefile.  As make will always attempt to rebuild any included files
before considering other rules, this ensures that the real version.h
is (re-)created before it is required by any source file.

Originally committed as revision 22420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:56 +00:00
Måns Rullgård 86be2bc36f Prettify make output for documentation
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:50 +00:00
Måns Rullgård b91cd80917 Change dir into doc/ when running texi2html
This silly program always writes its output to the current directory.
Changing directory is better than moving the file afterwards.

Originally committed as revision 22417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:47 +00:00
Måns Rullgård f89c14027a checkheaders: skip per-arch headers not meant for direct inclusion
Some of the per-arch headers are only meant to be used through
the parent header of the same name.  Testing these standalone
does not make sense.

Originally committed as revision 22341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:17:47 +00:00
Måns Rullgård 2a5500b13e Add TESTOBJS make variable for extra objects used by test apps
Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 18:43:44 +00:00
Måns Rullgård 9b55e2e727 Skip cmdutils_common_opts.h fragment in checkheaders
Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 18:43:38 +00:00
Måns Rullgård 63611f31e8 Prettify make output
This gives brief messages from make by default.  For full command
echoing, add V=1 to make command line.

Originally committed as revision 22244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:19 +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 b578357e59 Use mkdir -p to create directories
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:11 +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 50e10cbd7a Use $(RM) to delete files
Originally committed as revision 22234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 14:25:10 +00:00
Måns Rullgård d7096d6fdd Run seektest on all generated files
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:16 +00:00
Måns Rullgård 801b571e33 Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:42:03 +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 2897dc780a Delete avconfig.h on distclean
Originally committed as revision 21920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:34 +00:00
Måns Rullgård b6fa8e35f2 Delete all test related files in testclean rule
Originally committed as revision 21919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:29 +00:00
Måns Rullgård c676895fd9 Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:47:13 +00:00
Måns Rullgård 97d5fa38e0 10l: fix linking
Alphabetical order isn't always a good idea.

Originally committed as revision 21472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-27 00:26:41 +00:00
Måns Rullgård 5a0f713118 Allow disabling of lavc, lavf, lavd, and lsws
Originally committed as revision 21468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-26 23:13:01 +00:00
Ramiro Polla d3cb93b374 Revert r21226, it was a joke:
Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-26 22:23:12 +00:00
Måns Rullgård aa310a9fc7 Add rules to install generated headers
Originally committed as revision 21320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:40:13 +00:00
Måns Rullgård 05e24fa852 regtest: run tests only for enabled codecs and formats
Originally committed as revision 21256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:24 +00:00
Måns Rullgård 4b294c1872 regtest: split wma test into wmav1 and wmav2
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård eca478c317 regtest: split reference files allowing tests to run individually
With this change, the output is checked immediately after each test
has run.  This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.

By default, make will abort if any test fails.  To run all tests
regardless, use make -k.

Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00
Ramiro Polla 93fe7eb68d Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-15 19:16:28 +00:00
Reimar Döffinger ae5e8caa3d Add ROQ format regression test.
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 17:34:24 +00:00
Måns Rullgård 00962abaa0 Fix make install when all of ffmpeg/ffplay/ffserver are disabled
Originally committed as revision 20501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 15:56:03 +00:00
Måns Rullgård c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00
Måns Rullgård a48289c7b7 Makefile cosmetics
Originally committed as revision 20422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:39 +00:00
Måns Rullgård de4070b520 Add generic rules for building helpers with HOSTCC
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 00:55:35 +00:00
Stefano Sabatini 77f66963b0 Split codec-regression.sh again and create a lavfi-regression.sh for
running the libavfilter tests.

Originally committed as revision 20384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:34:48 +00:00
Stefano Sabatini 8f1e4d4ffc Split codec-regression.sh, and create the lavf-regression.sh script.
Originally committed as revision 20365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:01:47 +00:00
Stefano Sabatini dba755facc Rename vfilters.texi to libavfilter.texi, as the file is meant to
document libavfilter and not only its video filtering facilities.

Originally committed as revision 20338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-21 18:22:20 +00:00
Diego Biurrun 15674f12be cosmetics: Break overly long lines.
Originally committed as revision 20276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 10:47:40 +00:00
Stefano Sabatini 1f09ab5e66 Add documentation for libavfilter video filters.
Originally committed as revision 20271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 07:46:06 +00:00
Justin Ruggles 9797ce58b7 Add ALAC encoding and decoding regression tests.
Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 22:47:33 +00:00
Stefano Sabatini 40e024091d Implement a lavfitest target for testing regressions in libavfilter.
The target is disabled.

See the thread: "[PATCH] libavfilter-soc: regression test for libavfilter".

Originally committed as revision 20057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 09:33:37 +00:00
Måns Rullgård 96fdb62428 Split dnxhd regression test so the parts can run in parallel
Originally committed as revision 19936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:12 +00:00
Diego Biurrun 94f3c0e52f Add probetest to TOOLS list.
Originally committed as revision 19909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 10:25:25 +00:00
Diego Biurrun 13b1c80b05 Introduce a variable for all targets in the tools subdirectory.
Originally committed as revision 19908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 10:24:47 +00:00
Reimar Döffinger a5083f66c7 Add dnxhd test to regression tests.
Originally committed as revision 19895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:06:03 +00:00
Diego Biurrun 2205da0d11 Fix typo: '.' was used instead of '/' as directory separator.
Originally committed as revision 19807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-10 09:30:57 +00:00
Måns Rullgård 95f2c769c3 Skip headers requiring external libs not present in checkheaders
Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 11:02:37 +00:00
Måns Rullgård bea81a52c9 Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:48 +00:00
Måns Rullgård 2dfa305438 Fix building of tools/*
Fixes issue 1282

Originally committed as revision 19486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 16:14:59 +00:00
Diego Biurrun 4e67aedd6a Make sure that tests/seek_test.o gets deleted on 'make clean'.
Closes issue 1273.

Originally committed as revision 19458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 14:08:06 +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
Diego Biurrun a752069dba Split developer documentation off from general documentation.
Originally committed as revision 19269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-24 22:58:58 +00:00
Stefano Sabatini 2795e3573d Consistently rename variables denoting regression reference file(s)
using the _REFFILE(S) postfix, and regression result file(s) using the
_RESFILE(S) postfix.
Improve legibility.

Originally committed as revision 19253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-22 22:56:18 +00:00
Stefano Sabatini 97668ac7f3 Rename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
since that is the name of the corresponding test.

Originally committed as revision 19220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-18 23:44:05 +00:00
Måns Rullgård 0c3b2d6586 Add "config" make target to rerun configure with old options
Originally committed as revision 19202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:23 +00:00
Dave Yeo 2b7a351eb9 Remove $(CLEANSUFFIXES) and $(DISTCLEANSUFFIXES) on clean/distclean
in the root directory as well as in subdirectories.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 18973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 22:13:17 +00:00
Diego Biurrun cc013a7423 The MLP optimizations do not depend on HAVE_MMX, but on ARCH_X86.
Build them when ARCH_X86 is enabled. Fixes linking with MMX disabled.

Originally committed as revision 18945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 19:02:35 +00:00
Ramiro Polla 07116be05a NEON-OBJS should also be cleared for each subdir.
Originally committed as revision 18944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 18:46:47 +00:00
Diego Biurrun d7167f0555 Move generated file aynth1.sw to the data subdirectory. Thus it does not have
to be removed separately and there is less clutter in the tests directory.

Originally committed as revision 18246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:27:03 +00:00
Diego Biurrun 6117ffbe90 Rename regression.sh --> codec-regression.sh. Now all regression test scripts
carry the regression test they run as prefix in their name.

Originally committed as revision 18245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:00:16 +00:00
Diego Biurrun 767e14c380 Rename server-regression.sh --> ffserver-regression.sh for consistency.
Originally committed as revision 18243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 10:05:00 +00:00
Diego Biurrun 996a92c04d Rename servertest target to ffservertest.
Originally committed as revision 18242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 05:24:10 +00:00
Diego Biurrun f1f66d3afd Rename libav.regression.ref --> lavf.regression.ref.
This matches the new name of the test target.

Originally committed as revision 18228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 21:27:24 +00:00
Diego Biurrun 1cde611d80 Rename libavtest target to lavftest to better express what it tests.
Also rename related variables to match the new name.

Originally committed as revision 18227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 21:24:04 +00:00
Diego Biurrun 688a477367 Rename test.conf --> ffserver.conf, the new name is more meaningful.
Originally committed as revision 18226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 20:17:23 +00:00
Diego Biurrun 62cb577e39 Rename seek_test.sh --> seek-regression.sh for greater consistency.
Originally committed as revision 18220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 17:22:07 +00:00
Diego Biurrun d95a0c67ae Move output_example.c --> libavformat/output-example.c.
The libavformat directory is a better place for a libavformat API example.

Originally committed as revision 18199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 00:01:06 +00:00
Diego Biurrun 3ec88c74b0 Remove unnecessary CFLAGS variable from output_example link command.
Originally committed as revision 18197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 17:16:11 +00:00
Diego Biurrun 219a7185a0 Removing example programs is already handled by the generic clean commands,
so there is no need to remove output_example individually.

Originally committed as revision 18196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 14:37:14 +00:00
Ramiro Polla 1bbeb23356 Clear some more variables that are used on subdir Makefiles.
Originally committed as revision 18180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 00:50:56 +00:00
Diego Biurrun 661ce28996 Rename 'tests' target to 'testprogs'. It is too easily confused with the
'test' target and a directory named tests exists.

Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 23:13:21 +00:00
Diego Biurrun 6708cfc4d3 Add rule for building API example programs.
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 22:33:41 +00:00
Daniel Verkamp effcedf738 PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.
Patch by Daniel Verkamp, daniel drv nu

Originally committed as revision 18077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 17:23:45 +00:00
Diego Biurrun 38eb4b114d Remove 'lib' and 'swscale-error' from list of phony targets.
Both targets no longer exist.

Originally committed as revision 17951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 15:56:29 +00:00
Diego Biurrun 0cc647cbfb Mark all clean targets as phony.
Originally committed as revision 17950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 15:55:16 +00:00
Reimar Döffinger 90a30ad59f Add "testclean" target to .PHONY
Originally committed as revision 17948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 13:51:52 +00:00
Baptiste Coudurier b686d0ab4b mxf and mxf d10 regression tests
Originally committed as revision 17934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 07:16:19 +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
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 20a93972c4 Bail out if regtest-flashsv is run but zlib is not enabled.
Originally committed as revision 17486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 18:41:52 +00:00
Diego Biurrun 7ea3880a10 Fix swscale-error vs. swscale_error typo; it is marked as the former in .PHONY.
Originally committed as revision 17485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 18:31:38 +00:00
Måns Rullgård 36798f1bf0 Declare version.h dependencies explicitly
Originally committed as revision 17483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 18:19:26 +00:00
Robert Swain a1a84f693f Add (un)installation targets for ffpresets using the new DATADIR variable
Originally committed as revision 16793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 22:44:57 +00:00
Francesco Cosoleto 250dd6f0f7 Add a separate 'testclean' rule to clean regression test data without
removing compiled files.
patch by Francesco Cosoleto, cosoleto gmail com

Originally committed as revision 16518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 20:31:40 +00:00
Måns Rullgård 9a5771e9c1 Run regression tests on target system.
Originally committed as revision 15915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:44 +00:00
Måns Rullgård dbad2c29cc Build regression test data generators using HOSTCC
Originally committed as revision 15914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:41 +00:00
Diego Biurrun 5bab853646 Add check target to run both tests and checkheaders targets.
Originally committed as revision 15750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 10:14:57 +00:00
Måns Rullgård c87348a922 Use OBJS variable for all object files
There is no longer any need to differentiate the object files
by source type.

Originally committed as revision 15708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 14:00:28 +00:00
Diego Biurrun 9bce82fa00 Add alltools target to build all the tools/ stuff.
Originally committed as revision 15438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 05:01:57 +00:00
Michael Niedermayer 3e3c638e69 Switch regression tests to swscale.
Plain C, x86-32 and -64 have been tested and should work, other
archs that had asm optmizations in swscale likely will need some fixes
to either fall back on C if SWS_BITEXACT is set or make the asm match C.
This also disables the PAL8 test as neither swscale nor the old scaler
really support PAL8 output, imgconvert supported a fixed 666 palette
as output and swscale supports fixed 884 and 422.

Originally committed as revision 15305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 03:49:54 +00:00
Justin Ruggles bde51e6a8a restore accidently deleted file
Originally committed as revision 14954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 23:17:26 +00:00
Justin Ruggles c5b930e674 1000l to me. committed to wrong repo. revert last commit.
Originally committed as revision 14953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 22:57:25 +00:00
Peter Ross 4f5c72e857 PCM regression tests.
Originally committed as revision 14671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 23:31:43 +00:00
Diego Biurrun 2ece2e9773 Move up swscale_error target so that regression tests error out immediately.
Originally committed as revision 14261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 09:30:48 +00:00
Måns Rullgård 9e6165b53e enable version.h to be created from subdirs
Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 16:57:38 +00:00
Diego Biurrun 25cd5cb33c Generate pkg-config files in each library subdirectory so that they do
not clutter the root of the source tree.

Originally committed as revision 13780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 18:01:55 +00:00
Diego Biurrun 969f949300 Remove Fabrice's copyright from the Makefiles. They have been entirely
rewritten since they were originally created.

Originally committed as revision 13675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 17:50:32 +00:00
Diego Biurrun 1eacdcc644 Do not remove gmon.out on clean, we never create it.
Originally committed as revision 13453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:45:45 +00:00
Diego Biurrun 936d48911a Remove TAGS target cruft.
Originally committed as revision 13451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:38:35 +00:00
Diego Biurrun 5caf0949c0 Simplify phony target declaration.
Originally committed as revision 13450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:32:26 +00:00
Diego Biurrun 60598b2f9a Rename test-server target to servertest for consistency with other test targets.
Originally committed as revision 13449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:26:43 +00:00
Måns Rullgård 54381d7557 clear TESTS variable between subdirs
Originally committed as revision 12866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:50:39 +00:00
Diego Biurrun 16507ddd6b Add DIRS variable to the list of variables to be cleared instead of
unsetting it manually.

Originally committed as revision 12825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 21:39:56 +00:00
Måns Rullgård d1300235b9 ffplay.d needs SDL_CFLAGS
Originally committed as revision 12787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 22:34:37 +00:00
Måns Rullgård 9987769a8b correct soname for vhooks
Originally committed as revision 12785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:44:29 +00:00
Måns Rullgård 791a3fc8ec save DEP_LIBS before processing subdirs
Originally committed as revision 12784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:44:26 +00:00
Måns Rullgård 76ca42a8a0 move DEP_LIBS to common.mak
Originally committed as revision 12777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 21:11:39 +00:00
Måns Rullgård 8a03404d4f fix build with --build-suffix
Originally committed as revision 12776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 21:11:35 +00:00
Måns Rullgård caec74dd65 generate separate dependency files per object file
Originally committed as revision 12775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 20:48:17 +00:00
Måns Rullgård 465d9b1f7a collect vhook-related makefile lines in one place
Originally committed as revision 12762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:42 +00:00
Stefano Sabatini d05e360c48 Make the install-man target depend on $(MANPAGES).
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 12761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:45:38 +00:00
Måns Rullgård 71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Måns Rullgård b8fcb619e9 simplify LDFLAGS and EXTRALIBS handling
Originally committed as revision 12683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 23:51:29 +00:00
Måns Rullgård 82e8566a02 simplify vhook/*.o rule
Originally committed as revision 12682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:47:01 +00:00
Måns Rullgård 43527e3edd clean up DEP_LIBS setting
Originally committed as revision 12681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:39:54 +00:00
Diego Biurrun 60080b0805 10l typo, restore forgotten $.
Originally committed as revision 12673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 16:57:01 +00:00
Björn Axelsson 73e17cdb8c Add libavutil to DEP_LIBS so that PROGS get rebuilt upon libavutil changes.
Closes issue 418, patch by Björn Axelsson, bjorn.axelsson intinor se

Originally committed as revision 12667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 18:14:48 +00:00
Måns Rullgård 473a88caaf fix ff*_g -> ff* rules
Originally committed as revision 12624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-29 11:33:58 +00:00
Diego Biurrun 9bcc2883ac bandaid fix for broken shared library installation
Originally committed as revision 12617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 03:13:21 +00:00
Diego Biurrun dfd1083831 Move INSTALL_PROGS_TARGETS variable to a better place.
Originally committed as revision 12616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 03:07:55 +00:00
Diego Biurrun 88ad036874 Handle EXTRALIBS and LDFLAGS for libswscale and libavfilter in a simpler way.
Originally committed as revision 12615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 02:45:09 +00:00
Diego Biurrun c1ac39b3df Replace ifeq to declare install-progs dependencies by a variable.
Originally committed as revision 12613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 01:58:53 +00:00
Diego Biurrun a7319cc22a The install target should depend on enabled installation targets.
Originally committed as revision 12612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 01:49:01 +00:00
Diego Biurrun e58cc8e604 Remove TAGS target. It is ages old and has never been updated to match
changes to the source tree. Thus it has to be completely unused.

Originally committed as revision 12610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 00:59:55 +00:00
Diego Biurrun 7716f7ffa3 Use common.mak in the top-level Makefile as well.
Originally committed as revision 12599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 09:39:12 +00:00
Diego Biurrun 916dafd57c cosmetics: Rename SRCS variable to PROGS_SRCS.
This is in preparation for common.mak inclusion in the main Makefile.

Originally committed as revision 12598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 09:30:09 +00:00
Diego Biurrun f4428f9992 Merge LDFLAGS lines.
Originally committed as revision 12597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 09:27:58 +00:00
Diego Biurrun 2721715985 cosmetics: Move around some rules and variable declarations.
This is in preparation for common.mak inclusion in the main Makefile.

Originally committed as revision 12596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 09:22:43 +00:00
Diego Biurrun 92e791ff37 cosmetics: Rename 'all' target to 'main'.
This is in preparation for common.mak inclusion in the main Makefile.

Originally committed as revision 12595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 08:58:26 +00:00
Diego Biurrun b1b184812c Merge binary generation rules.
Originally committed as revision 12455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 19:57:09 +00:00
Måns Rullgård a426bbfc28 set SRC_DIR in top-leve Makefile
Originally committed as revision 12453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 19:24:05 +00:00
Diego Biurrun e6a383d695 Use $< to simplify a few lines.
Originally committed as revision 12451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 19:14:07 +00:00
Diego Biurrun 6e69586b44 Build ffserver_g as well as ffserver, consistent with the other binaries.
Originally committed as revision 12439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 12:44:07 +00:00