James Almer
3ab4f96a91
motion-test: force C functions for the reference C context
...
It was instead using the highest available asm functions, which completely
kills the point of being a reference C context.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Olivier Langlois
b052bccbe4
lavc: Use av_gettime_relative()
...
Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5bcb379ffe
motion-test: fix warning: dsp_mask is deprecated
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bfcc21a472
libavcodec/motion-test: set the bitexact flag
...
this is needed for testing mmx2 functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e576105d84
motion-test: zero dsp context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f9b0694cc8
motion-test: fix height parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c868219c9a
lavc: put motion test back.
...
While not that usefull, we can as well keep it until it breaks.
When it breaks for whatever reason ill likely remove it
Sorry for the revert spam, i had not realized this code compiles
and works fine.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
13b6b7e0e2
Delete motion-test tool; it is of doubtful utility.
12 years ago
Martin Storsjö
3ad9eac5a0
testprogs: Remove unused includes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
239fdf1b4a
x86: build: replace mmx2 by mmxext
...
Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
So switching to a consistent naming scheme beforehand is sensible.
The name "mmxext" is more official and widespread and also the name
of the CPU flag, as reported e.g. by the Linux kernel.
12 years ago
Anton Khirnov
82f82ccfc8
motion-test: do not use getopt()
...
It is not available on all systems and using argc/argv directly actually
makes the code simpler.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Mans Rullgard
980f81d961
Use av_gettime() in various places
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
5aad8e80a7
motion-test: remove disabled code
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
4dccfff9dd
tests/examples: Mark some variables only used within their files as static.
13 years ago
Diego Biurrun
9a5d6c23c5
tests/tools/examples: Replace direct exit() calls by return.
13 years ago
Diego Biurrun
f36b390275
Replace some forgotten FFmpeg references by Libav.
13 years ago
Anton Khirnov
71a861cf40
lavc: make avcodec_alloc_context3 officially public.
...
Deprecate avcodec_alloc_context/2.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e4732ba98b
Fix sigill on non-MMX2 CPUs.
...
Originally committed as revision 18410 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6b4343616c
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
...
with libswscale.
Originally committed as revision 18330 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
99ed41a808
Fix filenames in Doxygen comments.
...
Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
70a61f8cf7
remove useless mmx.h include
...
Originally committed as revision 15820 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Panagiotis Issaris
cc61f96f8a
Fix the compilation of dct-test, fft-test and motion-test which are using
...
random().
Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
097e1da470
Adapt to API changes, fix compilation.
...
patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9266 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
bcbd6603dd
emms --> emms_c, taken from a patch by Ronald Bultje
...
Originally committed as revision 9253 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
86c33b29d2
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
...
other test programs. As a positive sideeffect, this makes the build system try
to actually create the executable file.
Originally committed as revision 9086 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2818647310
Add '#undef exit', the function is now forbidden.
...
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
cad35abc0a
Compilation fix: pix_abs16x16_c was undeclared.
...
Originally committed as revision 6584 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
8823419fc1
Compilation fix, printf gets redefined to please_use_av_log.
...
Originally committed as revision 6583 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
e366e6795d
suppressed getopt.h
...
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
6acce86bdd
fixing tests
...
Originally committed as revision 905 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
d0a0b2483e
motion test
...
Originally committed as revision 109 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago