Justin Ruggles
1b7bc4a245
Add 3 channel layout convenience macros.
...
Originally committed as revision 18609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 18:51:01 +00:00
Jai Menon
b24bbbb4da
Introduce codec id for MPEG-4 ALS and associate it with corresponding
...
AudioObjectType. Also bump libavcodec minor version.
Originally committed as revision 18591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 19:17:14 +00:00
Reimar Döffinger
238ef6dadd
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
...
thus avoiding potential memleaks and pointless memcpys.
Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 13:17:37 +00:00
John Fletcher
dae2434928
Fix documentation for avcodec_encode_audio(), in the case of PCM audio
...
the output buffer size may be less than FF_MIN_BUFFER_SIZE.
Patch by John Fletcher john.surname AT rd . bbc . co . uk.
Originally committed as revision 18449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 21:14:29 +00:00
Reimar Döffinger
80d403fc19
Get rid of av_destruct_packet_nofree and use NULL instead.
...
It is still used in comparisons to keep ABI compatibility.
Originally committed as revision 18431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 12:42:29 +00:00
Reimar Döffinger
feb993e579
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
...
and ensures the following padding is correctly initialized to 0.
Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:19:12 +00:00
Robert Swain
7b356d3951
Clarify which time_base the relevant members of AVPacket use
...
Originally committed as revision 18371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 01:45:44 +00:00
Thilo Borgmann
cdd8930e6a
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
...
AVPacket structure now resides also.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.
Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 18:31:14 +00:00
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 15:59:50 +00:00
Thilo Borgmann
18c915eef4
Move AVPacket up a bit, so that structs/functions that include AVPacket can
...
themselves be reasonably positioned.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see mailinglist thread
"[FFmpeg-devel] Google Summer of Code participation".
Originally committed as revision 18350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 15:37:26 +00:00
Justin Ruggles
8613af0a65
Add convenience macros for 5.0/5.1 back speaker configurations.
...
Originally committed as revision 18339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-06 01:07:09 +00:00
Stefano Sabatini
6b4343616c
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
...
with libswscale.
Originally committed as revision 18330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-04 13:20:53 +00:00
Thilo Borgmann
fabd2469f1
Move AVPacket declaration from avformat.h to avcodec.h.
...
Patch by Thilo Borgmann thilo dot borgmann at googlemail _dot_ com.
Originally committed as revision 18317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 19:53:53 +00:00
David Conrad
710441c2f6
Add SSE4 detection support
...
Originally committed as revision 18302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01 09:11:32 +00:00
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 22:50:19 +00:00
Kostya Shishkov
c21fbefb9d
Add AURA 1 and 2 codec IDs and register their FOURCCs
...
Originally committed as revision 18141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 07:40:22 +00:00
Stefano Sabatini
d89f692f0e
Extend the behavior of avcodec_get_pix_fmt(), if it cannot find a
...
pixel format for the provided name, make it look for the native endian
variant of the name.
Originally committed as revision 18130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 22:43:46 +00:00
Stefano Sabatini
a61ec8e7ae
Globally prefer enum PixelFormat over int when it makes sense.
...
Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 22:24:44 +00:00
Diego Biurrun
2bbd85719c
Remove deprecated functions and structures on next version bump.
...
Originally committed as revision 18110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 13:51:29 +00:00
Reimar Döffinger
899a8fa1cb
Fix avpicture_get_size for non-paletted formats with a helper palette
...
to not include the size of that palette.
Also clarify its documentation.
Originally committed as revision 18106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 10:25:20 +00:00
Gwenole Beauchesne
952e2083bc
Rename hwaccel_data_private to hwaccel_picture_private.
...
Originally committed as revision 18071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 12:04:58 +00:00
Ramiro Polla
9ba4821d93
Split TrueHD decoder from MLP
...
Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:23:39 +00:00
Gwenole Beauchesne
1aea701830
Amend AVCodecContext with hwaccel_context (HW accelerator context).
...
This is needed for some HW accelerators that require a context that
FFmpeg can't instantiate itself. e.g. display-dependent data from
VA API and VDPAU.
Originally committed as revision 18025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17 12:43:09 +00:00
Gwenole Beauchesne
cd823ff950
Use av_mallocz() to initialize hwaccel_data_private.
...
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:25:00 +00:00
Gwenole Beauchesne
68e5d5235e
Add private HW accel data infrastructure.
...
Originally committed as revision 17899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 08:04:41 +00:00
Vitor Sessak
616e899c43
VQF demuxer
...
Originally committed as revision 17866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 22:42:09 +00:00
Ivan Schreter
b283ba26ce
Add handling of frame position in the parser.
...
Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:35:06 +00:00
Michael Niedermayer
3797c74ba5
Add ticks_per_frame, this should hopefully fix the regressions caused
...
by the time_base change.
Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 23:47:32 +00:00
Carl Eugen Hoyos
5fe2a515f8
Completed documentation of reference field.
...
Originally committed as revision 17597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:38:51 +00:00
Ivan Schreter
27ca0a79c9
Add timestamp computation if values are exported by decoder.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:19:09 +00:00
Ivan Schreter
810c451b02
Change duration computation to use time_base instead of TB/2.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 20:17:02 +00:00
Gwenole Beauchesne
40e5d31b57
More approved hunks for VAAPI & our new and cleaner hwaccel API.
...
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
Originally committed as revision 17540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 13:44:51 +00:00
Ivan Schreter
346db3ef7f
Use context variable repeat_pict for frame duration computation and
...
document this new use.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:11:47 +00:00
Ivan Schreter
b1fa494205
Add convergence_duration to AVCodecParserContext.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:35:59 +00:00
Peter Ross
9bf1b72405
Add AVERROR_EOF.
...
Originally committed as revision 17455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 12:18:09 +00:00
Ivan Schreter
6363af44da
Add key_frame to AVCodecParserContext, used in libavformat.
...
Initialized to -1 in parser.c for backward compatibility.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:46:05 +00:00
Stefano Sabatini
c1b0210115
Improve grammar: "X next after Y" -> "next X after Y".
...
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:10 +00:00
Stefano Sabatini
0334f79994
Document av_codec_next().
...
Originally committed as revision 17333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:02:07 +00:00
Ivan Kalvachev
24b1583a62
Another attempt to clarify draw_horiz_band() usage.
...
Originally committed as revision 17289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:22:55 +00:00
Diego Biurrun
2d7b05601a
Attempt to clarify draw_horiz_band description and fix two random typos.
...
Originally committed as revision 17282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:00:26 +00:00
Ivan Kalvachev
dd4e297d94
More clarification for draw_horiz_band() in hwaccell mode.
...
Originally committed as revision 17281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:52:18 +00:00
Ivan Kalvachev
2661ba4b09
Document that ff_draw_horiz_band() could be used as hwaccell callback.
...
Originally committed as revision 17277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:07:52 +00:00
Baptiste Coudurier
d1e3c6fd40
extend resampling API, add S16 internal conversion
...
Originally committed as revision 17163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 22:57:10 +00:00
Michael Niedermayer
990058bdc7
Try to doxyfy av_resample_init(). I hope I did not misremember anything as I
...
just briefly checked the source.
Originally committed as revision 17100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 15:49:06 +00:00
Michael Niedermayer
3136fcf45e
Move doxy for public resample2 functions to the public header.
...
Originally committed as revision 17099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 15:31:08 +00:00
Michael Niedermayer
eb8a25c895
Clarify has_b_frames doxy.
...
Originally committed as revision 17063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:56:33 +00:00
Stefano Sabatini
9d385cfec4
Drop the deprecated function register_avcodec() at the next major
...
version bump.
Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:54:50 +00:00
Stefano Sabatini
9be26823b9
Replace the calls to the deprecated function register_avcodec() with
...
corresponding calls to avcodec_register().
Originally committed as revision 17027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:50:54 +00:00
Stefano Sabatini
85662f4935
Rename register_avcodec() as avcodec_register() and deprecate the old
...
function name.
Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:46:15 +00:00
Jai Menon
9a77d59a89
Use libopenjpeg for jpeg2k decoding.
...
Patch by Jaikrishnan Menon
Originally committed as revision 17017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 11:49:31 +00:00