Commit Graph

120 Commits

Author SHA1 Message Date
Diego Biurrun
9e5e2a2e63 Use directory name as multiple inclusion guard prefix.
We do this for all other libraries already.

Originally committed as revision 16990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:31:20 +00:00
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
2009-02-01 02:00:19 +00:00
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
2009-01-25 19:57:52 +00:00
Diego Biurrun
c60208e7a1 Directly #include some required headers.
Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:11:10 +00:00
Carl Eugen Hoyos
ff5d91d9a1 Fix compilation.
Originally committed as revision 16592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:44:42 +00:00
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
2009-01-13 23:44:16 +00:00
Diego Biurrun
bbea3555ec Remove pointless malloc.h #include.
Originally committed as revision 16238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:59:18 +00:00
Diego Biurrun
8615e5a6b3 Add backwards-compatibility typedef for removed _t names under appropriate
version #ifdef since otherwise public API is broken.

Originally committed as revision 16064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 21:05:31 +00:00
Diego Biurrun
7dfea3420f Drop _t from typedef names for POSIX compatibility.
Originally committed as revision 16062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 20:06:16 +00:00
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
2008-12-11 16:44:22 +00:00
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
2008-11-02 18:59:44 +00:00
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
2008-10-16 13:34:09 +00:00
Stefano Sabatini
2a4a62bffc Implement postproc_version().
Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 18:00:53 +00:00
Stefano Sabatini
987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Diego Biurrun
80a61f08d2 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.

Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 10:53:32 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +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
Diego Biurrun
2f7707017e cosmetics: prettyprinting
Originally committed as revision 12566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 16:01:13 +00:00
Luca Barbato
838cc9c80a Cosmetics: reindent and whitespaces
Originally committed as revision 12565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:51:02 +00:00
Luca Barbato
721392606b Remove declarations after statements from doVertDefFilter_altivec
Originally committed as revision 12563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:39:39 +00:00
Luca Barbato
e9ddf49639 Remove declarations after statements from doVertLowPass_altivec
Originally committed as revision 12562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:35:19 +00:00
Luca Barbato
2e55c25f88 Remove declarations after statements from vertClassify_altivec
Originally committed as revision 12561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:33:24 +00:00
Luca Barbato
5369d74c30 Reorder declarations in vertClassify_altivec
Originally committed as revision 12560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:29:22 +00:00
Diego Biurrun
aa089f6c05 typo fixes: tempBlured --> tempBlurred
Originally committed as revision 12557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 17:36:31 +00:00
Diego Biurrun
04932b0d97 cosmetics: typo fixes
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 16:46:36 +00:00
Diego Biurrun
a94948d327 cosmetics: Fix typo in variable name, numSkiped --> numSkipped.
Originally committed as revision 12553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 16:43:07 +00:00
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
2008-03-22 15:46:34 +00:00
Diego Biurrun
d952638699 typo: occured --> occurred
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Diego Biurrun
0866c56f0a Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Originally committed as revision 12495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:14:41 +00:00
Måns Rullgård
6fcc9af012 simplify ALIGN_MASK definition
Originally committed as revision 12483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:44:46 +00:00
Måns Rullgård
b55aa9a904 get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:19 +00:00
Diego Biurrun
bd10713636 typo fixes
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:15:47 +00:00
Diego Biurrun
216d513c34 typos
Originally committed as revision 12443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 21:50:23 +00:00
Diego Biurrun
2cab640129 typo fixes
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Diego Biurrun
7ce6892373 misc spelling fixes
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Diego Biurrun
0050adee97 cosmetics: Remove useless empty line.
Originally committed as revision 12365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:54:15 +00:00
Diego Biurrun
9b25f4a65f cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a simplify library version handling
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Måns Rullgård
5671fc14f6 consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Måns Rullgård
800c289a66 less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Måns Rullgård
76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Måns Rullgård
8815bf011e #include avutil.h in postprocess.h
Originally committed as revision 12155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 01:23:04 +00:00
Måns Rullgård
e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Michael Niedermayer
6c51fd3f2b const
Originally committed as revision 11816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:24:54 +00:00
Michael Niedermayer
ae77c4b007 Make src const.
Originally committed as revision 11813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 17:13:40 +00:00
Michael Niedermayer
b0ddba1291 void arithmetic
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 17:12:17 +00:00
Reimar Döffinger
2722e36265 Missed a variable in postprocess.c that should use DECLARE_ASM_CONST as well
Originally committed as revision 11670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 18:30:17 +00:00
Reimar Döffinger
2b858d0b99 Simplify: use DECLARE_ASM_CONST
Originally committed as revision 11669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 18:21:01 +00:00
Diego Pettenò
363728ea0e Build both static and shared libs from the same object.
This makes libpostproc consistent with all the other libraries.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 11526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 14:42:29 +00:00
Michael Niedermayer
927688d6e0 unused
Originally committed as revision 11492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 11:05:12 +00:00