Commit Graph

603 Commits

Author SHA1 Message Date
Aurelien Jacobs 2bb6eba21d remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Aurelien Jacobs 9ce6c13879 export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
NVIDIA Corporation d37edddc09 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
Aurelien Jacobs d80a7fe50a move NULL_IF_CONFIG_SMALL() definition into internal header
Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 23:01:26 +00:00
Aurelien Jacobs 2f5421d513 move timer related code in a new timer.h file
Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 22:58:35 +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
Aurelien Jacobs af5f434f8c add the necessary include for LIBAV*_VERSION_*
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:14:43 +00:00
Diego Biurrun 7b5e8a274a Extend 'checkheaders' target to architecture-specific subdirectories.
Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:48:07 +00:00
Michael Kostylev 7b04b8a057 Add truncf() replacement function.
Patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:10:04 +00:00
Diego Biurrun e503674c4a Add necessary, remove unnecessary #includes.
Originally committed as revision 16547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:03:42 +00:00
Diego Biurrun ff8769e205 Drop unnecessary intreadwrite.h and bswap.h #includes.
Originally committed as revision 16546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 20:26:53 +00:00
Ramiro Polla 1f91cdce0b Use posix_memalign() if available.
Originally committed as revision 16488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:36:34 +00:00
Diego Biurrun c47d146be8 Add missing 'void' keyword to parameterless function declarations.
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 13:57:43 +00:00
NVIDIA Corporation 369122dd77 Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Aurelien Jacobs 045cbba92d cosmetic: indent
Originally committed as revision 16423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 17:48:54 +00:00
Aurelien Jacobs d8bd113ef4 add a termination condition
Originally committed as revision 16422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 17:48:19 +00:00
Diego Biurrun 79cb09b2f7 consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:33:26 +00:00
Carl Eugen Hoyos af4c0bcb6e Silence the following icc warnings:
warning #1292: attribute "force_align_arg_pointer" ignored
warning #1292: attribute "alloc_size" ignored
warning #1292: attribute "cold" ignored

Originally committed as revision 16258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 22:51:33 +00:00
Carl Eugen Hoyos 52476c1bee Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.
Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 17:33:35 +00:00
Måns Rullgård f8c5adaf9c ARM: make FASTDIV() an inline function
Originally committed as revision 16193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:04:39 +00:00
Måns Rullgård a2fc0f6a6d ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun f0e602351e cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Diego Biurrun ecad9872fb Initialize variable to silence the warning:
libavutil/pca.c:72: warning: ‘k’ may be used uninitialized in this function

Originally committed as revision 15760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 06:52:37 +00:00
Måns Rullgård ede725104b cosmetic: align backslashes in makefiles
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Måns Rullgård b98f10c08a ARM: faster ARMv6 FASTDIV()
Originally committed as revision 15712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:54:23 +00:00
Måns Rullgård 3a90480ac4 split bswap.h into per-arch files
Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 22:29:57 +00:00
Aurelien Jacobs 37d3e0667a uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Michael Niedermayer 03092e1408 Port read_time() that works on x86_32 and 64 from noe.
Originally committed as revision 15661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 14:57:55 +00:00
Måns Rullgård e80b267536 ARM: Kill warning in bswap_32()
Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 00:03:25 +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
Benoit Fouet c49d0e0fe2 Bump minor version after addition of FF_ARRAY_ELEMS macro.
Originally committed as revision 15623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 08:06:12 +00:00
Benoit Fouet ac809e814e Add a macro to get the number of elements in a table.
Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:24:54 +00:00
Carl Eugen Hoyos 89493e10ef Don't include byteswap.h anymore.
Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 19:50:24 +00:00
Carl Eugen Hoyos aaa0df02d3 Allow using DECLARE_ALIGNED with Sun cc.
Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 10:47:05 +00:00
Stefano Sabatini 05b90fc0c5 Implement av_nearer_q() and av_find_nearest_q_idx() functions.
Originally committed as revision 15415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:23:13 +00:00
Michael Niedermayer eed3607564 Avoid undefined behavior for removing elements that were not in the tree.
Originally committed as revision 15368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-19 12:41:12 +00:00
Michael Niedermayer 53e9d0105f Fix generated md5, it was wrong for some input lengths.
Fix issue634.

Originally committed as revision 15335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-15 22:10:28 +00:00
Diego Biurrun 9be50e3922 Only define x86 register names on x86.
Originally committed as revision 15328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:17:40 +00:00
Stefano Sabatini 6123abad2e Remove wrong and unnecessary condition. VHOOK filters are not special
so they are not supposed to use the printf, fprintf, perror and puts
functions but av_log instead.

Originally committed as revision 15221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 07:26:05 +00:00
Michael Niedermayer 991945d0e4 Fix typo.
Originally committed as revision 15199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 20:39:09 +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
Stefano Sabatini b76e3424ca Cosmetics: remove a redundant and misplaced doxy.
Originally committed as revision 14856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 22:17:13 +00:00
Stefano Sabatini e8e2b2ef17 Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 22:15:05 +00:00
Stefano Sabatini 8257b835cf Implement av_fifo_realloc2().
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 18:43:34 +00:00
Michael Niedermayer a8aefc8aed Copy and paste LGPL from tree.h, the previous one referred to a non-existing
version.

Originally committed as revision 14818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:32:51 +00:00
Diego Biurrun 82ed0b763a Add missing stdint.h header to fix 'make checkheaders'.
Originally committed as revision 14816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:15:33 +00:00
Justin Ruggles ec0350c983 use LFG instead of Mersenne Twister for AC-3 PRNG
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 17:41:48 +00:00
Michael Niedermayer 8cb2db4edb restore alphabetical order of TESTS
Originally committed as revision 14813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:58:47 +00:00
Michael Niedermayer 31bcb290cc Add PCA to TESTS.
Originally committed as revision 14812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:44:13 +00:00
Michael Niedermayer 4869f47eca Add multiple inclusion guards for consistency and to avoid them being
forgotten in case they ever become neccessary.

Originally committed as revision 14810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:53:12 +00:00