summaryrefslogtreecommitdiff
path: root/libavutil/common.h
Commit message (Collapse)AuthorAge
* Allow arch-overrides for all common.h clip and log2 functionsMåns Rullgård2010-07-07
| | | | Originally committed as revision 24087 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove macro duplication between common.h and intmath.hMåns Rullgård2010-07-07
| | | | Originally committed as revision 24086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve GET_UTF{8,16} documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_clip_int8(), used in the upcoming VP8 decoder.Ronald S. Bultje2010-06-22
| | | | Originally committed as revision 23713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing parentheses in MKTAG and MKBETAG macros.Benoit Fouet2010-06-22
| | | | Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r22968.Ronald S. Bultje2010-04-26
| | | | 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-26
| | | | 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-26
| | | | | | | 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-21
| | | | | | 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-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
* Fix build on configurations without fast av_log2()Måns Rullgård2010-03-09
| | | | | | | 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-08
| | | | Originally committed as revision 22348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge two adjacent ifdef blocksMåns Rullgård2010-03-08
| | | | 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-08
| | | | Originally committed as revision 22346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PUT_UTF16() macro.Anton Khirnov2010-02-24
| | | | | | 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-14
| | | | | | 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-09
| | | | | | 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-23
| | | | | | 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-30
| | | | | | 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-13
| | | | 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-30
| | | | | | | 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-28
| | | | 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-27
| | | | | | 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-22
| | | | 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-22
| | | | Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence one icc warning:Carl Eugen Hoyos2009-02-10
| | | | | | 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-10
| | | | Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_flatten to make the similarly named attribute available.Michael Niedermayer2009-02-09
| | | | 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-09
| | | | | | 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-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
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorganize header #includes: Unconditionally #include standard C headers,Diego Biurrun2009-01-25
| | | | | | 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-25
| | | | | | 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-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 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
* consistency cosmetics: Rename POWERPC identifiers to PPC.Diego Biurrun2008-12-27
| | | | Originally committed as revision 16359 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
* Port read_time() that works on x86_32 and 64 from noe.Michael Niedermayer2008-10-21
| | | | Originally committed as revision 15661 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
* Add a macro to get the number of elements in a table.Benoit Fouet2008-10-15
| | | | Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | 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-13
| | | | Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make START/STOP_TIMER not require -v 2.Michael Niedermayer2008-06-08
| | | | 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-01
| | | | | | | 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