summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
Commit message (Collapse)AuthorAge
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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-09
| | | | | | | 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
* Move libm replacements to new header libm.hMåns Rullgård2010-03-09
| | | | | | | | | | | | | | | | | | | ffmpeg.c uses lrintf(), which is missing on some systems. Previously it picked up the replacement via libavutil/internal.h due to HAVE_AV_CONFIG_H being erroneously defined. Moving these replacements to a separate header enables ffmpeg.c to use them without being exposed to internal interfaces. This use of a non-public header is justified by the header in question not being part of the internal interface either. It should rather be considered as part of the build system, which is shared between the libraries and the applications. This header cannot be installed since the tested conditions depend on the compiler. Originally committed as revision 22399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_sqrt() to libavutil/intmath.hMåns Rullgård2010-03-08
| | | | Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add casts to correct return type in macros for missing libm funcsMåns Rullgård2010-02-20
| | | | Originally committed as revision 21922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Gcc attribute may_alias is not supported (or silently ignored) by all ↵Carl Eugen Hoyos2010-02-20
| | | | | | supported compilers. Originally committed as revision 21917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define missing llrint() as macro instead of inline functionMåns Rullgård2010-02-09
| | | | | | This fixes building on some broken systems. Originally committed as revision 21735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define av_alias if supported by compilerMåns Rullgård2010-01-29
| | | | Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move COPY3_IF_LT to lavc/mathops.hMåns Rullgård2010-01-20
| | | | | | | | This obscure macro is only used in motion_est.c so having it in lavc makes more sense. See discussion here: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FASTDIV macro to intmath.hMåns Rullgård2010-01-19
| | | | Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use macros instead of inline functions to replace the following missing C99Vitor Sessak2010-01-16
| | | | | | | | | functions: exp2, exp2f, log2, log2f. Should fix compilation in systems where these functions are defined in math.h but not implemented. Originally committed as revision 21231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.Vitor Sessak2010-01-12
| | | | | | Should fix build breakage on some platforms introduced in r21125. Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove code checking for __PIC__ or __pic__ and setting PIC from ↵Reimar Döffinger2009-11-10
| | | | | | | | libavutil/internal.h, configure is supposed to take care of that already. Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* extend ff_inverse[], and fix its documentationLoren Merritt2009-09-21
| | | | Originally committed as revision 19942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and labelRamiro Polla2009-09-06
| | | | | | parameters. Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a newline in error message in CHECKED_ALLOC(Z).Ramiro Polla2009-09-04
| | | | Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprintingDiego Biurrun2009-09-01
| | | | Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add CHECKED_ALLOC macro.Ramiro Polla2009-08-29
| | | | | | | 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
* Add a log2 replacement for systems that haven't quite caught up with the C99Alex Converse2009-07-10
| | | | | | standard library. Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h toRamiro Polla2009-07-09
| | | | | | lavu/mem.h. Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not throw compiler error if asm code needs alignment, but we do not knowRamiro Polla2009-07-09
| | | | | | | 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
* Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and ↵Carl Eugen Hoyos2009-06-27
| | | | | | cold. Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add LABEL_MANGLE() to export label symbols from inside asm blocks.Ramiro Polla2009-05-25
| | | | Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When warning about forbidden pseudo random number generation functions,Diego Biurrun2009-03-21
| | | | | | suggest the correct replacement functions. Originally committed as revision 18114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: disable inline asm for armccMåns Rullgård2009-03-05
| | | | Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct, portable definition of INT_BITMåns Rullgård2009-02-21
| | | | Originally committed as revision 17480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Add required header mem.h, av_malloc and friends are used.Diego Biurrun2009-01-30
| | | | Originally committed as revision 16863 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Move all #includes together at the beginning of the file.Diego Biurrun2009-01-30
| | | | Originally committed as revision 16862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IIIDiego Biurrun2009-01-28
| | | | Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IIDiego Biurrun2009-01-28
| | | | Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disambiguate the macros used to disable fprintf/printf/puts functions.Diego Biurrun2009-01-25
| | | | Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add required limits.h header.Diego Biurrun2009-01-25
| | | | Originally committed as revision 16789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.Diego Biurrun2009-01-25
| | | | | | | 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
* Drop _MSC_VER case from macro declaration.Diego Biurrun2009-01-25
| | | | | | This compiler will never see our internal headers. Originally committed as revision 16783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.Diego Biurrun2009-01-25
| | | | | | | | 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
* Remove redundant av_log2_16bit forward declaration, fixes checkheaders warning:Diego Biurrun2009-01-25
| | | | | | | 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
* Replace calls to the deprecated function av_init_random() withStefano Sabatini2009-01-18
| | | | | | corresponding calls to av_random_init(). Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move NULL_IF_CONFIG_SMALL() definition into internal headerAurelien Jacobs2009-01-15
| | | | Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move timer related code in a new timer.h fileAurelien Jacobs2009-01-15
| | | | Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add truncf() replacement function.Michael Kostylev2009-01-11
| | | | | | Patch by Michael Kostylev <mik at it-1 dot ru> Originally committed as revision 16555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop unnecessary intreadwrite.h and bswap.h #includes.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16546 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence the following icc warnings:Carl Eugen Hoyos2008-12-21
| | | | | | | | 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-20
| | | | Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: make FASTDIV() an inline functionMåns Rullgård2008-12-17
| | | | Originally committed as revision 16193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: replace "armv4l" with "arm"Måns Rullgård2008-12-17
| | | | Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: faster ARMv6 FASTDIV()Måns Rullgård2008-10-25
| | | | Originally committed as revision 15712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | 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