| Branch: | Revision:

ffmpeg / libavutil / avutil.h @ 08675bb3

History | View | Annotate | Download (3.71 KB)

# Date Author Comment
e5272e72 05/05/2011 04:38 PM Stefano Sabatini

eval: add sqrt function for computing the square root

ffb5a0d5 04/30/2011 10:26 PM Michael Niedermayer

Merge commit '85770f2a2651497861ed938efcd0df3696ff5e45'

  • commit '85770f2a2651497861ed938efcd0df3696ff5e45':
    AVOptions: make default_val a union, as proposed in AVOption2.
    Move ff_dynarray_add to lavu and make it public.
    lavf: remove duplicate assignment in avformat_alloc_context....
35ceaa73 04/29/2011 03:34 PM Anton Khirnov

Move ff_dynarray_add to lavu and make it public.

d7e5aeba 04/27/2011 01:51 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (23 commits)
    ac3enc: correct the flipped sign in the ac3_fixed encoder
    Eliminate pointless '#if 1' statements without matching '#else'.
    Add AVX FFT implementation.
    Increase alignment of av_malloc() as needed by AVX ASM....
bebe72f4 04/26/2011 06:38 AM Stefano Sabatini

lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums

Also deprecate av_get_pict_type_char() in favor of

The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against...

efb5fa79 04/20/2011 02:48 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (37 commits)
    In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function.
    lavc: remove reference to opt.h from Makefile.
    prefer avio_check() over url_exist()...
9e5c62c9 04/19/2011 05:04 PM Anton Khirnov

lavu: remove FF_API_OLD_IMAGE_NAMES cruft

516fb5e4 04/19/2011 05:03 PM Anton Khirnov

lavu: remove FF_API_OLD_EVAL_NAMES cruft

139f3ac4 04/18/2011 06:19 PM Anton Khirnov

Bump major versions of all libraries.

They've accumulated enough new APIs and corresponding deprecated cruft.

This breaks API and ABI.

5ae4251c 04/10/2011 07:24 AM Stefano Sabatini

eval: add support for trunc, ceil, and floor functions

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

73389754 04/10/2011 02:44 AM Peter Ross

pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

PIX_FMT_BGR48LE is used by PhantomCINE demuxer.

Signed-off-by: Luca Barbato <>

25601bc5 04/05/2011 01:34 PM Stefano Sabatini

eval: add support for trunc, ceil, and floor functions

Signed-off-by: Stefano Sabatini <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

e309fdc7 03/17/2011 02:11 PM Peter Ross

Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Signed-off-by: Michael Niedermayer <>

0ef52334 02/18/2011 06:52 PM Anton Khirnov

lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixes

Signed-off-by: Janne Grunau <>
(cherry picked from commit 09d171b98879f58be1a766d5f277e131b18e98a1)

09d171b9 02/17/2011 02:40 PM Anton Khirnov

lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixes

Signed-off-by: Janne Grunau <>

7ffe76e5 02/16/2011 10:00 PM Reinhard Tartler

Merge libavcore into libavutil

Done to keep ABI compatible. Otherwise this is just silly

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

e921bd57 02/04/2011 02:09 AM Anton Khirnov

Add forgotten minor API bumps and APIChanges entries

The bumps are for adding version.h and avio_{get/put}_str functions in
lavf and making av_dlog public in lavu.

Signed-off-by: Janne Grunau <>

4868bebe 02/02/2011 09:42 PM Anton Khirnov

Add forgotten minor API bumps and APIChanges entries

The bumps are for adding version.h and avio_{get/put}_str functions in
lavf and making av_dlog public in lavu.

Signed-off-by: Janne Grunau <>

0328b9ea 12/22/2010 02:13 PM Stefano Sabatini

Add av_file_map() and av_file_unmap() functions.

Originally committed as revision 26073 to svn://

0bc55f5d 12/19/2010 09:01 AM Nicolas George


Originally committed as revision 26056 to svn://

bb4afa13 12/04/2010 12:56 PM Stefano Sabatini

Deprecate avcodec_pix_fmt_string() in favor of
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.

Originally committed as revision 25879 to svn://

d2af7205 11/08/2010 02:06 PM Stefano Sabatini

Use hierarchic names convention (prefix them with av_expr) for the
eval API.

More grep-friendly and more consistent with the rest of the FFmpeg

Originally committed as revision 25708 to svn://

20fcd079 11/03/2010 07:44 PM Stefano Sabatini

Implement isnan() function evaluation.

Originally committed as revision 25666 to svn://

4cabef0a 11/01/2010 09:34 AM Stefano Sabatini

Make strmatch() return 1 only if the string compared against the
prefix does not contain other characters which may belong to an

This allows to distinguish for example to have different constants
with the same prefix (e.g. "foo" and "foobar")....

63b16303 11/01/2010 09:34 AM Stefano Sabatini

Fix evaluation of expressions of the form: E1;E2.

The pointer to the char ';' has to be increased before to evaluate

Originally committed as revision 25623 to svn://

4ddade62 10/08/2010 11:42 PM Stefano Sabatini

Install libavutil/opt.h, its API is public.

Fix issue #2265.

Originally committed as revision 25420 to svn://

dec11269 10/05/2010 01:43 AM Michael Niedermayer

Make av_cmp_q() work with infinities and NAN.

Originally committed as revision 25338 to svn://

6b4ed22f 10/04/2010 01:41 PM Stefano Sabatini

Make av_d2q() manage the case in which the value to convert is inf.

Originally committed as revision 25332 to svn://

b926b628 09/30/2010 09:57 PM Michael Niedermayer

av_assert() system.
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks

Originally committed as revision 25278 to svn://

c85eef4e 09/27/2010 10:09 PM Stefano Sabatini

Move av_set_options_string() from libavfilter to libavutil.

Originally committed as revision 25236 to svn://

372e2884 09/27/2010 04:23 PM Stefano Sabatini

Move av_get_token() from libavfilter to libavutil.

Originally committed as revision 25225 to svn://

41f87daa 09/27/2010 12:30 AM Stefano Sabatini

Bump version and update APIchanges after r25210.

Originally committed as revision 25216 to svn://

6ed04040 09/26/2010 02:25 PM Michael Niedermayer

Move AVOptions from libavcodec to libavutil

Originally committed as revision 25210 to svn://

1c1c80f0 09/24/2010 03:37 PM Michael Niedermayer

2nd try to fix av_log() repeated detection

Originally committed as revision 25174 to svn://

bc6f0af2 09/14/2010 02:45 PM Tomas Härdin

Add av_popcount() to libavutil/common.h and bump minor version

Originally committed as revision 25120 to svn://

c6c98d08 09/08/2010 03:07 PM Stefano Sabatini

Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().

Originally committed as revision 25076 to svn://

7160bb71 09/04/2010 09:59 AM Stefano Sabatini

Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.

Originally committed as revision 25040 to svn://

4f2d2e4e 08/17/2010 06:25 PM Stefano Sabatini

Define macro AV_NE() and use it in libavdevice.

Help further refactoring.

Originally committed as revision 24814 to svn://

44852477 07/22/2010 10:05 PM Stefano Sabatini

Add the M_PHI constant, contains an approximation of the golden ratio
irrational number.

Originally committed as revision 24439 to svn://

617d56ca 07/11/2010 11:49 AM Stefano Sabatini

Update lavu minor and add APIchanges entry after r24174 (add bswap.h
and intreadwrite.h API public interface).

Originally committed as revision 24190 to svn://

9699a96a 07/08/2010 10:13 PM Stefano Sabatini

Bump minor after read/write_line() to av_read/write_image_line()
rename, done in r24101.

Originally committed as revision 24128 to svn://

08b317a2 07/02/2010 02:23 PM Ramiro Polla

avutil: bump minor version for r23985 (install lfg.h)

Originally committed as revision 23997 to svn://

2b4abbd6 07/01/2010 06:49 PM Stefano Sabatini

Move colorspace.h from libavcodec to libavutil.
Avoid a compile-time dependency of the pad filter on libavcodec.

Originally committed as revision 23940 to svn://

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://

276b45af 06/13/2010 09:04 AM Stefano Sabatini

Add APIchanges entry and bump minor after av_compare_mod() addition.

Originally committed as revision 23592 to svn://

0b99215c 06/05/2010 12:01 PM Stefano Sabatini

Move eval.c and eval.h from libavcodec to libavutil, and make the eval
API public.

Originally committed as revision 23485 to svn://

6532c6f9 06/05/2010 11:28 AM Stefano Sabatini

Bump lavu minor and add APIchanges entry after AV_BASE64_SIZE()

Originally committed as revision 23484 to svn://

99778631 05/23/2010 09:45 AM Martin Storsjö

Bump libavutil minor version for the addition of av_get_random_seed

Originally committed as revision 23255 to svn://

2c1bb265 05/19/2010 10:50 PM Michael Niedermayer

Make it possible for a log context to keep track of its parent context.
This is usefull to keep track and display relations where things are a
bit more complex (like AVProtocols or demuxers used by demuxers and such)

Originally committed as revision 23199 to svn://

3fe1ec39 05/08/2010 08:41 PM Michael Niedermayer

Add means to adjust the log level per context.

Originally committed as revision 23059 to svn://

e2959f45 05/05/2010 09:44 PM Stefano Sabatini

Make av_strerror() return -1 even in the case when av_strerror_r() is
not defined.

This allows applications to check if av_strerror() cannot provide a
meaningful representation for the provided error code, without having
to actually check the filled string....

2308b6c1 04/28/2010 08:00 PM Michael Niedermayer

Add version to AVClass so we can add to and use fields of AVClass without ABI issues.

Originally committed as revision 22987 to svn://

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

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://

11491503 03/30/2010 11:31 PM Stefano Sabatini

Move AVMediaType from libavcodec to libavutil.

This allows applications/libraries which require that symbol
(e.g. libavfilter) to be compiled without to depend on the presence of
libavcodec/avcodec.h, which may not be installed.

Originally committed as revision 22736 to svn://

87958234 03/25/2010 10:46 PM Stefano Sabatini

Implement av_strerror().

Originally committed as revision 22684 to svn://

60c144f7 03/13/2010 09:43 AM Stefano Sabatini

Move error code definitions from libavcodec/avcodec.h to

Error code definitions and handling code belong to libavutil, where
they can be shared by all the libav* libraries.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Move error codes definitions from lavc to lavu...

c18fb631 03/06/2010 08:07 PM Stefano Sabatini

Bump minor number and add APIchanges entry after the inclusion of

Originally committed as revision 22254 to svn://

4b83fc0f 03/03/2010 05:31 PM Vitor Sessak

Plug memory leak in NUT muxer and demuxer

Originally committed as revision 22174 to svn://

b687c1aa 02/07/2010 05:13 PM Michael Niedermayer

Bump minor for av_compare_ts()

Originally committed as revision 21673 to svn://

80a07f6e 01/30/2010 06:50 PM Stefano Sabatini

Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().

Originally committed as revision 21545 to svn://

87fec35d 01/27/2010 05:38 PM Måns Rullgård

Add macro AV_JOIN() for joining two tokens into one

Originally committed as revision 21482 to svn://

d408b77a 01/22/2010 03:25 AM Måns Rullgård

Add an AV_PRAGMA() macro for constructing _Pragma() directives

The seemingly equivalent _Pragma(AV_STRINGIFY(x)) is not accepted
by some compilers.

Originally committed as revision 21378 to svn://

41600690 01/03/2010 02:31 PM Stefano Sabatini

Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
XXX_license() functions, consistent with the rest of FFmpeg.

Originally committed as revision 21005 to svn://

277c7332 12/13/2009 05:09 PM Michael Niedermayer

Add a function to convert a number to a av_malloced string.

Originally committed as revision 20829 to svn://

3ba69a15 12/12/2009 04:24 PM Stefano Sabatini

Implement av_bmg_next(), a Box-Muller Gaussian random generator.

See the thread:
"[FFmpeg-devel] [PATCH] Box-Muller gaussian generator".

Originally committed as revision 20808 to svn://

382cb115 11/26/2009 08:58 PM Stefano Sabatini

Make av_pix_fmt_descriptors use the same pixel format names as defined
in libavcodec/imgconvert.c.

Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.

Originally committed as revision 20624 to svn://

74a0059f 11/24/2009 11:33 PM Stefano Sabatini

Make the pixdesc API public.

Originally committed as revision 20603 to svn://

c1736936 11/18/2009 05:15 PM Diego Biurrun

Add functions to return library license and library configuration.

Originally committed as revision 20547 to svn://

91cc5d37 11/09/2009 09:11 AM Francesco Lavra

Move ff_reverse in libavcodec to av_reverse in libavutil.

Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 20484 to svn://

7b09db35 04/02/2009 11:22 PM Olivier Guilyardi

Implement av_fifo_space().

Patch by Olivier Guilyardi list et samalyse DOT c0m.

Originally committed as revision 18321 to svn://

6e08ca9c 03/22/2009 10:50 PM Stefano Sabatini

Make the pixel formats which were defined as macros:

defined as enum PixelFormat values, and viceversa make:

defined as macros, also resort accordingly the enum PixelFormat...

f82674e5 03/21/2009 11:08 PM Stefano Sabatini

Change the RGB5X5/BGR5X5 pixel format defines so that we have little
endian and big endian variants instead of native-endian ones.

This patch breaks API/ABI backward-compatibility.

Originally committed as revision 18133 to svn://

49ceb58b 03/08/2009 02:33 PM Michael Niedermayer

Bump major version of libavutil due to FIFO fixes.
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.

Originally committed as revision 17871 to svn://

04331dea 02/22/2009 02:27 PM Stefano Sabatini

Split avutil.h, move all the pixel format definitions to the new
dedicated file pixfmt.h.

Originally committed as revision 17528 to svn://

50ded3fd 02/22/2009 01:48 PM Michael Niedermayer

Add note about big vs. little endian.

Originally committed as revision 17525 to svn://

88c21a6f 02/22/2009 12:55 AM Peter Ross


Originally committed as revision 17510 to svn://

22009729 02/12/2009 02:02 AM Diego Biurrun

Remove reference to renamed header file xvmc_render.h.

Originally committed as revision 17171 to svn://

6337178b 02/06/2009 12:59 PM Michael Niedermayer

Ensure that the palette is set in data1 for all 8bit formats.
Also document it.

Originally committed as revision 17018 to svn://

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://

bfe3676f 01/28/2009 11:03 PM Diego Biurrun

spelling/grammar/consistency review part II

Originally committed as revision 16848 to svn://

89c9ff50 01/28/2009 12:16 AM Diego Biurrun

spelling/grammar/consistency review part I

Originally committed as revision 16840 to svn://

c5b42f4a 01/20/2009 09:28 AM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16699 to svn://

b0973124 01/18/2009 10:50 PM Stefano Sabatini

Deprecate av_init_random() in favour of av_random_init(), with a more natural
name and order of parameters.

Originally committed as revision 16679 to svn://

9ce6c138 01/17/2009 11:13 AM Aurelien Jacobs

export gcd function as av_gcd()

Originally committed as revision 16653 to svn://

d37edddc 01/16/2009 02:14 AM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://

369122dd 01/04/2009 11:55 PM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://

c49d0e0f 10/15/2008 08:06 AM Benoit Fouet

Bump minor version after addition of FF_ARRAY_ELEMS macro.

Originally committed as revision 15623 to svn://

05b90fc0 09/25/2008 07:23 PM Stefano Sabatini

Implement av_nearer_q() and av_find_nearest_q_idx() functions.

Originally committed as revision 15415 to svn://

991945d0 09/04/2008 08:39 PM Michael Niedermayer

Fix typo.

Originally committed as revision 15199 to svn://

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

8257b835 08/19/2008 06:43 PM Stefano Sabatini

Implement av_fifo_realloc2().

Originally committed as revision 14846 to svn://

5af4f1f3 08/13/2008 04:01 PM Aurelien Jacobs

move M_PI definition along with other math definitions

Originally committed as revision 14727 to svn://

7f0026dd 08/08/2008 06:32 PM Stefano Sabatini

Implement avutil_version().

Originally committed as revision 14665 to svn://

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://

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

misc spelling fixes

Originally committed as revision 12410 to svn://

800c289a 02/26/2008 08:37 PM Måns Rullgård

less preprocessor magic in version number macros

Originally committed as revision 12246 to svn://

e97ac1e6 02/19/2008 10:50 PM Måns Rullgård

Clean up lib* version definitions

Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://

dd670ded 01/28/2008 05:23 PM Benoit Fouet

Remove integer.h inclusion.

Originally committed as revision 11654 to svn://