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

262 Commits

Author SHA1 Message Date
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
2011-09-24 01:37:52 +02:00
Yuriy Kaminskiy
2b2617da6b libpostproc: mmx code uses stack below %esp, fix that
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-20 21:37:00 +02:00
Piotr Kaczuba
f4f3300c09 postprocess.c: filter name needs to be double 0 terminated
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-08-26 20:28:54 +02:00
Michael Niedermayer
c3b6cc61e5 Merge remote-tracking branch 'qatar/master'
* qatar/master:
  ffserver: remove unused variable.
  Remove unused and outdated TODO file.
  gitignore: Drop individual .d ignore; it is already covered by a wildcard.
  lavf: deprecate AVStream.quality.
  bink: pass Bink version to audio decoder through extradata instead of codec_tag.
  libpostproc: Remove disabled code.
  flashsv: improve some comments and fix some wrong ones
  flashsv: Eliminate redundant variable indirection.
  flashsv: set reference frame type to full frame
  flashsv: replace bitstream description by a link to the specification
  flashsv: convert a debug av_log into av_dlog
  flashsv: simplify condition
  flashsv: return more meaningful error values
  flashsv: cosmetics: break some overly long lines
  flashsv: cosmetics: drop some unnecessary parentheses
  swscale: amend documentation to mention use of native depth for scaling.
  eval: add missing comma to tests.
  eval: fix memleak.
  H.264: make loopfilter bS const where applicable

Conflicts:
	libavcodec/binkaudio.c
	libavformat/bink.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-07-06 23:57:11 +02:00
Diego Biurrun
0fedf754b2 libpostproc: Remove disabled code. 2011-07-06 13:43:19 +02:00
Michael Niedermayer
976a8b2179 Merge remote-tracking branch 'qatar/master'
* qatar/master: (40 commits)
  H.264: template left MB handling
  H.264: faster fill_decode_caches
  H.264: faster write_back_*
  H.264: faster fill_filter_caches
  H.264: make filter_mb_fast support the case of unavailable top mb
  Do not include log.h in avutil.h
  Do not include pixfmt.h in avutil.h
  Do not include rational.h in avutil.h
  Do not include mathematics.h in avutil.h
  Do not include intfloat_readwrite.h in avutil.h
  Remove return statements following infinite loops without break
  RTSP: Doxygen comment cleanup
  doxygen: Escape '\' in Doxygen documentation.
  md5: cosmetics
  md5: use AV_WL32 to write result
  md5: add fate test
  md5: include correct headers
  md5: fix test program
  doxygen: Drop array size declarations from Doxygen parameter names.
  doxygen: Fix parameter names to match the function prototypes.
  ...

Conflicts:
	libavcodec/x86/dsputil_mmx.c
	libavformat/flvenc.c
	libavformat/oggenc.c
	libavformat/wtv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-07-04 00:45:21 +02:00
Mans Rullgard
abc78a5a7c Do not include log.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 21:42:07 +01:00
Michael Niedermayer
bb9d5171a7 Merge remote-tracking branch 'qatar/master'
* qatar/master: (21 commits)
  swscale: Add Doxygen for hyscale_fast/hScale.
  fate: enable lavfi-pixmt tests on big endian systems
  PPC: swscale: disable altivec functions for unsupported formats
  fate: merge identical pixdesc_be/le tests
  swscale: Add Doxygen for yuv2planar*/yuv2packed* functions.
  build: call texi2pod.pl with full path instead of symlink
  build: include sub-makefiles using full path instead of symlinks
  swscale: update big endian reference values after dff5a835.
  wavpack: skip blocks with no samples
  cosmetics: remove outdated comment that is no longer true
  build: replace some addprefix/addsuffix with substitution refs
  avutil: Remove unused arbitrary precision integer code.
  configure: Drop check for availability of ten assembler operands.
  aacenc: Save channel configuration for later use.
  aacenc: Fix codebook trellising for zeroed bands.
  swscale: change prototypes of scaled YUV output functions.
  swscale: re-add support for non-native endianness.
  swscale: disentangle yuv2rgbX_c_full() into small functions.
  swscale: split yuv2packed[12X]_c() remainders into small functions.
  swscale: split yuv2packedX_altivec in smaller functions.
  ...

Conflicts:
	Makefile
	configure
	libavcodec/x86/dsputil_mmx.c
	libavfilter/Makefile
	libavformat/Makefile
	libavutil/integer.c
	libavutil/integer.h
	libswscale/swscale.c
	libswscale/swscale_internal.h
	libswscale/x86/swscale_template.c
	tests/ref/lavfi/pixdesc_le
	tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-29 05:23:12 +02:00
Mans Rullgard
57b4a3dd2b build: include sub-makefiles using full path instead of symlinks
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 18:15:19 +01:00
Reimar Döffinger
1109680434 Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
This reverts commit a6213f3dce.
2011-06-26 09:49:36 +02:00
Michael Niedermayer
4ccb7911ba Merge remote-tracking branch 'qatar/master'
* qatar/master:
  ARM: silence some annoying armcc warnings
  ffplay: Remove unused-but-set channels variable from update_sample_display().
  build: Add DEP_LIBS dependency directly to the shared library build rule.
  build: Remove multiple inclusion guards from config.mak.
  build: Remove redundant config.mak includes from subdirectory Makefiles.
  aacenc: Mark psy_3gpp_window() as av_unused.

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-26 02:31:32 +02:00
Diego Biurrun
a6213f3dce build: Remove redundant config.mak includes from subdirectory Makefiles.
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
2011-06-25 13:02:51 +02:00
Piotr Kaczuba
c96f3750c2 postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0) 2011-06-02 14:43:14 +02:00
Piotr Kaczuba
84fb4e9df7 postprocess.c: filter name needs to be double 0 terminated 2011-05-31 17:50:46 +02:00
Michael Niedermayer
ea535ed50d Revert 1a5e4fd8c5 for postproc. This broke the code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-29 00:32:33 +02:00
Michael Niedermayer
6841c8c579 Merge remote branch 'qatar/master'
* qatar/master:
  log: Fix an oob array read.
  cosmetics: trim trailing whitespace in postproc
  Ban strncpy() it's too easy to misuse.
  psymodel: Remove wrapper functions.
  aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
  regtest: remove redundant flags in jpg test
  regtest: use run_ffmpeg in do_image_formats
  regtest: simplify encoding functions
  ffmpeg.c: check for interlaced flag in the correct place.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:50:56 +02:00
Alex Converse
c38d9780eb cosmetics: trim trailing whitespace in postproc 2011-05-08 13:33:23 -07:00
Michael Niedermayer
b000b86e1d Merge remote branch 'qatar/master'
* qatar/master: (23 commits)
  doc: Check standalone compilation before submitting new components.
  Fix standalone compilation of pipe protocol.
  Fix standalone compilation of ac3_fixed encoder.
  Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
  Fix standalone compilation of IMC decoder.
  Fix standalone compilation of WTV demuxer.
  Fix standalone compilation of MXPEG decoder.
  flashsv: K&R cosmetics
  matroskaenc: fix memory leak
  vc1: make overlap filter for I-frames bit-exact.
  vc1dec: use s->start/end_mb_y instead of passing them as function args.
  Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
  Replace strncpy() with av_strlcpy().
  indeo3: Eliminate use of long.
  get_bits: make cache unsigned to eliminate undefined signed overflow.
  asfdec: fix assert failure on invalid files
  avfilter: check malloc return values.
Not pulled as reason for reindent is not pulled:  mpegvideo: reindent.
  nutenc: check malloc return values.
Not pulled due to much simpler solution in ffmpeg  *: don't av_malloc(0).
  ...

Conflicts:
	doc/developer.texi
	libavcodec/Makefile
	libavcodec/get_bits.h
	libavcodec/mpegvideo.c
	libavformat/Makefile
	libavutil/log.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-05 03:30:24 +02:00
Alex Converse
1a5e4fd8c5 Replace strncpy() with av_strlcpy(). 2011-05-03 21:20:13 -07:00
Diego Biurrun
a81ff195c1 libpostproc: Remove crufty code disabled by the big bump. 2011-04-20 12:18:47 +02:00
Anton Khirnov
139f3ac42d Bump major versions of all libraries.
They've accumulated enough new APIs and corresponding deprecated cruft.

This breaks API and ABI.
2011-04-18 20:19:47 +02:00
Michael Niedermayer
8ea36711b0 Merge remote-tracking branch 'newdev/master'
Merged-by: Michael Niedermayer <michaelni@gmx.at>

Not Pulled:
    commit 42cfb3835b
    Author: Mans Rullgard <mans@mansr.com>
    Date:   Mon Feb 28 18:06:58 2011 +0000

        Remove Sonic experimental audio codec

    commit 2912e87a6c
    Author: Mans Rullgard <mans@mansr.com>
    Date:   Fri Mar 18 17:35:10 2011 +0000

        Replace FFmpeg with Libav in licence headers
2011-03-19 20:05:11 +01:00
Mans Rullgard
2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Janne Grunau
faa6f1c306 get rid of the last svn mentions 2011-03-18 21:57:38 +01:00
Michael Niedermayer
e528cdac8a Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
This reverts commit 29ba091136.
2011-03-17 17:26:45 +01:00
Michael Niedermayer
0cb88628fb Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
This reverts commit a03be6e1ba.
2011-03-17 17:26:45 +01:00
Janne Grunau
a03be6e1ba use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_* 2011-03-16 21:54:39 +01:00
Janne Grunau
29ba091136 replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
also update the multiple inclusion guards in config.h|mak
2011-03-16 21:54:39 +01:00
Janne Grunau
2c3589bfda consolidate .gitignore patters into a single file
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-18 21:32:05 +01:00
Janne Grunau
348b8218f7 convert svn:ignore properties to .gitignore files
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-17 15:50:14 +01:00
Reimar Döffinger
a2a17d3f87 Fix use of uninitialized data: A array element can not be
used to initialized another array element of the same array.

Originally committed as revision 24479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 11:55:22 +00:00
Måns Rullgård
49bd8e4b84 Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
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
2010-04-20 14:45:34 +00:00
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
2010-02-02 19:35:52 +00:00
Måns Rullgård
c67278098d Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:25:11 +00:00
Måns Rullgård
a482e61bd6 Add symbol versioning for shared libraries
Based on patch by Reinhard Tartler <siretart tauware de>

Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 04:49:02 +00:00
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
2010-01-03 14:31:25 +00:00
Diego Biurrun
c173693698 Add functions to return library license and library configuration.
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-18 17:15:17 +00:00
Diego Biurrun
386eaeb43f Remove disabled code cruft.
Originally committed as revision 19668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-19 08:15:32 +00:00
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
2009-05-22 21:32:13 +00:00
Ramiro Polla
e90f5b5ab1 configure: Add --enable-runtime-cpudetect
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:26:18 +00:00
Diego Biurrun
2f2cabef9c Add av_uninit to vbA[1-8], vbB[1-8] variables to work around
some 'may be used uninitialized' warnings.

Originally committed as revision 17963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 19:14:40 +00:00
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
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