Måns Rullgård
2ed6f39944
Replace many includes of libavutil/common.h with what is actually needed
...
This reduces the number of false dependencies on header files and
speeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
84dc2d8afa
Remove DECLARE_ALIGNED_{8,16} macros
...
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4b9905d1dc
Move DECLARE_ALIGNED_{8,16} macros to mem.h
...
These macros naturally belong next to the generic DECLARE_ALIGNED
macro.
Originally committed as revision 22230 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
34e52abb62
DECLARE_ALIGNED macro for TMS470 compiler
...
This compiler supports gcc-style alignment attributes for struct,
but not for global variables. For the latter, alignment can be
specified with a pragma, which does not work for struct members or
local variables. By using both pragma and attribute, one or the
other will always take effect.
Unfortunately, no means exists for aligning stack variables.
Originally committed as revision 21379 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8a24e98d50
Make DECLARE_ALIGNED macros work with external array specifiers
...
The macro implementation might need the name of the variable being
declared for compiler-specific syntax. Moving array specifiers outside
the macro invocation allows this to work.
Originally committed as revision 21363 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
702d0a9e85
Remove residual use of the doxygen markup which is deprecated,
...
consistent with r19122.
Originally committed as revision 20989 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
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
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 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
89c9ff504b
spelling/grammar/consistency review part I
...
Originally committed as revision 16840 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
dfcb6b56f9
Directly #include a bunch of indirectly #included headers.
...
Originally committed as revision 16748 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
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
Carl Eugen Hoyos
aaa0df02d3
Allow using DECLARE_ALIGNED with Sun cc.
...
Originally committed as revision 15509 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
Måns Rullgård
40c13fecfa
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
...
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Rafaël Carré
d326dd9797
Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
...
patch by Rafaël Carré, funman videolan org
Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
e6e70d9bdc
Cosmetic change: remove the whitespace after 'defined'
...
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
0fd48faca5
'malloc' attribute isn't supported in old gcc.
...
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
cca6d953c2
Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
...
Originally committed as revision 12499 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
Benoit Fouet
2119bb8f51
revert r12489.
...
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
6544f48f03
Pure, const and malloc attributes to libavutil.
...
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c123486e44
#error in case we do not know how to provide alignment.
...
Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Eddie Pang
a02dd7ebdd
Fix MSVC identification, patch by Eddie Pang.
...
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4fa1f6cc5c
Make code C conformant.
...
Originally committed as revision 12217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4bfc91a07b
cosmetics: prettyprint
...
Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Eddie Pang
5cbd67ea43
10l: Correctly use preprocessor conditionals.
...
patch by Eddie Pang, eddpang gmail com
Originally committed as revision 12159 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7cb1fc766b
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
...
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b89bb8581d
Mark MSVC compiler macros as such.
...
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7433ca2982
Disentangle nested preprocessor directives.
...
Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
7ce3e4a882
Allow compilation with icc 10.1.
...
Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
766324fc49
Add and use DECLARE_ASM_CONST for constants used in assembler code.
...
Should make it easier to work around compilation problems with e.g. ICC.
Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
0ee97f0d3f
Doxyfication, patch by Stefano Sabatini %stefano P sabatini-lala A poste P it%
...
Originally committed as revision 10906 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
22baf42c83
doxy/cosmetics fixes. Patch by Stefano Sabatini %stefano P sabatini-lala A posteP it %
...
Originally committed as revision 10893 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
8a2d973dfc
misc Doxygen spelling/grammar fixes
...
Originally committed as revision 10754 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d3de3ee2bd
Document libavutil/mem.h:av_strdup.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Panagiotis Issaris
792098c2ec
Move the memory related functions out of common.h into their own header file
...
mem.h.
Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago