Michael Niedermayer
1d3476f258
postproc/postprocess_template: remove empty comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a2f7314ba2
libpostproc: silence valgrind/fate warning about using uninitialized data
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
7a259a5fcd
Fix libpostproc compilation on x86_32 with disable-optimizations.
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
f1185fbbec
libpostproc: Fix off by 1 error in the C dering code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
a1d14336d3
pp: fix a few typo in the template.
12 years ago
Clément Bœsch
f48cddfe4c
pp: add SSE2 deInterlaceInterpolateCubic().
...
2124 decicycles in deInterlaceInterpolateCubic_C, 67100774 runs, 8090 skips
458 decicycles in deInterlaceInterpolateCubic_MMX2, 67107146 runs, 1718 skips
382 decicycles in deInterlaceInterpolateCubic_SSE2, 67107086 runs, 1778 skips
12 years ago
Clément Bœsch
4e264d1c79
pp: add support for SSE2.
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
Clément Bœsch
5cd567cfb4
pp: fix typo in avg() comment.
12 years ago
Michael Niedermayer
3689ec3d28
pp: avoid overflow in w*h
...
Fixes CID700580
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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>
12 years ago
Michael Niedermayer
f5bf7b9f4b
libpostproc: fix out of array accesses detected by AddressSanitizer.
...
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
Diego Biurrun
00a1cdd264
Place some START_TIMER invocations in separate blocks.
...
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
13 years ago
Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
13 years ago
Mans Rullgard
b1bcddfb6d
postproc: altivec: fix trivial cases of mixed declarations and code
...
This moves declarations without initialisers or with constant
initialisers to the start of a block, and adds do {} while(0)
around some macros, thus allowing declarations within them.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Michael Niedermayer
e834f7d2bb
postproc: remove stray +
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3419d9b891
postproc: fix compilation failure, now really
...
forgot git add ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Yuriy Kaminskiy
d16ebec795
postproc: Fix compilation failure.
...
libpostproc/postprocess_template.c: In function 'dering_MMX2':
libpostproc/postprocess_template.c:1045:5: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libpostproc/postprocess_template.c:1045:5: error: 'asm' operand has impossible constraints
13 years ago
Yuriy Kaminskiy
2b2617da6b
libpostproc: mmx code uses stack below %esp, fix that
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Yuriy Kaminskiy
5d39be73cb
Fix warnings about redefining constants when compiling libpostproc.
...
Patch by Yuriy Kaminskiy, yumkam mail ru
Originally committed as revision 21607 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
386eaeb43f
Remove disabled code cruft.
...
Originally committed as revision 19668 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Carl Eugen Hoyos
ff5d91d9a1
Fix compilation.
...
Originally committed as revision 16592 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
Reimar Döffinger
7cebed70a8
Replace long with x86_reg in postprocess_template.c like in all other
...
x86 assembler code files, just libpostprocess was forgotten.
Originally committed as revision 15767 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
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
Diego Biurrun
a94948d327
cosmetics: Fix typo in variable name, numSkiped --> numSkipped.
...
Originally committed as revision 12553 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
16e0bf7349
cosmetics: Fix indentation to be 4 spaces and consistently place {}.
...
Originally committed as revision 12552 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6fcc9af012
simplify ALIGN_MASK definition
...
Originally committed as revision 12483 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
b55aa9a904
get register names from x86_cpu.h
...
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bd10713636
typo fixes
...
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6c51fd3f2b
const
...
Originally committed as revision 11816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
0bda781739
Use DECLARE_ALIGNED for alignment in libpostprocess
...
Originally committed as revision 9043 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
57177f648d
cosmetics: Fix another common typo, gurantee --> guArantee.
...
Originally committed as revision 8054 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago