Statistics
| Branch: | Revision:

ffmpeg / libavutil / common.h @ 2f5421d5

History | View | Annotate | Download (8.65 KB)

# Date Author Comment
2f5421d5 01/15/2009 10:58 PM Aurelien Jacobs

move timer related code in a new timer.h file

Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

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

79cb09b2 12/27/2008 11:33 AM Diego Biurrun

consistency cosmetics: Rename POWERPC identifiers to PPC.

Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk

af4c0bcb 12/21/2008 10:51 PM Carl Eugen Hoyos

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

52476c1b 12/20/2008 05:33 PM Carl Eugen Hoyos

Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.

Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk

03092e14 10/21/2008 02:57 PM Michael Niedermayer

Port read_time() that works on x86_32 and 64 from noe.

Originally committed as revision 15661 to svn://svn.ffmpeg.org/ffmpeg/trunk

be449fca 10/16/2008 01:34 PM Diego Pettenò

Convert asm keyword into asm.

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...

ac809e81 10/15/2008 07:24 AM Benoit Fouet

Add a macro to get the number of elements in a table.

Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk

98790382 08/31/2008 07:39 AM Stefano Sabatini

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_"....

4138ad96 07/13/2008 07:59 PM Vitor Sessak

Add av_clipf() function to common.h and use it in ra288.c

Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk

8cd8eaa5 06/08/2008 10:55 AM Michael Niedermayer

Make START/STOP_TIMER not require -v 2.

Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a567b40 06/01/2008 07:37 AM Stefano Sabatini

Macro suggested by Michael which will be used to disable the
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

b842ecbe 04/26/2008 12:47 PM Baptiste Coudurier

add FFMIN3

Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk

159ef4b0 04/19/2008 05:07 PM Vladimir Voroshilov

Implement FFMAX3 - maximum over three arguments.

Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk

c88c253d 04/17/2008 09:57 PM Diego Biurrun

cosmetics: asm volatile --> asm volatile

Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

85074d3c 03/19/2008 06:17 AM Zuxy Meng

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

2119bb8f 03/18/2008 04:29 PM Benoit Fouet

revert r12489.

Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk

6544f48f 03/18/2008 03:27 PM Zuxy Meng

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

7ce68923 03/10/2008 06:42 PM Diego Biurrun

misc spelling fixes

Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk

27af15dc 02/15/2008 02:58 PM Diego Biurrun

prettyprinting cosmetics

Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk

89ef2c29 02/01/2008 01:33 AM Michael Niedermayer

Merge declaration and initialization.

Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b21bdab 10/17/2007 09:37 AM Diego Biurrun

Add FFMPEG_ prefix to all multiple inclusion guards.

Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk

ddb8ebe7 08/11/2007 09:59 PM Aurelien Jacobs

add a new av_clip_int16() function to libavutil

Originally committed as revision 10076 to svn://svn.ffmpeg.org/ffmpeg/trunk

b9c684a2 08/11/2007 09:52 PM Aurelien Jacobs

ensure av_noinline is always defined

Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk

b6c748ed 08/09/2007 12:12 AM Roman Shaposhnik
  • Making [START|STOP]_TIMER work on architectures that support gethrtime()

Originally committed as revision 9998 to svn://svn.ffmpeg.org/ffmpeg/trunk

f70c2739 06/13/2007 11:09 AM Marc Hoffman

Blackfin - read_time primitive
note this primitive currently uses a union to concatenate 2x32bit registers because of poor compiler support
around DImode and asm.

Originally committed as revision 9302 to svn://svn.ffmpeg.org/ffmpeg/trunk

90b5b51e 06/12/2007 06:50 PM Diego Biurrun

misc typo fixes

Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk

154e30f6 05/30/2007 09:32 AM Carl Eugen Hoyos

rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk

792098c2 03/12/2007 02:45 PM Panagiotis Issaris

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

0d8f16ac 03/09/2007 03:18 PM Panagiotis Issaris

Fix typo in Doxygen comments.

Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7f65469 03/05/2007 01:51 PM Panagiotis Issaris

Move unaltered av_freep() comments to the header file.

Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk

f690ee71 03/05/2007 01:50 PM Panagiotis Issaris

Move unaltered av_free() comments to the header file.

Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk

d6def91a 03/05/2007 01:46 PM Panagiotis Issaris

Move unaltered av_realloc() comments to the header file.

Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk

9a070299 03/05/2007 01:45 PM Panagiotis Issaris

Move unaltered av_malloc() comments to the header file.

Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk

738940e8 02/25/2007 07:30 PM Måns Rullgård

remove [U]INT64_C definition

Originally committed as revision 8127 to svn://svn.ffmpeg.org/ffmpeg/trunk

f66e4f5f 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk

410bf273 02/16/2007 09:19 PM Michael Niedermayer

av_noinline

Originally committed as revision 7992 to svn://svn.ffmpeg.org/ffmpeg/trunk

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....

9b0dfb27 02/12/2007 02:25 PM Michael Niedermayer

slightly improve *_TIMER

Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0b456ba 01/13/2007 04:01 AM Christophe Mutricy

Avoid "HAVE_CMOV not defined" warning.
patch by Christophe Mutricy, xtophe nxtelevision com

Originally committed as revision 7443 to svn://svn.ffmpeg.org/ffmpeg/trunk

849f1035 12/08/2006 12:35 AM Måns Rullgård

rename always_inline to av_always_inline and move to common.h

Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk

1845bf1f 12/07/2006 08:06 PM Måns Rullgård

merge #ifdef HAVE_AV_CONFIG_H sections

Originally committed as revision 7254 to svn://svn.ffmpeg.org/ffmpeg/trunk

a77caa4d 12/07/2006 07:27 PM Måns Rullgård

fix mingw shared build, and get rid of FF_IMPORT_ATTR

Originally committed as revision 7253 to svn://svn.ffmpeg.org/ffmpeg/trunk

8da9266c 12/06/2006 11:46 PM Måns Rullgård

use the standard INT64_C() macro for 64-bit constants

Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd107896 12/06/2006 11:23 PM Måns Rullgård

move more macros to internal.h

Originally committed as revision 7239 to svn://svn.ffmpeg.org/ffmpeg/trunk

5403f857 12/06/2006 09:27 PM Måns Rullgård

move some attribute macros to internal.h

Originally committed as revision 7238 to svn://svn.ffmpeg.org/ffmpeg/trunk

c48e633b 12/06/2006 08:31 PM Måns Rullgård

remove 'restrict' definition, it is always #defined in config.h

Originally committed as revision 7237 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6c36725 12/02/2006 02:19 PM Diego Biurrun

spelling cosmetics: cliped --> clipped

Originally committed as revision 7208 to svn://svn.ffmpeg.org/ffmpeg/trunk

40a08c7e 11/19/2006 09:43 AM Reimar Döffinger

Correct GET/PUT_UTF8 comment: the get/put functions might be called up
to 7 times, though only up to 4 times for valid utf-8 values.

Originally committed as revision 7124 to svn://svn.ffmpeg.org/ffmpeg/trunk

a99cfb0d 11/19/2006 09:33 AM Reimar Döffinger

Fix typo in comment

Originally committed as revision 7123 to svn://svn.ffmpeg.org/ffmpeg/trunk

576a85f7 11/14/2006 08:00 PM Måns Rullgård

remove workaround for missing inttypes.h

Originally committed as revision 7068 to svn://svn.ffmpeg.org/ffmpeg/trunk

81dc56e7 11/14/2006 04:02 AM Måns Rullgård

clean up inttypes.h and int_fastxx_t types detection

Originally committed as revision 7050 to svn://svn.ffmpeg.org/ffmpeg/trunk

d73427e3 11/06/2006 12:38 PM Guillaume Poirier

Add doxy comments for macro GET_UTF8
another fix in PUT_UTF8 doxy description

Originally committed as revision 6917 to svn://svn.ffmpeg.org/ffmpeg/trunk

34d33769 11/06/2006 10:39 AM Guillaume Poirier

Fix wrong params name in PUT_UTF8 doxy comments

Originally committed as revision 6913 to svn://svn.ffmpeg.org/ffmpeg/trunk

0e8c148b 11/06/2006 10:35 AM Guillaume Poirier

woops, fix missplaced doxy comment

Originally committed as revision 6912 to svn://svn.ffmpeg.org/ffmpeg/trunk

360932f7 11/06/2006 10:32 AM Zuxy Meng

Fix ASF format parser's broken UTF-16 string handling
1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c.
2. Make use of the macro in flacenc.c
Patch by Zuxy Meng % zuxy P meng A gmail P com %
Original thread:
Date: Nov 5, 2006 9:56 AM...

523fc7c1 11/01/2006 10:37 PM Steve L'Homme

Define fallback for PRIX64, taken from a patch by Steve L'Homme.

Originally committed as revision 6867 to svn://svn.ffmpeg.org/ffmpeg/trunk

1345f4ed 11/01/2006 09:28 PM Diego Biurrun

Rename SWAP macro to FFSWAP.

Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk

3cd52279 11/01/2006 06:34 PM Diego Biurrun

Use common define for x86_32 and x86_64.

Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk

419b8784 11/01/2006 05:01 PM Diego Biurrun

Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change
the semantics of ARCH_X86 to mean both 32 and 64 bits.

Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk

94e4c3a3 10/20/2006 05:53 PM Guillaume Poirier

Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)

Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk

02305ff3 10/11/2006 10:59 PM Diego Biurrun

Rename SIGN macro to FFSIGN to avoid clashes with system headers.

Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk

a22b7322 10/10/2006 07:49 AM Diego Biurrun

Move sign macro to libavutil.

Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

79e47000 09/25/2006 03:23 PM Luca Barbato

move memory functions from avcodec to avutil

Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e06f20a 09/21/2006 06:00 PM Loren Merritt

remove a division from STOP_TIMER

Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e611a0e 09/21/2006 05:48 PM Loren Merritt

simplify asm mid_pred, as suggested by michaelni.

Originally committed as revision 6314 to svn://svn.ffmpeg.org/ffmpeg/trunk

93a319f1 09/15/2006 12:36 AM Loren Merritt

asm implementation of mid_pred.
20% faster huffyuv decoding, 4% faster ffv1.

Originally committed as revision 6254 to svn://svn.ffmpeg.org/ffmpeg/trunk

04d7f601 09/10/2006 02:02 PM Diego Biurrun

Add official LGPL license headers to the files that were missing them.

Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk

98145875 08/31/2006 07:14 PM Luca Barbato

Align the input buffer in ffplay, introduce a public macro for aligned declarations
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly

Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk

955ab9a4 08/20/2006 10:42 AM Michael Niedermayer

attribute_deprecated

Originally committed as revision 6033 to svn://svn.ffmpeg.org/ffmpeg/trunk

67eca72d 08/19/2006 08:55 PM Michael Niedermayer

SWAP

Originally committed as revision 6030 to svn://svn.ffmpeg.org/ffmpeg/trunk

aab77159 07/21/2006 07:36 PM Reimar Döffinger

do not include bswap.h in common.h for external programs, since the former
is not installed currently.

Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk

cea8f6f3 07/19/2006 07:28 AM Luca Abeni

Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil

Originally committed as revision 5784 to svn://svn.ffmpeg.org/ffmpeg/trunk

05020c89 07/16/2006 04:32 PM Reimar Döffinger

Split common.h in two parts, purely internal stuff (internal.h) and things
available to external programs as well.
Also make more things available to external programs like GET_UTF8, MKTAG etc.

Originally committed as revision 5765 to svn://svn.ffmpeg.org/ffmpeg/trunk

29e4710a 07/14/2006 12:28 AM Måns Rullgård

indent

Originally committed as revision 5739 to svn://svn.ffmpeg.org/ffmpeg/trunk

0339e2b4 07/14/2006 12:25 AM Måns Rullgård

simplify

Originally committed as revision 5738 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d3d62b3 07/14/2006 12:20 AM Måns Rullgård

simplify

Originally committed as revision 5737 to svn://svn.ffmpeg.org/ffmpeg/trunk

1dd59061 07/14/2006 12:04 AM Måns Rullgård

remove impossible #ifdef case

Originally committed as revision 5736 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2b48c77 07/13/2006 11:47 PM Måns Rullgård

remove old msvc cruft

Originally committed as revision 5735 to svn://svn.ffmpeg.org/ffmpeg/trunk

43756fa1 07/13/2006 11:10 PM Måns Rullgård

remove redundant #include <math.h>

Originally committed as revision 5734 to svn://svn.ffmpeg.org/ffmpeg/trunk

2f30a81d 07/11/2006 09:45 PM Diego Biurrun

CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or MINGW32 instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7facfbf 07/11/2006 02:17 PM Diego Biurrun

cosmetics: Fix indentation after last commit.

Originally committed as revision 5710 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bbefe6b 07/11/2006 02:15 PM Diego Biurrun

Remove old MSVC remnants.

Originally committed as revision 5709 to svn://svn.ffmpeg.org/ffmpeg/trunk

18769c0a 07/09/2006 10:56 AM Michael Niedermayer

cosmetic

Originally committed as revision 5690 to svn://svn.ffmpeg.org/ffmpeg/trunk

a7702890 07/09/2006 10:33 AM Michael Niedermayer

remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)

Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d82b0dd 07/07/2006 10:43 PM Michael Niedermayer

moving utf8 reading function to libavutil

Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk

24dd8c61 07/05/2006 08:32 PM Luca Barbato

Make ffmpeg better support pic - from Diego Pettenò <>

Originally committed as revision 5631 to svn://svn.ffmpeg.org/ffmpeg/trunk

959e63c9 07/04/2006 10:39 PM Måns Rullgård

floorf() is not used, and causes warnings on Solaris

Originally committed as revision 5617 to svn://svn.ffmpeg.org/ffmpeg/trunk

72468a03 06/30/2006 07:45 AM Diego Pettenò

make sure NDEBUG is not defined already before defining it
Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 1:09 AM
Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition

Originally committed as revision 5557 to svn://svn.ffmpeg.org/ffmpeg/trunk

77177335 05/01/2006 12:27 AM Aurelien Jacobs

document clip functions

Originally committed as revision 5338 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a1fda0a 04/30/2006 05:49 PM Panagiotis Issaris

clip_uint8 should return an uint8_t instead of an int (patch by Panagiotis Issaris < takis.issaris at uhasselt.be >)

Originally committed as revision 5336 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2fbcb3b 04/01/2006 10:29 PM Måns Rullgård

#define [U]INT32_{MIN,MAX} if missing

Originally committed as revision 5261 to svn://svn.ffmpeg.org/ffmpeg/trunk

5f112e1f 03/06/2006 10:06 PM Sam Hocevar

Proper mangling information for symbols in OS X Mach-O shared objects.
patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org

Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk

320d060a 01/30/2006 12:22 AM Diego Biurrun

On MinGW it is not possible to build shared and static libraries at once.
Add means to disable building the static libraries and fix a few issues
with the MinGW build.
All the hard work done by Alexander Strasser, minor changes by myself.

Originally committed as revision 4909 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac44871c 01/22/2006 06:34 PM Gildas Bazin

WinCE cross-compilation support
patch by Gildas Bazin < gbazin @** altern **. org >

Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk