Michael Niedermayer
f6173fed60
postproc: fix null pointer dereference with invalid option strings
...
Fixes CID1135760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
8da1fff85a
lavfi/pp: switch to an AVOptions-based system.
...
Also add and use the '|' separator instead of ':' since it's
incompatible with the new option system...
12 years ago
Clément Bœsch
518239cd61
build: postproc cleanup.
...
This reverts 79f80f5c
, moves postproc along with the other libraries,
and fix the postproc dependency to libavutil.
12 years ago
Michael Niedermayer
9e04e11e83
libpostproc: alloc a few bytes more in the temporary buffer
...
This avoids dering reading 4 bytes prior the buffer (1 byte can
be used)
Fixes Ticket2057
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f9d8658d67
libpostproc: fix leak of 2kb
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
4e264d1c79
pp: add support for SSE2.
12 years ago
Clément Bœsch
59d686f100
pp: add auto detection cpu flag.
12 years ago
Clément Bœsch
e034b07e40
pp: add various const for pointers.
12 years ago
Clément Bœsch
c6945228e8
pp: simplify postProcess().
12 years ago
Clément Bœsch
375cd3f2ec
pp: rework the way templating is done.
...
This refactoring simplifies the usage of the template: define the
profile and include the template is all that is required. It should now
be easier to add more instruction sets.
The HAVE_* flags are changed with TEMPLATE_PP_* setting to avoid messing
them up.
See the top comment in postprocess_template.c for details.
12 years ago
Derek Buitenhuis
e20ac54f3e
postproc: Fix unprotected inline asm
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
XhmikosR
08bd8c8ab3
rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXT
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
561a365dca
pp: check that the argument is not NULL as this is not supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
234d42f53b
postprocess: fix another void returning void function.
...
lets hope this makes suncc happy finally ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7f80afe0a7
libpostproc: add bitexact mode, which is needed for regression testing.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f1808e3048
libpostproc: add pp=help support to print the help text via av_log()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
b315042c8c
Remove libpostproc.
...
This library does not fit into Libav as a whole and its code is just a
maintenance burden. Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git
13 years ago
Michael Niedermayer
55a6d8d9fa
libpostproc: increase LIBPOSTPROC_VERSION_MICRO to 100
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Diego Biurrun
c68fafe0d2
doxygen: eliminate Qt-style doxygen syntax
13 years ago
Piotr Kaczuba
f4f3300c09
postprocess.c: filter name needs to be double 0 terminated
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Diego Biurrun
0fedf754b2
libpostproc: Remove disabled code.
14 years ago
Piotr Kaczuba
c96f3750c2
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
14 years ago
Piotr Kaczuba
84fb4e9df7
postprocess.c: filter name needs to be double 0 terminated
14 years ago
Michael Niedermayer
ea535ed50d
Revert 1a5e4fd8c5
for postproc. This broke the code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alex Converse
c38d9780eb
cosmetics: trim trailing whitespace in postproc
14 years ago
Alex Converse
1a5e4fd8c5
Replace strncpy() with av_strlcpy().
14 years ago
Diego Biurrun
a81ff195c1
libpostproc: Remove crufty code disabled by the big bump.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
faa6f1c306
get rid of the last svn mentions
14 years ago
Michael Niedermayer
e528cdac8a
Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
...
This reverts commit 29ba091136
.
14 years ago
Michael Niedermayer
0cb88628fb
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
...
This reverts commit a03be6e1ba
.
14 years ago
Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
14 years ago
Janne Grunau
29ba091136
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
...
also update the multiple inclusion guards in config.h|mak
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
Stefano Sabatini
4160069067
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
...
XXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c173693698
Add functions to return library license and library configuration.
...
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e90f5b5ab1
configure: Add --enable-runtime-cpudetect
...
Originally committed as revision 18380 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
ebc3209a7d
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
...
Originally committed as revision 16787 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bbea3555ec
Remove pointless malloc.h #include.
...
Originally committed as revision 16238 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7dfea3420f
Drop _t from typedef names for POSIX compatibility.
...
Originally committed as revision 16062 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fe9e9d6020
Do not set COMPILE_C if AltiVec is enabled without runtime CPU detection.
...
Gets rid of the following warning:
postprocess_template.c:3271: warning: ‘postProcess_C’ defined but not used
Originally committed as revision 16055 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2a4a62bffc
Implement postproc_version().
...
Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
aa089f6c05
typo fixes: tempBlured --> tempBlurred
...
Originally committed as revision 12557 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
04932b0d97
cosmetics: typo fixes
...
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago