Commit Graph

979 Commits

Author SHA1 Message Date
Reimar Döffinger
4bbe788ab7 Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
should use it, too).

Originally committed as revision 19221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-19 08:28:07 +00:00
Peter Ross
c63ea92bf2 Electronic Arts Madcow decoder
Originally committed as revision 19178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 02:19:41 +00:00
Jimmy Christensen
94d3d6a468 DPX (Digital Picture Exchange) image decoder
patch by Jimmy Christensen, jimmy ghost dk

Originally committed as revision 19163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 05:29:29 +00:00
Michael Niedermayer
f1b99cc63b Clarify (re)get_buffer() and CODEC_CAP_DR1 relation.
Originally committed as revision 19132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-07 19:30:54 +00:00
Baptiste Coudurier
ae8d21fb45 clarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen
Originally committed as revision 19128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-06 20:16:53 +00:00
Stefano Sabatini
bf7e799c9e Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.

See the thread: "[RFC] Should we use doxygen markup?".

Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-06 09:35:15 +00:00
Reimar Döffinger
8f3f2e0676 Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
Originally committed as revision 19078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 11:20:35 +00:00
Michael Niedermayer
da45d5b9c6 Clarify the input AVPacket for avcodec_decode*()
Originally committed as revision 19077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 10:25:21 +00:00
Andreas Öman
f988ce6cad Add a lock manager API to libavcodec.
Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.

Originally committed as revision 19025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 06:51:18 +00:00
Baptiste Coudurier
c0601d705c remove apparently unused real_pict_num from AVCodecContext
Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 21:40:10 +00:00
Baptiste Coudurier
ca0bb1c49c V210 Uncompressed 4:2:2 10-bit encoder and decoder
Originally committed as revision 18801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-12 19:56:48 +00:00
David Conrad
580a7465fb Add a chroma_sample_location field to define positioning of chroma samples
Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 04:34:23 +00:00
Daniel Verkamp
a1fd2bc350 Add 8088flex TMV video decoder.
Patch by Daniel Verkamp name at drv ... nu.

Originally committed as revision 18765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 21:57:20 +00:00
Michael Niedermayer
4ee6a5c161 Add colorspace fields to AVCodecContext.
Originally committed as revision 18743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 18:25:20 +00:00
Ramiro Polla
ce1d9c851c Export av_free_packet().
Originally committed as revision 18719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 12:06:34 +00:00
Vitor Sessak
859471565a Revert r18700, documentation of deprecated functions might be useful for
people trying to update to the new API.

Log of r18700:
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

Originally committed as revision 18708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 18:35:54 +00:00
Michael Niedermayer
859f9c0b47 Remove useless and outright wrong chatter from avcodec_encode_video().
Originally committed as revision 18705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:41:41 +00:00
Michael Niedermayer
aa04b9204e Remove redundant chatter from avcodec_encode_audio()
Originally committed as revision 18704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:39:30 +00:00
Michael Niedermayer
1885c76acf Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
Originally committed as revision 18703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:38:14 +00:00
Michael Niedermayer
4d24c24fcb Add multiframe note to avcodec_decode_video() too.
Originally committed as revision 18702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:36:23 +00:00
Michael Niedermayer
e5776422b4 Cleanup first paragraph of doxy of avcodec_decode_audio3().
Originally committed as revision 18701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:34:25 +00:00
Michael Niedermayer
3784411100 Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

Originally committed as revision 18700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:28:56 +00:00
Michael Niedermayer
ed57ef39e6 Remove confusing and redundant engrish chatter from avcodec_decode_video2().
Originally committed as revision 18699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:25:36 +00:00
Michael Niedermayer
97f9214342 Support reading packed YUV422 10bit samples from Sveriges Television AB (SVT)
which have AFAIK been created for the jvt:
ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_exports/SVT_YUV10_Exports_/NewMobCal_YUV10_720p5994_/
I have called the format v210x due to its similarity to v210, note though I have
not confirmed that v210x is different from actual v210 samples it just is
different from the description of v210 I am aware of.

Originally committed as revision 18654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 01:50:15 +00:00
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
Peter Ross
d8964f3afa Electronic Arts TQI decoder
Originally committed as revision 17002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 08:58:35 +00:00
Diego Biurrun
bad5537e2c 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://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Bitbreaker/METALVOTZE X
99b3812265 Fix documentation of the return value of avcodec_encode_video().
ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y

Originally committed as revision 16870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 00:45:34 +00:00
Diego Biurrun
c60208e7a1 Directly #include some required headers.
Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:11:10 +00:00
Måns Rullgård
74c4746344 Alpha: proper IDCT selection
Only select the Alpha IDCT if auto or explicitly requested.  Also
disable it in lowres mode.

Originally committed as revision 16666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:12 +00:00
Stefan Gehrer
055dc116fc added demuxer for FunCom ISS audio files,
extended ADPCM decoder by ISS specific IMA variant

Originally committed as revision 16658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 20:08:43 +00:00
Carl Eugen Hoyos
0d3d172f32 Remove CODEC_ID_H264_VDPAU.
Originally committed as revision 16649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 01:17:04 +00:00
Michael Niedermayer
7f507b2d9e Add CODEC_ID_MP1.
Originally committed as revision 16580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:13:08 +00:00
Michael Niedermayer
1b9bbf8674 Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
Originally committed as revision 16482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 19:55:08 +00:00
NVIDIA Corporation
369122dd77 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://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Michael Niedermayer
a6d18a0e6a Move metadata API from avcodec to avformat.
Originally committed as revision 16425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:58:49 +00:00
Michael Niedermayer
47146dfbf6 Generic metadata API.
avi is updated as example.
No version bump, the API still might change slightly ...
No update to ffmpeg.c as requested by aurel.

Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:48:37 +00:00
Michael Niedermayer
1104a26a42 Bump LIBAVCODEC_VERSION_MINOR due to AVSubtitle changes.
Originally committed as revision 16418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:21:48 +00:00
Michael Niedermayer
f656106f76 Add type, text and ass to AVSubtitleRect.
Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:20:50 +00:00
Michael Niedermayer
25b4c651a3 Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:17:18 +00:00
Michael Niedermayer
ebc466bb5f Replace some fixed width variable from AVSubtitle* by normal int.
Originally committed as revision 16415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 18:41:35 +00:00
Michael Niedermayer
2e94fb5d46 Future doxy for a few fields of AVSubtitleRect.
Originally committed as revision 16413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:58:25 +00:00
Michael Niedermayer
db4fac64db Change AVSubtitle.rects to an array of pointers so ABI does not break
when the size of AVSubtitleRect changes.

Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:54:48 +00:00
Michael Niedermayer
c66216ed5d Add enum AVSubtitleType
Originally committed as revision 16410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 15:15:03 +00:00
Reimar Döffinger
b870027a19 Bump minor number for many small improvements, tiff fax decoding,
AVCodecContext refs is set during decoding.

Originally committed as revision 16355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:22:21 +00:00
Michael Niedermayer
53d55e9ea3 Allow decoders to set AVCodecContext.refs.
Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 17:38:27 +00:00
Kostya Shishkov
6beb8b2612 RV30 decoder
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 18:06:01 +00:00
Stefano Sabatini
7b1454c439 Implement av_set_string3().
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:35:35 +00:00
Måns Rullgård
7eec43289a ARM: NEON optimised simple_idct
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:37 +00:00
Stefano Sabatini
d0a01fe84b Move documentation of avcodec_register_all() from allcodecs.c to
avcodec.h.

Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:38:03 +00:00
Stefano Sabatini
54c441c860 Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.

This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.

See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".

Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:34:12 +00:00
Stefano Sabatini
d1ca187fb6 Document register_avcodec().
Originally committed as revision 16132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:41 +00:00
Stefano Sabatini
7a961a46ba Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini
335a761a90 Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00
Stefano Sabatini
dbbec0c2f2 Make av_log_missing_feature an internal function, and change its name
to ff_log_missing_feature.

Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08 21:21:38 +00:00
Diego Biurrun
9686df2be5 Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Kenan Gillet
73b458e354 Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 16:48:05 +00:00
Kostya Shishkov
11c0f9eca1 enable RV40 decoder
Originally committed as revision 15968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 06:40:36 +00:00
Baptiste Coudurier
3bff4d8b7a Implement the fields rc_max_available_vbv_use and
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.

See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.

Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 14:08:48 +00:00
Roman Shaposhnik
3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Peter Ross
42b30357be Electronic Arts TGQ video decoder
Originally committed as revision 15789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:29:22 +00:00
Dominik Mierzejewski
82d1605fe7 Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.

Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 18:08:00 +00:00
Andreas Öman
9d9b9d32e6 Change multichannel API define prefix from "CHANNEL_" to "CH_".
Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:04:28 +00:00
Peter Ross
0d72e7d0ae Add audio channel layout API to libavcodec.
Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 05:03:42 +00:00
Baptiste Coudurier
da396bf84e dnxhd parser
Originally committed as revision 15673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 01:38:30 +00:00
Francesco Cosoleto
30ab4deda8 Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

Originally committed as revision 15448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:11:26 +00:00
Benjamin Larsson
faeedbbb06 Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work
Originally committed as revision 15425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 10:59:42 +00:00
Michael Niedermayer
475e4e2ffc Remove deprecated avcodec_decode_audio() this one was not under #ifdef.
Originally committed as revision 15272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:31:48 +00:00
Michael Niedermayer
9d21494776 avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:29:08 +00:00
Michael Niedermayer
047599a4ba Rename error_resilience to error_recognition.
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Michael Niedermayer
38360668d6 Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:28:07 +00:00
Michael Niedermayer
23694e27f0 Drop deprecated SAMPLE_FMT_S24.
Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:24:16 +00:00
Michael Niedermayer
d578432db8 Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:03:17 +00:00
Luca Abeni
dd1c8f3e6e Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 14:24:59 +00:00
Michael Niedermayer
8e5af7a654 Clarify sample_aspect_ratio.
Originally committed as revision 15180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 17:43:00 +00:00
Justin Ruggles
2988c93d94 create a separate codec_id for E-AC-3
Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 14:33:54 +00:00
Stefano Sabatini
987903826b 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_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Peter Ross
43a38a7c3e Remove 'currently unused' warning about SAMPLE_FMT_xxx.
Originally committed as revision 15046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 04:26:45 +00:00
Peter Ross
2bfd8855fb Bump libavcodec minor version number for r15017.
Originally committed as revision 15018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 04:02:04 +00:00
Peter Ross
312420f3fa Add AVCodecContext.bits_per_raw_sample field.
Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:59:48 +00:00
Peter Ross
46a73068a6 Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump.

Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:52:10 +00:00
Robert Swain
7d8f3de4a8 Last hunk of the AAC decoder code to be OKed and build system and documentation
alterations as appropriate

Originally committed as revision 14873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 07:21:26 +00:00
Michael Niedermayer
79de84f263 Provide a simpler way for the user to reorder her timestamps.
Originally committed as revision 14871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 23:11:26 +00:00
Jai Menon
833e90ddf5 Update changelog and general.texi to reflect
addition of the alac encoder, add Jai Menon
to MAINTAINERS and bump LIBAVCODEC_VERSION_MINOR.

Originally committed as revision 14849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 19:25:00 +00:00
Peter Ross
143a5d6f1f Add F64BE, F64LE and F64BE PCM codecs.
Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:43:47 +00:00
Peter Ross
e06b00f3b6 Add SAMPLE_FMT_DBL.
Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:36:30 +00:00
Peter Ross
97ceb75218 Mark SAMPLE_FMT_S24 as deprecated.
Originally committed as revision 14823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 12:03:59 +00:00
Robert Swain
697c7cd44b Bump minor version as av_log_missing_feature() was added to public API in
r14685

Originally committed as revision 14686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 22:18:46 +00:00
Justin Ruggles
ea779d91ca Add a generic function to lavc to log messages about missing features.
Patch by Justin Ruggles (justin ruggles gmail com)

Originally committed as revision 14685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 20:29:43 +00:00
Stefano Sabatini
96afa6be0b Doxygenate avcodec_version().
Originally committed as revision 14666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:34:27 +00:00
Peter Ross
cfc78718f3 Electronic Arts TGV decoder
Originally committed as revision 14642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 08:33:25 +00:00
Peter Ross
993ba05182 increment minor version for commit r14412 (add sample_fmts infrastructure)
Originally committed as revision 14455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 10:48:03 +00:00
Peter Ross
88a07af740 add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.
Originally committed as revision 14412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 08:48:26 +00:00
Peter Ross
aa29709ec8 add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)
Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 07:08:15 +00:00
Alexander Strange
385c820b4a Add a new -debug option for tracing calls to the default get/release_buffer functions.
Originally committed as revision 14406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 01:57:10 +00:00
tripp
662e54119c Correct b_quant offset comment in avcodec.h, it is the description for
b_quant factor. patch by tripp, eliared yahoo com

Originally committed as revision 14328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-21 20:52:24 +00:00
Michael Niedermayer
5771b2c324 Make strict_std_compliance available to decoders.
Originally committed as revision 14306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 15:57:06 +00:00
Michael Niedermayer
0bef08e516 New codec probing system try #1.
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 18:42:00 +00:00
Andreas Öman
0261e3651a Deprecate avcodec_build(), it returns the same value as
avcodec_version().

Originally committed as revision 14169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 15:25:12 +00:00
Gregory Montoir
974e0eeed3 Motion Pixels Video Decoder.
Patch by Gregory Montoir <cyx <at> users <dot> sourceforge <dot> net>

Originally committed as revision 14146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 03:01:39 +00:00
Peter Ross
5cfdfd8aae increment minor version for commit r14110 (Electronic Arts CMV decoder)
Originally committed as revision 14139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 08:34:43 +00:00