Reimar Döffinger
7fc58b1eeb
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
...
configure is supposed to take care of that already.
Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
1a918c08e4
extend ff_inverse[], and fix its documentation
...
Originally committed as revision 19942 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
d31dbec374
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
...
parameters.
Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
5ce6934e0a
Add a newline in error message in CHECKED_ALLOC(Z).
...
Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ee1550116b
whitespace cosmetics, prettyprinting
...
Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
e48a0966ca
Add CHECKED_ALLOC macro.
...
It works the same as CHECKED_ALLOCZ except that it does not zero the allocated
memory.
Originally committed as revision 19742 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
291fd18a6e
Add a log2 replacement for systems that haven't quite caught up with the C99
...
standard library.
Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
16c2e21488
Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to
...
lavu/mem.h.
Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
4b2be143cd
Do not throw compiler error if asm code needs alignment, but we do not know
...
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.
Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
06be9d9d8e
Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.
...
Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
7d9beec775
Add LABEL_MANGLE() to export label symbols from inside asm blocks.
...
Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9f5da4d189
When warning about forbidden pseudo random number generation functions,
...
suggest the correct replacement functions.
Originally committed as revision 18114 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
35690321a7
ARM: disable inline asm for armcc
...
Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
28499cc8d8
Correct, portable definition of INT_BIT
...
Originally committed as revision 17480 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Diego Biurrun
9d52d54df3
Add required header mem.h, av_malloc and friends are used.
...
Originally committed as revision 16863 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
dbef3f46b9
cosmetics: Move all #includes together at the beginning of the file.
...
Originally committed as revision 16862 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7d685b486b
spelling/grammar/consistency review part III
...
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bfe3676feb
spelling/grammar/consistency review part II
...
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
89c9ff504b
spelling/grammar/consistency review part I
...
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b58f29a171
Disambiguate the macros used to disable fprintf/printf/puts functions.
...
Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ed0fd852a3
Add required limits.h header.
...
Originally committed as revision 16789 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0f73b510f0
Restore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.
...
This compiler might be supported in the future or we might some day decide
to export these macros.
Originally committed as revision 16786 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3bb13a4770
Drop _MSC_VER case from macro declaration.
...
This compiler will never see our internal headers.
Originally committed as revision 16783 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4ce9492339
Move DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.
...
Their definition depends on preprocessor directives from config.h,
thus they cannot be declared in a public header since public headers
cannot #include config.h.
Originally committed as revision 16781 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f3c04c1385
Remove redundant av_log2_16bit forward declaration, fixes checkheaders warning:
...
libavutil/internal.h:167: warning: redundant redeclaration of `av_log2_16bit'
libavutil/common.h:143: warning: previous definition of `av_log2_16bit' was here
Originally committed as revision 16773 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9c868219e9
Replace calls to the deprecated function av_init_random() with
...
corresponding calls to av_random_init().
Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
d80a7fe50a
move NULL_IF_CONFIG_SMALL() definition into internal header
...
Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
ff8769e205
Drop unnecessary intreadwrite.h and bswap.h #includes.
...
Originally committed as revision 16546 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Måns Rullgård
f8c5adaf9c
ARM: make FASTDIV() an inline function
...
Originally committed as revision 16193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
b98f10c08a
ARM: faster ARMv6 FASTDIV()
...
Originally committed as revision 15712 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
2b409ca9d6
Remove hackish support for fastmemcpy from MPlayer.
...
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5af4f1f3e3
move M_PI definition along with other math definitions
...
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9f31c7ef37
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
...
Originally committed as revision 14475 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
d7bd0b3dea
Only define AltiVec vector syntax macro when AltiVec is enabled.
...
patch by Peter Ross, pross xvid org
Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b006b26c83
Implement a proper configure test for AltiVec vector declaration syntax.
...
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
df22c35dfb
Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts
...
so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
85074d3c93
Reapply r12489: Add pure, const and malloc attributes to proper functions
...
in libavutil.
Fix a compilation failure in r12489.
Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago