aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/common.h
Commit message (Collapse)AuthorAgeFilesLines
* Reindent after r22968.Ronald S. Bultje2010-04-261-4/+4
| | | | Originally committed as revision 22969 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Write clip-related decimal numbers into hex, where they make more sense.Ronald S. Bultje2010-04-261-3/+3
| | | | Originally committed as revision 22968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix broken 32-bit clipping, and write numbers in hex instead of decimal soRonald S. Bultje2010-04-261-1/+1
| | | | | | | they are easier to understand. Also give the add a 'u' postfix to silence a pre-c99 compiler warning. Originally committed as revision 22965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-211-0/+11
| | | | | | to the audio conversion routines. Originally committed as revision 22937 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
* Fix build on configurations without fast av_log2()Måns Rullgård2010-03-091-10/+13
| | | | | | | This is a bit hackish. I will try to think of something nicer, but this will do for now. Originally committed as revision 22366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentMåns Rullgård2010-03-081-1/+1
| | | | Originally committed as revision 22348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge two adjacent ifdef blocksMåns Rullgård2010-03-081-3/+0
| | | | Originally committed as revision 22347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move gcc attribute macros to new header libavutil/attributes.hMåns Rullgård2010-03-081-78/+1
| | | | Originally committed as revision 22346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PUT_UTF16() macro.Anton Khirnov2010-02-241-0/+30
| | | | | | Patch by Anton Khirnov <wyskas gmail com>. Originally committed as revision 22030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimise av_log2 with clz when availableMåns Rullgård2010-01-141-0/+8
| | | | | | 10% faster flac decoding on x86 and ARM. Originally committed as revision 21217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra2009-11-091-0/+2
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Add support for UTF-16 encoding.Anton Khirnov2009-09-231-0/+24
| | | | | | patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add function to compute ceil(log2(x)).Thilo Borgmann2009-08-301-0/+9
| | | | | | Patch by Thilo Borgmann <thilo.borgmann _at_ googlemail.com> Originally committed as revision 19747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce av_clip_uint16().Ramiro Polla2009-08-131-0/+11
| | | | Originally committed as revision 19636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert addition of '#undef av_always_inline' to config.h in the small case.Diego Biurrun2009-07-301-1/+4
| | | | | | | Instead, #include config.h at the top of common.h so that av_always_inline does not get doubly defined. Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Icc does not support attribute flatten, do not try to use it.Carl Eugen Hoyos2009-06-281-1/+1
| | | | Originally committed as revision 19286 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
* Move ALIGN macro to libavutil/common.h and use it in various placesDavid Conrad2009-05-221-0/+1
| | | | Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilersMåns Rullgård2009-02-221-1/+5
| | | | Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence one icc warning:Carl Eugen Hoyos2009-02-101-1/+1
| | | | | | variable "..." is used before its value is set Originally committed as revision 17127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.Diego Biurrun2009-02-101-1/+1
| | | | Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_flatten to make the similarly named attribute available.Michael Niedermayer2009-02-091-0/+8
| | | | Originally committed as revision 17105 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_uninit() to suppress false uninitialized warnings from gcc without ↵Michael Niedermayer2009-02-091-0/+8
| | | | | | deoptimizing code. Originally committed as revision 17104 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-12/+12
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorganize header #includes: Unconditionally #include standard C headers,Diego Biurrun2009-01-251-15/+10
| | | | | | group all local #includes together. Originally committed as revision 16796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move internal.h #include to the end of the file so that it is afterDiego Biurrun2009-01-251-4/+4
| | | | | | the declaration of av_log2_16bit, which it uses. Originally committed as revision 16772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-181-41/+0
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-171-11/+0
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-171-3/+0
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move NULL_IF_CONFIG_SMALL() definition into internal headerAurelien Jacobs2009-01-151-11/+0
| | | | Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move timer related code in a new timer.h fileAurelien Jacobs2009-01-151-73/+0
| | | | Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-6/+6
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* consistency cosmetics: Rename POWERPC identifiers to PPC.Diego Biurrun2008-12-271-1/+1
| | | | Originally committed as revision 16359 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-6/+8
| | | | Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port read_time() that works on x86_32 and 64 from noe.Michael Niedermayer2008-10-211-11/+3
| | | | Originally committed as revision 15661 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-161-5/+5
| | | | | | | | | | | | | 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
* Add a macro to get the number of elements in a table.Benoit Fouet2008-10-151-0/+1
| | | | Originally committed as revision 15619 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
* Add av_clipf() function to common.h and use it in ra288.cVitor Sessak2008-07-131-0/+14
| | | | Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make START/STOP_TIMER not require -v 2.Michael Niedermayer2008-06-081-1/+1
| | | | Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Macro suggested by Michael which will be used to disable theStefano Sabatini2008-06-011-0/+11
| | | | | | | definition of long_name strings in libavcodec and libavformat. Patch by: Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FFMIN3Baptiste Coudurier2008-04-261-0/+1
| | | | Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement FFMAX3(a,b,c) - maximum over three arguments.Vladimir Voroshilov2008-04-191-0/+1
| | | | Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: __asm__ __volatile__ --> asm volatileDiego Biurrun2008-04-171-1/+1
| | | | Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-0/+8
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-191-8/+24
| | | | | | | 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-24/+8
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk