1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

162 Commits

Author SHA1 Message Date
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
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
Diego Biurrun
8008a04325 Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun
9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Diego Biurrun
021551c587 Uppercase variable overlooked in last commit.
Originally committed as revision 9777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 18:56:53 +00:00
Diego Biurrun
3b7660b002 Remove mangle.h, it is just a duplicate of parts of libavutil/internal.h.
Originally committed as revision 9500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 10:45:53 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Diego Biurrun
53eecfdefc Fix 'make checkheaders'.
Originally committed as revision 9460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 12:52:20 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
fa62bdb868 Move libpostproc-specific uninstallation command to the libpostproc Makefile.
Originally committed as revision 9277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 21:29:56 +00:00
Diego Biurrun
42610c4983 Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Reimar Döffinger
0bda781739 Use DECLARE_ALIGNED for alignment in libpostprocess
Originally committed as revision 9043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 09:30:38 +00:00
Diego Biurrun
605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Luca Barbato
4906b0267a Typo
Originally committed as revision 8185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 09:15:19 +00:00
Luca Barbato
97cda6b944 Many steps to avutilized this mess: DECLARE_ALIGNED
Originally committed as revision 8184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 09:07:09 +00:00
Diego Biurrun
3cee76e6c9 Remove useless conditional.
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Diego Biurrun
57177f648d cosmetics: Fix another common typo, gurantee --> guArantee.
Originally committed as revision 8054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 19:19:46 +00:00
Måns Rullgård
849f10351d rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Måns Rullgård
997baf0141 allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 00:02:15 +00:00
Diego Biurrun
3cd52279c9 Use common define for x86_32 and x86_64.
Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:34:40 +00:00
Diego Biurrun
5423fe7391 Fix dependencies for 'make dep'.
Originally committed as revision 6835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-29 16:53:30 +00:00
Diego Biurrun
c45b5de03a Fix #endif comments.
Originally committed as revision 6709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 12:52:21 +00:00
Diego Biurrun
14f29f795d Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 12:59:45 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
02305ff38f Rename SIGN macro to FFSIGN to avoid clashes with system headers.
Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 22:59:37 +00:00
Diego Biurrun
dadb850a50 Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Diego Biurrun
e7becfb25f printf --> av_log with some help from Oded
Originally committed as revision 6639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 00:18:33 +00:00
Diego Biurrun
6b6b5003de Remove unused variables.
Originally committed as revision 6625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 11:59:10 +00:00
Diego Biurrun
8925915fcc Change libpostproc to use the FFMIN/FFMAX macros from libavutil.
Originally committed as revision 6622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:09:12 +00:00
Diego Biurrun
a22b7322cc Move sign macro to libavutil.
Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 07:49:10 +00:00
Diego Biurrun
e0296b9a2e Use ABS macro from libavutil.
Originally committed as revision 6619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 07:46:41 +00:00
Diego Biurrun
c6a9271c56 Remove gcc-workaround that is already present in libavutil/common.h.
Originally committed as revision 6614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 22:36:38 +00:00
Diego Biurrun
ef85972ba5 Fix default license header.
Originally committed as revision 6613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 22:24:35 +00:00
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
2006-10-07 15:30:46 +00:00
Diego Biurrun
cbeee4d8e5 Replace -I../-I. by -I$(BUILD_ROOT).
Originally committed as revision 6572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 09:22:44 +00:00
Diego Biurrun
4aad0d6db6 Remove bogus commented out include line.
Originally committed as revision 6571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 08:38:55 +00:00
Diego Biurrun
0533322ea3 Move EXTRALIBS handling to common.mak.
Originally committed as revision 6545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:23:39 +00:00
Michael Niedermayer
4851f2ad92 1000000l for lu_zero (commiting untested? code)
Originally committed as revision 6537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:24:07 +00:00
Luca Barbato
17ff55356a Fix postproc build, thanks to Pavlov Konstantin <thresh@cpms.ru>
Originally committed as revision 6534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 07:57:04 +00:00
Luca Barbato
6ab6c7c3cc make postproc use avutil
Originally committed as revision 6524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 10:49:27 +00:00
Diego Biurrun
dc8cd49f1a Remove superfluous ifeq.
Originally committed as revision 6239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 10:50:32 +00:00
Diego Biurrun
691c480e7f Fix 'make depend' for libpostproc.
Originally committed as revision 6238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 10:33:27 +00:00
Diego Biurrun
380b2da75a Replace informal GPL notice by official header.
Originally committed as revision 6215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 21:09:37 +00:00