summaryrefslogtreecommitdiffstats
path: root/libavutil/mem.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename attribute_used to av_used and move it to attributes.hMans Rullgard2011-01-311-1/+1
| | | | | | This is consistent with most of the other attribute macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add av_file_map() and av_file_unmap() functions.Stefano Sabatini2010-12-221-0/+2
| | | | Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the argument of memory allocation functions from unsigned int to size_tMichael Niedermayer2010-12-041-3/+9
| | | | | | with the next major bump in libavutil. Originally committed as revision 25871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Intel C compiler 12.0 does not suport these attributes: may_alias, ↵Carl Eugen Hoyos2010-11-101-1/+1
| | | | | | force_align_arg_pointer and alloc_size. Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-9/+9
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing avutil.h include to libavutil/mem.hMåns Rullgård2010-06-261-0/+1
| | | | Originally committed as revision 23803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.Carl Eugen Hoyos2010-06-161-1/+1
| | | | Originally committed as revision 23624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-091-1/+1
| | | | | | | 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
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-061-3/+0
| | | | | | | 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
* Move DECLARE_ALIGNED_{8,16} macros to mem.hMåns Rullgård2010-03-061-0/+2
| | | | | | | These macros naturally belong next to the generic DECLARE_ALIGNED macro. Originally committed as revision 22230 to svn://svn.ffmpeg.org/ffmpeg/trunk
* DECLARE_ALIGNED macro for TMS470 compilerMåns Rullgård2010-01-221-0/+7
| | | | | | | | | | | | 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
* Make DECLARE_ALIGNED macros work with external array specifiersMåns Rullgård2010-01-211-3/+3
| | | | | | | | 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
* Remove residual use of the doxygen markup which is deprecated,Stefano Sabatini2010-01-011-1/+1
| | | | | | consistent with r19122. Originally committed as revision 20989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h toRamiro Polla2009-07-091-0/+15
| | | | | | lavu/mem.h. Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and ↵Carl Eugen Hoyos2009-06-271-1/+1
| | | | | | cold. Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove '\p', '\c' and '\e' doxygen markup from doxy, as it shouldStefano Sabatini2009-06-061-6/+6
| | | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* spelling/grammar/consistency review part IDiego Biurrun2009-01-281-19/+18
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.Diego Biurrun2009-01-251-17/+0
| | | | | | | | 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
* Directly #include a bunch of indirectly #included headers.Diego Biurrun2009-01-241-0/+1
| | | | Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-1/+1
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence the following icc warnings:Carl Eugen Hoyos2008-12-211-1/+1
| | | | | | | | 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
* Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.Carl Eugen Hoyos2008-12-201-2/+4
| | | | Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow using DECLARE_ALIGNED with Sun cc.Carl Eugen Hoyos2008-10-021-1/+1
| | | | Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | 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
* alloc_size attribute is new to gcc 4.3; don't use it with lesser versionsMåns Rullgård2008-06-051-1/+1
| | | | Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.Rafaël Carré2008-06-031-2/+2
| | | | | | patch by Rafaël Carré, funman videolan org Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic change: remove the whitespace after 'defined'Zuxy Meng2008-03-191-1/+1
| | | | Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 'malloc' attribute isn't supported in old gcc.Zuxy Meng2008-03-191-1/+1
| | | | Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply "alloc_size" attribute to av_alloc, av_realloc and av_malloczZuxy Meng2008-03-191-3/+9
| | | | Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-191-3/+9
| | | | | | | in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-181-9/+3
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-181-3/+9
| | | | | | | | | 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
* #error in case we do not know how to provide alignment.Diego Biurrun2008-03-081-1/+2
| | | | Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix MSVC identification, patch by Eddie Pang.Eddie Pang2008-02-251-1/+1
| | | | Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make code C conformant.Michael Niedermayer2008-02-251-1/+1
| | | | Originally committed as revision 12217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: prettyprintDiego Biurrun2008-02-251-9/+9
| | | | Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Correctly use preprocessor conditionals.Eddie Pang2008-02-201-2/+2
| | | | | | patch by Eddie Pang, eddpang gmail com Originally committed as revision 12159 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.Diego Biurrun2008-02-131-0/+4
| | | | Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark MSVC compiler macros as such.Diego Biurrun2008-02-131-1/+1
| | | | Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disentangle nested preprocessor directives.Diego Biurrun2008-02-131-4/+3
| | | | Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow compilation with icc 10.1.Carl Eugen Hoyos2008-02-091-0/+4
| | | | Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add and use DECLARE_ASM_CONST for constants used in assembler code.Reimar Döffinger2008-01-271-0/+2
| | | | | | 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
* Doxyfication, patch by Stefano Sabatini %stefano P sabatini-lala A poste P it%Stefano Sabatini2007-11-021-9/+34
| | | | Originally committed as revision 10906 to svn://svn.ffmpeg.org/ffmpeg/trunk
* doxy/cosmetics fixes. Patch by Stefano Sabatini %stefano P sabatini-lala A ↵Stefano Sabatini2007-11-011-3/+3
| | | | | | posteP it % Originally committed as revision 10893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc Doxygen spelling/grammar fixesDiego Biurrun2007-10-151-9/+9
| | | | Originally committed as revision 10754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document libavutil/mem.h:av_strdup.Stefano Sabatini2007-09-091-0/+7
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the memory related functions out of common.h into their own header filePanagiotis Issaris2007-03-121-0/+65
mem.h. Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud