| Branch: | Revision:

ffmpeg / libavcodec / avcodec.h @ 4de339e2

History | View | Annotate | Download (139 KB)

# Date Author Comment
4de339e2 04/15/2011 04:01 PM Kostya Shishkov

introduce side information for AVPacket

Signed-off-by: Luca Barbato <>

567ad0e3 04/13/2011 07:14 PM Martin Storsjö

libavcodec: Mark AVCodec->priv_class const

This avoids warnings of this kind, everywhere priv_class
is initialized:

warning: initialization discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <>

9f5ddd1e 04/07/2011 04:11 PM Anton Khirnov

lavc: add a FF_API_REQUEST_CHANNELS deprecation macro

And hide request_channels AVOption under it.

4e3945fd 04/03/2011 06:43 AM Anton Khirnov

lavc: deprecate AVCodecContext.antialias_algo

It's been unused since mp3float decoder was added.

4a49d2d5 04/03/2011 06:43 AM Anton Khirnov

lavc: mark mb_qmin/mb_qmax for removal on next major bump.

They've been unused and deprecated for about five years.

ed5fcd60 04/02/2011 02:18 PM Anton Khirnov

lavc: deprecate rate_emu

It's not used anywhere and apparrently hasn't been for a very long time.

8ed2ae09 04/02/2011 02:17 PM Anton Khirnov

lavc: mark hurry_up for removal on next major bump

It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.

42315dab 03/28/2011 02:55 PM Kostya Shishkov

Chronomaster DFA decoder

Signed-off-by: Anton Khirnov <>

34b47d7c 03/25/2011 08:51 PM Justin Ruggles

Add audio_service_type field to AVCodecContext for encoding and reporting
of the service type in the audio bitstream.

3dd851c4 03/23/2011 01:48 AM Anton Khirnov

lavc: move the version macros to a new installed header.

Signed-off-by: Ronald S. Bultje <>

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

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

0697440c 03/14/2011 12:05 PM Peter Ross

Bitmap Brothers JV video decoder

Signed-off-by: Ronald S. Bultje <>

0215006a 03/12/2011 02:08 PM Hendrik Leppkes

VC1: Export profile/level

Signed-off-by: Mans Rullgard <>

aecd0a44 03/10/2011 11:05 PM Benjamin Larsson

Export profiles from the mpeg2 video decoder

Signed-off-by: Ronald S. Bultje <>

ccfcddb3 02/25/2011 08:24 PM Peter Ross

Bink version 'b' audio decoder

Signed-off-by: Ronald S. Bultje <>

938b6253 02/16/2011 09:34 AM Stefano Sabatini

Document audio_resample_close().

Signed-off-by: Janne Grunau <>

54955283 02/16/2011 09:33 AM Stefano Sabatini

Apply minor cosmetics fixes to the av_audio_resample_init() doxy.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Janne Grunau <>

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

55bad0c6 02/15/2011 02:20 PM Christophe Massiot

Pass VBV delay to the calling application via ctx

VBV delay is useful for T-STD compliance in some TS muxers. It is
certainly possible to retrieve it by parsing the output of FFmpeg, but
getting it from the context makes it simpler and less error-prone.

2a03e873 02/11/2011 09:58 PM Ronald S. Bultje

Add missing terminating backslash

e00f41d5 02/11/2011 12:47 PM Peter Ross

Bink version 'b' video decoder

Based on original patch by Kostya Shishkov

Signed-off-by: Janne Grunau <>

c0b102ca 02/09/2011 02:17 PM Alexander Strange

Deprecate avcodec_thread_init()

As a side effect of the last commit, avcodec_open() now calls it automatically,
so there is no longer any need for clients to call it.
Instead they should set AVCodecContext.thread_count.

avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the...

37b00b47 02/09/2011 02:17 PM Alexander Strange

Frame-based multithreading framework using pthreads

See doc/multithreading.txt for details on use in codecs.

Signed-off-by: Ronald S. Bultje <>

440b6169 02/08/2011 12:20 PM Janne Grunau

h264: define FF_PROFILE_H264_HIGH_444 to the correct value

It was removed in fe9a3fb since it had the wrong value. Add profile name
for it.

44ddfd47 02/07/2011 01:03 PM Kostya Shishkov

Xan4 decoder

Signed-off-by: Ronald S. Bultje <>

ed19fafd 02/06/2011 09:05 PM Sascha Sommer

pass QDMC extradata to the decoder

Makes playing QDMC files in MPlayer work when using the libavformat demuxer.
Problem was that the extradata was not passed from demuxer to decoder.

Signed-off-by: Ronald S. Bultje <>

f5b82f45 02/03/2011 11:38 AM Tomas Härdin

Add CODEC_ID_PRORES and bump lavc minor version

Signed-off-by: Mans Rullgard <>

fe9a3fbe 02/01/2011 07:37 PM Janne Grunau

h264: Add Intra and Constrained Baseline profiles to avctx.profile

d267b339 01/08/2011 09:22 PM Carl Eugen Hoyos

Lagarith decoder by Nathan Caldwell, saintdev at gmail

Originally committed as revision 26270 to svn://

81c623fa 01/07/2011 11:07 PM Michael Niedermayer

Deprecate reordered_opaque in favor of pkt_pts/dts

Originally committed as revision 26262 to svn://

1919feaf 01/07/2011 11:07 PM Michael Niedermayer

Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
to not mess up dts

Originally committed as revision 26261 to svn://

393cbb96 01/07/2011 11:07 PM Michael Niedermayer

Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts

Originally committed as revision 26260 to svn://

060ec0a8 01/07/2011 10:27 PM Anssi Hannula

Add av_get_profile_name() to get profile names.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26259 to svn://

f5a2d285 01/06/2011 10:34 PM Anssi Hannula

Export dca profile information.

Patch by Anssi Hannula anssi d hannula a iki d fi

Originally committed as revision 26250 to svn://

6fd96d1a 01/04/2011 11:53 AM Justin Ruggles

Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://

421167b0 01/01/2011 11:47 AM Stefano Sabatini

Fix typos.

Originally committed as revision 26183 to svn://

2c77c906 12/28/2010 11:52 PM Aurelien Jacobs

add SubRip decoder

Originally committed as revision 26119 to svn://

312056c5 12/28/2010 10:48 PM Ronald S. Bultje

Bump micro for VP8 emu-edge support.

Originally committed as revision 26118 to svn://

fd5b124d 12/27/2010 07:46 AM Anton Khirnov

Metadata demuxer.

Originally committed as revision 26102 to svn://

d09b5a86 12/18/2010 05:15 AM Ramiro Polla

bump lavcodec minor version for amr-wb decoder in r26051

Originally committed as revision 26052 to svn://

c61cdd0a 12/09/2010 05:27 PM Stefano Sabatini

libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

Originally committed as revision 25923 to svn://

475ae04a 12/07/2010 02:50 PM Michael Chinen

Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

Originally committed as revision 25914 to svn://

16cfc961 12/04/2010 07:06 PM Stefano Sabatini


Originally committed as revision 25886 to svn://

1c3b408f 12/04/2010 02:14 PM Stefano Sabatini

Add forgotten deprecation to avcodec_pix_fmt_string().

Originally committed as revision 25883 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://

e75229fa 12/04/2010 05:44 AM Michael Niedermayer

Try to improve reordered_opaque doxy.

Originally committed as revision 25876 to svn://

372c3f82 12/04/2010 04:00 AM Michael Niedermayer

Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavcodec.

Originally committed as revision 25872 to svn://

9d09ebf1 11/26/2010 10:11 AM Anatoly Nenashev

Mobotix .mxg demuxer

Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru

Originally committed as revision 25831 to svn://

63e8d976 11/21/2010 08:06 PM Stefano Sabatini

Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on

Originally committed as revision 25789 to svn://

176a6157 11/21/2010 07:28 PM Stefano Sabatini

Move audio channel API from libavcodec to libavcore.

Originally committed as revision 25787 to svn://

a08d918e 11/21/2010 10:21 AM Reimar Döffinger

Add a av_grow_packet function, to be used by code that merges
palette and video data packets to get rid of PaletteControl.

Originally committed as revision 25776 to svn://

c99f9b0a 11/14/2010 05:33 PM Aurelien Jacobs

minor bump and Changelog entry for r25747

Originally committed as revision 25753 to svn://

c716f917 11/14/2010 05:31 PM Aurelien Jacobs

minor bump and APIchanges for r25745

Originally committed as revision 25752 to svn://

cb2c971d 11/13/2010 01:57 PM Aurelien Jacobs

allow passing subtitles header between decoder and encoder

Originally committed as revision 25745 to svn://

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

Originally committed as revision 25730 to svn://

ed5d30d9 11/09/2010 10:22 PM Stefano Sabatini

Move internal function ff_set_systematic_pal() to libavcore, and
rename it ff_set_systematic_pal2().

Originally committed as revision 25712 to svn://

6f84cd12 11/02/2010 10:20 PM Stefano Sabatini

Add av_get_bits_per_sample_fmt() to libavcore/samplefmt.h and
deprecate av_get_bits_per_sample_format().

Originally committed as revision 25654 to svn://

d63e456a 11/02/2010 10:08 PM Stefano Sabatini

Implement functions:

in libavcore, and deprecate the corresponding libavcodec/audioconvert.h functions:

262d1c5d 11/02/2010 08:45 PM Stefano Sabatini

Move sample format definitions from libavcodec to libavcore.

Originally committed as revision 25652 to svn://

136e19e1 11/02/2010 08:32 AM Janne Grunau

Add single stream LATM/LOAS decoder

The decoder is just a wrapper around the AAC decoder.
based on patch by Paul Kendall { paul <ät> kcbbs gen nz }

Originally committed as revision 25642 to svn://

2aa72ecc 10/22/2010 06:09 PM James Zern

Add new -slices option and use it for libvpx and libx264.

Patch by James Zern, jzern google

Originally committed as revision 25551 to svn://

62784e37 10/02/2010 10:18 PM Benjamin Larsson

Add the CODEC_CAP_CHANNEL_CONF capability code and add
that flag to the dca codec. This capability when set
will make sure the codec will initialize the channel
configuration instead of trusting the container. This
fixes issue 2137 and issue 850.

Originally committed as revision 25320 to svn://

fbeabfca 10/01/2010 11:08 AM Tomas Härdin

Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF

Originally committed as revision 25280 to svn://

59b4e5ba 09/30/2010 08:40 PM Aurelien Jacobs

add FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag

Originally committed as revision 25277 to svn://

838dc131 09/30/2010 08:34 PM Aurelien Jacobs

add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API

Originally committed as revision 25276 to svn://

0743de4f 09/30/2010 08:31 PM Aurelien Jacobs

add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field

Originally committed as revision 25275 to svn://

448ce925 09/30/2010 08:12 PM Aurelien Jacobs

add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API

Originally committed as revision 25273 to svn://

164bc38c 09/30/2010 07:51 PM Aurelien Jacobs

add FF_API_VIDEO_OLD define to disable the deprecated decode_video API

Originally committed as revision 25272 to svn://

a377cfa6 09/30/2010 03:37 PM Aurelien Jacobs

add FF_API_AUDIO_OLD define to disable the deprecated decode_audio API

Originally committed as revision 25270 to svn://

dc51a72b 09/29/2010 03:05 PM Michael Niedermayer

Move allocation and init to defaults of the private codec contexts to avcodec_get_context_defaults3().
That way the user app can set codec specific parameters in the private context
before opening it.

Originally committed as revision 25257 to svn://

655c36b2 09/29/2010 11:59 AM Michael Niedermayer

Add AVClass for the private context, this will be used for codec specific options.

Originally committed as revision 25250 to svn://

59cb40b9 09/27/2010 10:17 PM Michael Chinen

Fix index_entries pos:
It was being set wrong for files with data_offset > 0

Patch by Michael Chinen, mchinen gmail

Originally committed as revision 25239 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://

66772498 09/26/2010 02:47 PM Martin Storsjö

Bump minor version for the addition of the G.722 encoder

Originally committed as revision 25211 to svn://

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

Move AVOptions from libavcodec to libavutil

Originally committed as revision 25210 to svn://

cba322d7 09/26/2010 01:56 PM Kostya Shishkov

Make WMV3 decoder attempt to decode WMVP as well

Originally committed as revision 25209 to svn://

e44c0156 09/24/2010 12:51 AM Stefano Sabatini

Deprecate av_opt_show() in favor of a new function av_opt_show2(),
which allows to specify only a subset of all the options to show.

Originally committed as revision 25166 to svn://

43836928 09/13/2010 10:08 PM Zhou Zongyi

Add R10k decoder.

Original patch by Zhou Zongyi, zhouzy A os pku edu cn, resubmitted by
James Darnley, james.darnley gmail, changes by me.

Originally committed as revision 25115 to svn://

58e37eaf 09/09/2010 07:21 PM Martin Storsjö

Add G.722 ADPCM audio decoder

Originally committed as revision 25086 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://

34017fd9 09/07/2010 09:23 PM Stefano Sabatini

Move av_picture_data_copy() to libavcore, and rename it

Originally committed as revision 25067 to svn://

9686abb8 09/07/2010 09:23 PM Stefano Sabatini

Reimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore,
and deprecate the old function.

Originally committed as revision 25064 to svn://

e16f217c 09/07/2010 07:15 PM Stefano Sabatini

Use new imgutils.h API names, fix deprecation warnings.

Originally committed as revision 25058 to svn://

8ef38f3f 09/05/2010 09:04 PM Stefano Sabatini

Add #ifndef around FF_API_MM_FLAGS.

The #ifndef is required to allow for example some automated regression
tests by simply configuring with: --extra-cflags="-DFF_API_FOO=0".

Originally committed as revision 25043 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://

eda7c983 09/01/2010 10:26 AM Aurelien Jacobs

add FF_API_PALETTE_CONTROL define to drop usage of AVPaletteControl
and delay this transition to v54 as it is currently not functional

Originally committed as revision 25016 to svn://

5da19b53 08/26/2010 12:38 AM S.N. Hemanth Meenakshisunda...

Implement avcodec_get_channel_layout().

Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu.

Originally committed as revision 24936 to svn://

e4d2ab52 08/23/2010 01:19 PM Tobias Bindhammer

removed an unnecessary blank line

Originally committed as revision 24882 to svn://

40c5ee99 08/23/2010 11:51 AM Tobias Bindhammer

added codec-ids for the a64 codec

Originally committed as revision 24877 to svn://

7906e2b9 08/12/2010 03:05 PM Stefano Sabatini

Implement av_get_image_linesize() and use it in

The new implementation is more generic, more compact and more correct.

Originally committed as revision 24786 to svn://

9f08d803 08/11/2010 02:18 PM S.N. Hemanth Meenakshisunda...

Add av_picture_data_copy() and reimplement av_picture_copy() as a
wrapper of it.

The new function is more generic, and does not depend on the
definition of the AVPicture struct.

Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + ""....

bf176f58 08/06/2010 09:36 AM Stefano Sabatini

Deprecate avcodec_check_dimensions() in favor of the new function
av_check_image_size() declared in libavcore/imgutils.h.

Originally committed as revision 24709 to svn://

e7bd48a6 07/29/2010 11:44 PM Stefano Sabatini

Move fill_image_linesize() and fill_image_data_ptr() from
libavcodec/imgconvert.c and make them public in libavcore/imgutils.h,
with the names av_fill_image_linesizes() and av_fill_image_pointers().

Originally committed as revision 24583 to svn://

126b638e 07/26/2010 11:12 PM Stefano Sabatini

Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in

This change also adds a linking-time dependency of libavcodec and of...

ba2c508d 07/24/2010 10:50 PM Aurelien Jacobs

add SubRip muxer and demuxer

Originally committed as revision 24488 to svn://

6526976f 07/19/2010 10:38 PM Ronald S. Bultje

Remove FF_MM_SSE2/3 flags for CPUs where this is generally not faster than
regular MMX code. Examples of this are the Core1 CPU. Instead, set a new flag,
FF_MM_SSE2/3SLOW, which can be checked for particular SSE2/3 functions that
have been checked specifically on such CPUs and are actually faster than...

beaa963c 07/18/2010 08:03 AM Peter Ross

ASCII/ANSI art decoder

Originally committed as revision 24299 to svn://

23940f14 07/11/2010 04:56 PM Justin Ruggles

Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.
Add AVLPCType enum.
Deprecate AVCodecContext.use_lpc.

Originally committed as revision 24199 to svn://

e1d7c883 07/11/2010 07:35 AM Reimar Döffinger

Add avsubtitle_free function.

Originally committed as revision 24185 to svn://

53128bc3 07/11/2010 05:06 AM Peter Ross

Fix trivial punctuation error

Originally committed as revision 24182 to svn://