Commit Graph

108 Commits

Author SHA1 Message Date
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
Diego Pettenò fb83ea6417 Make MMX vectors constants.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:18:00 +00:00
Diego Pettenò 69fdc40db7 Make pp_help a constant array of characters to move it to .rodata.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:16:36 +00:00
Diego Pettenò 649537438e Reduce the size of the replaceTable entries.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:15:07 +00:00
Diego Pettenò 9656df7994 Remove clip_table as it is not used anymore.
Patch by Diego 'Flameeyes' Pettenò (flameeyes gmail com)

Originally committed as revision 11468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:03:30 +00:00
Diego Pettenò 31bfd6f34f Make the av_class member of PPContext a poiner to constant AVClass.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:44:49 +00:00
Diego Pettenò 10ff3ff43b Make pp_help a constant pointer to constant characters, moves it partially
in .rodata (the actual string) and partially in .data.relro (the pointer),
but doesn't change ABI.
Patch by Diego 'Flameeyes' Pettenò  flameeyes at gmail com

Originally committed as revision 11390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 07:47:32 +00:00
Diego Pettenò ca32534337 Make pp_get_mode_by_name_and_quality accept a constant string.
Patch by Diego 'Flameeyes' Pettenò  flameeyes at gmail com

Originally committed as revision 11381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 08:42:02 +00:00
Diego Pettenò a89889164c Make filterDelimiters and optionDelimiters two static constant array of
characters, should move them to .rodata.
Patch by Diego 'Flameeyes' Pettenò flameeyes § gmail dot com

Originally committed as revision 11380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 08:39:38 +00:00
Vitor Sessak 52b541ad79 spelling
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Diego Biurrun 582c1c47da Declare libpostproc prerequisites directly instead of using a layer of
indirection. This moves build system workarounds closer to libpostproc
where they are really needed.

Originally committed as revision 10874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 07:54:18 +00:00
Diego Biurrun 5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun 52703a6459 Use filename as multiple inclusion guard.
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:16:21 +00:00