13 years agoAdd a context to av_log() calls.
Benoit Fouet [Tue, 3 Mar 2009 16:19:37 +0000 (16:19 +0000)]
Add a context to av_log() calls.

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

13 years agoA quick description of Rate distortion theory.
Michael Niedermayer [Tue, 3 Mar 2009 16:09:19 +0000 (16:09 +0000)]
A quick description of Rate distortion theory.

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

13 years agoDo not use a macro to generate a single AVCodec declaration.
Diego Biurrun [Tue, 3 Mar 2009 15:48:52 +0000 (15:48 +0000)]
Do not use a macro to generate a single AVCodec declaration.

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

13 years agoQuick description of the Viterbi algorithm so I do not have to repeat it
Michael Niedermayer [Tue, 3 Mar 2009 15:35:20 +0000 (15:35 +0000)]
Quick description of the Viterbi algorithm so I do not have to repeat it
over and over again on the ML.

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

13 years agoWhen a H.264 stream references a PPS or SPS id which doesn't exist, instead of
Panagiotis Issaris [Tue, 3 Mar 2009 14:32:24 +0000 (14:32 +0000)]
When a H.264 stream references a PPS or SPS id which doesn't exist, instead of
just saying that a non-existing id is referenced, show the value of the id.

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

13 years agoAdd vhook removal to the changelog.
Diego Biurrun [Tue, 3 Mar 2009 14:12:41 +0000 (14:12 +0000)]
Add vhook removal to the changelog.

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

13 years agoRemove deprecated vhook subsystem.
Diego Biurrun [Tue, 3 Mar 2009 14:09:10 +0000 (14:09 +0000)]
Remove deprecated vhook subsystem.

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

13 years agoRemove size_t cast in setting s->priv_data directly to the (integer) file
Ronald S. Bultje [Tue, 3 Mar 2009 13:57:09 +0000 (13:57 +0000)]
Remove size_t cast in setting s->priv_data directly to the (integer) file
descriptor returned by open(). This removes some dubious doublecasts such
as priv_data = (void *) (size_t) some_integer, and is always safe on systems
we care about because sizeof(int)<=sizeof(void*). See comments from Mans and
Michael in "[RFC] rtsp.c EOF support" thread.

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

13 years agoDon't let finalize_packet() touch pkt->stream_index. Instead, let individual
Ronald S. Bultje [Tue, 3 Mar 2009 13:51:34 +0000 (13:51 +0000)]
Don't let finalize_packet() touch pkt->stream_index. Instead, let individual
payload handlers take care of that themselves at their own option. What this
patch really does is "fix" a bug in MS-RTSP protocol where incoming packets
are always coming in over the connection (UDP) or interleave-id (TCP) of
the stream-id of the first ASF packet in the RTP packet. However, RTP packets
may contain multiple ASF packets (and usually do, from what I can see), and
therefore this leads to playback bugs. The intended stream-id per ASF packet
is given in the respective ASF packet header. The ASF demuxer will correctly
read this and set pkt->stream_index, but since the "stream" parameter can
not be known to rtpdec.c or any of the RTP/RTSP code, the "st" parameter
in all these functions is basically invalid. Therefore, using st->id as
pkt->stream_index leads to various playback bugs. The result of this patch
is that pkt->stream_index is left untouched for RTP/ASF (and possibly for
other payloads that have similar behaviour).

The patch was discussed in the "[PATCH] rtpdec.c: don't overwrite
pkt->stream_index in finalize_packet()" thread on the mailinglist.

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

13 years agoSet PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.
Gwenole Beauchesne [Tue, 3 Mar 2009 13:43:24 +0000 (13:43 +0000)]
Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.

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

13 years agoReindent after r17764.
Ronald S. Bultje [Tue, 3 Mar 2009 13:42:16 +0000 (13:42 +0000)]
Reindent after r17764.

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

13 years agoIn the current implementation of rtp_parse_packet(), finalize_packet() is
Ronald S. Bultje [Tue, 3 Mar 2009 13:41:50 +0000 (13:41 +0000)]
In the current implementation of rtp_parse_packet(), finalize_packet() is
called for all packets with an internal handler function but only for
non-first packets from dynamic payload parse_packet() handlers. This patch
fixes that. Bug was noticed by Luca in "[PATCH] rtpdec.c: don't overwrite
pkt->stream_index in finalize_packet()" thread.

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

13 years agoStart Changelog for next version.
Diego Biurrun [Tue, 3 Mar 2009 13:38:40 +0000 (13:38 +0000)]
Start Changelog for next version.

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

13 years agocosmetics: Add some empty lines for readability.
Diego Biurrun [Tue, 3 Mar 2009 13:30:57 +0000 (13:30 +0000)]
cosmetics: Add some empty lines for readability.

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

13 years agoReduce allocated length of the HTTP authentication request field buffer, as
Ronald S. Bultje [Tue, 3 Mar 2009 13:26:17 +0000 (13:26 +0000)]
Reduce allocated length of the HTTP authentication request field buffer, as
noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication"
mailinglist thread.

av_base64_encode() was recently changed. The previous implementation required
12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to
fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the
trailing zero. This change fixes no bug, it just slightly decreases the
amount of allocated memory.

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

13 years agoCosmetics: Typo
Panagiotis Issaris [Tue, 3 Mar 2009 13:25:53 +0000 (13:25 +0000)]
Cosmetics: Typo

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

13 years agoUse sign_extend().
Benoit Fouet [Tue, 3 Mar 2009 13:11:10 +0000 (13:11 +0000)]
Use sign_extend().
On behalf of Jai.

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

13 years agoAdd my GPG fingerprint
Panagiotis Issaris [Tue, 3 Mar 2009 13:01:38 +0000 (13:01 +0000)]
Add my GPG fingerprint

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

13 years agoCosmetics: Typo
Panagiotis Issaris [Tue, 3 Mar 2009 12:58:49 +0000 (12:58 +0000)]
Cosmetics: Typo

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

13 years agocosmetics: Fix indentation.
Diego Biurrun [Tue, 3 Mar 2009 12:57:07 +0000 (12:57 +0000)]
cosmetics: Fix indentation.

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

13 years agoDo not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
Diego Biurrun [Tue, 3 Mar 2009 12:52:12 +0000 (12:52 +0000)]
Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
CFLAGS.  Apparently there are some systems that do not like these definitions.

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

13 years agoRemove mpeg4aac dependency declaration, the decoder was removed.
Diego Biurrun [Tue, 3 Mar 2009 12:45:48 +0000 (12:45 +0000)]
Remove mpeg4aac dependency declaration, the decoder was removed.

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

13 years agoconfigure: improve temp file creation and cleanup
Måns Rullgård [Tue, 3 Mar 2009 08:53:55 +0000 (08:53 +0000)]
configure: improve temp file creation and cleanup

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

13 years agoflacdec: Warn about invalid max blocksize and limit the minimum value.
Justin Ruggles [Tue, 3 Mar 2009 05:53:38 +0000 (05:53 +0000)]
flacdec: Warn about invalid max blocksize and limit the minimum value.

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

13 years agoH.264: Simplify decode_residual()
Alex Converse [Tue, 3 Mar 2009 05:26:39 +0000 (05:26 +0000)]
H.264: Simplify decode_residual()

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

13 years agocosmetics: remove a pointless comment
Justin Ruggles [Tue, 3 Mar 2009 05:25:58 +0000 (05:25 +0000)]
cosmetics: remove a pointless comment

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

13 years agoflacdec: Remove unused variable, min_blocksize.
Justin Ruggles [Tue, 3 Mar 2009 05:25:23 +0000 (05:25 +0000)]
flacdec: Remove unused variable, min_blocksize.

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

13 years agoflacdec: Return error when blocksize code of 0 is found. It is a
Justin Ruggles [Tue, 3 Mar 2009 05:22:44 +0000 (05:22 +0000)]
flacdec: Return error when blocksize code of 0 is found. It is a
reserved value per the FLAC format documentation.

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

13 years agoEnable PB-frames decoding for H.263
Kostya Shishkov [Tue, 3 Mar 2009 05:18:39 +0000 (05:18 +0000)]
Enable PB-frames decoding for H.263

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

13 years agoAdd PB-frame decoding support for H.263/i263 (and enable it for i263)
Kostya Shishkov [Tue, 3 Mar 2009 05:17:22 +0000 (05:17 +0000)]
Add PB-frame decoding support for H.263/i263 (and enable it for i263)

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

13 years agoalacdec: Simplify reading of uncompressed samples by using
Justin Ruggles [Tue, 3 Mar 2009 04:57:02 +0000 (04:57 +0000)]
alacdec: Simplify reading of uncompressed samples by using

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

13 years agoflacdec: Avoid trying to read 33 bits. This occurs when the source
Justin Ruggles [Tue, 3 Mar 2009 04:45:45 +0000 (04:45 +0000)]
flacdec: Avoid trying to read 33 bits.  This occurs when the source
is 32 bits-per-sample and channel decorrelation is used.  Such files
are valid, but not supported currently.

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

13 years agoflacdec: ALT_BITSTREAM_READER is no longer required.
Justin Ruggles [Tue, 3 Mar 2009 02:53:11 +0000 (02:53 +0000)]
flacdec: ALT_BITSTREAM_READER is no longer required.

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

13 years agoflacdec: use get_sbits_long() where needed.
Justin Ruggles [Tue, 3 Mar 2009 02:19:01 +0000 (02:19 +0000)]
flacdec: use get_sbits_long() where needed.

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

13 years agoAdd a get_sbits_long() function.
Justin Ruggles [Tue, 3 Mar 2009 02:00:47 +0000 (02:00 +0000)]
Add a get_sbits_long() function.

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

13 years agoALAC: use sign_extend() from mathops.h
Måns Rullgård [Tue, 3 Mar 2009 01:53:54 +0000 (01:53 +0000)]
ALAC: use sign_extend() from mathops.h

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

13 years agoAdd sign_extend() function to mathops.h
Måns Rullgård [Tue, 3 Mar 2009 00:03:55 +0000 (00:03 +0000)]
Add sign_extend() function to mathops.h

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

13 years agoSimplify show_bits_long and copy the GetBitsContext around only once instead of twice.
Reimar Döffinger [Mon, 2 Mar 2009 19:42:31 +0000 (19:42 +0000)]
Simplify show_bits_long and copy the GetBitsContext around only once instead of twice.

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

13 years agoflacdec: Use get/skip_bits_long() for more than 17-bits and
Justin Ruggles [Mon, 2 Mar 2009 17:32:53 +0000 (17:32 +0000)]
flacdec: Use get/skip_bits_long() for more than 17-bits and
get/skip_bits() for 17-bits or less.

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

13 years agoFactor out block decoding in ff_h263_decode_mb()
Kostya Shishkov [Mon, 2 Mar 2009 17:18:49 +0000 (17:18 +0000)]
Factor out block decoding in ff_h263_decode_mb()

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

13 years agoConsider all packets in the parser, not just ones with timestamps,
Michael Niedermayer [Mon, 2 Mar 2009 15:13:58 +0000 (15:13 +0000)]
Consider all packets in the parser, not just ones with timestamps,
this should greatly simplify handling of packet pos.

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

13 years agoFavor container packets that end after the first byte of the access
Michael Niedermayer [Mon, 2 Mar 2009 15:12:26 +0000 (15:12 +0000)]
Favor container packets that end after the first byte of the access
unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.

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

13 years agoCall ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
Michael Niedermayer [Mon, 2 Mar 2009 14:53:18 +0000 (14:53 +0000)]
Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
of calling it at the end of a frame with a large negative offset.
This significantly reduces the maximal distance in container packets between
the point where the first byte of the "access unit" was stored and where
we call ff_fetch_timestamp() thus reducing the constraints on our parser.
Also change the parser from next_frame_offset to cur, this is needed
because now the reference is from container packet start instead of
frame start. (i previously misinterpreted this as bug)

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

13 years agoversion.h should depend on config.mak.
Diego Biurrun [Mon, 2 Mar 2009 09:33:57 +0000 (09:33 +0000)]
version.h should depend on config.mak.
The extra version string that is passed to configure is recorded in config.mak
and changes to config.mak can therefore make version.h rebuilds necessary.

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

13 years agoAdd context to some av_log() calls.
Benoit Fouet [Mon, 2 Mar 2009 09:28:37 +0000 (09:28 +0000)]
Add context to some av_log() calls.

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

13 years agoMerge three conditions in a single 'if' instead of two.
Benoit Fouet [Mon, 2 Mar 2009 09:22:17 +0000 (09:22 +0000)]
Merge three conditions in a single 'if' instead of two.

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

13 years agoMention non-recursive Makefiles in the changelog.
Diego Biurrun [Mon, 2 Mar 2009 07:57:04 +0000 (07:57 +0000)]
Mention non-recursive Makefiles in the changelog.

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

13 years agocosmetics: spelling/wording fixes
Diego Biurrun [Mon, 2 Mar 2009 07:52:47 +0000 (07:52 +0000)]
cosmetics: spelling/wording fixes

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

13 years agoAC-3 encoding is integer-only
Justin Ruggles [Mon, 2 Mar 2009 06:31:28 +0000 (06:31 +0000)]
AC-3 encoding is integer-only

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

13 years agoRevert previous removal of PAM, PBM, PGM, PGMYUV and PPM from the list of
Diego Biurrun [Mon, 2 Mar 2009 06:13:54 +0000 (06:13 +0000)]
Revert previous removal of PAM, PBM, PGM, PGMYUV and PPM from the list of
supported image formats. Apparently decoding these formats is supported.

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

13 years agocosmetics: Reformat long_names so that "DPCM" comes first.
Diego Biurrun [Mon, 2 Mar 2009 06:01:32 +0000 (06:01 +0000)]
cosmetics: Reformat long_names so that "DPCM" comes first.

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

13 years agocosmetics: Reformat long_names so that "ADPCM" comes first.
Diego Biurrun [Mon, 2 Mar 2009 05:55:03 +0000 (05:55 +0000)]
cosmetics: Reformat long_names so that "ADPCM" comes first.

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

13 years agocosmetics: Reformat long_names so that "PCM" comes first.
Diego Biurrun [Mon, 2 Mar 2009 05:45:44 +0000 (05:45 +0000)]
cosmetics: Reformat long_names so that "PCM" comes first.

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

13 years agosmall spelling/grammar fixes
Diego Biurrun [Mon, 2 Mar 2009 05:41:55 +0000 (05:41 +0000)]
small spelling/grammar fixes

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

13 years agoxvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.
Diego Biurrun [Mon, 2 Mar 2009 05:20:00 +0000 (05:20 +0000)]
xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.

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

13 years agoChange a bunch of codec long_names to be more consistent and descriptive.
Diego Biurrun [Mon, 2 Mar 2009 05:18:33 +0000 (05:18 +0000)]
Change a bunch of codec long_names to be more consistent and descriptive.

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

13 years agoDecoding of PAM, PBM, PGM, PGMYUV and PPM image formats is not supported.
Diego Biurrun [Mon, 2 Mar 2009 05:08:57 +0000 (05:08 +0000)]
Decoding of PAM, PBM, PGM, PGMYUV and PPM image formats is not supported.

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

13 years agofigure out which muxers support which codecs? new api required!
Ben Littler [Mon, 2 Mar 2009 04:37:46 +0000 (04:37 +0000)]
figure out which muxers support which codecs? new api required!

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

13 years agoThe Ogg muxer will handle Theora as well
Robert Swain [Mon, 2 Mar 2009 04:19:59 +0000 (04:19 +0000)]
The Ogg muxer will handle Theora as well

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

13 years agoAnother round of missing codecs and name updates to match the codec long_name.
Diego Biurrun [Mon, 2 Mar 2009 03:52:40 +0000 (03:52 +0000)]
Another round of missing codecs and name updates to match the codec long_name.

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

13 years agoAdd some more missing codecs and update names to match the codec long_name.
Justin Ruggles [Mon, 2 Mar 2009 03:41:58 +0000 (03:41 +0000)]
Add some more missing codecs and update names to match the codec long_name.

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

13 years agoAdd some more missing codecs and update names to match the codec long_name.
Diego Biurrun [Mon, 2 Mar 2009 03:30:53 +0000 (03:30 +0000)]
Add some more missing codecs and update names to match the codec long_name.

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

13 years agoMerge MP2, MP3 and MPEG audio demuxer entries.
Diego Biurrun [Mon, 2 Mar 2009 02:58:22 +0000 (02:58 +0000)]
Merge MP2, MP3 and MPEG audio demuxer entries.

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

13 years agovorbis and flac ogg muxer only
Ben Littler [Mon, 2 Mar 2009 02:48:30 +0000 (02:48 +0000)]
vorbis and flac ogg muxer only

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

13 years agoogg muxer is vorbis only
Ben Littler [Mon, 2 Mar 2009 02:31:46 +0000 (02:31 +0000)]
ogg muxer is vorbis only

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

13 years agoAdd some missing codecs and update names to match the codec long_name
Justin Ruggles [Mon, 2 Mar 2009 02:25:31 +0000 (02:25 +0000)]
Add some missing codecs and update names to match the codec long_name
or vice-versa.

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

13 years agoAdd some missing codecs and update names to match the codec long_name.
Diego Biurrun [Mon, 2 Mar 2009 01:55:21 +0000 (01:55 +0000)]
Add some missing codecs and update names to match the codec long_name.

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

13 years agoadd some missing codecs and update some names to match AVCodec.long_name
Justin Ruggles [Mon, 2 Mar 2009 01:40:21 +0000 (01:40 +0000)]
add some missing codecs and update some names to match AVCodec.long_name

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

13 years agoInteger-only decoding of AC-3 is not supported.
Diego Biurrun [Mon, 2 Mar 2009 00:55:43 +0000 (00:55 +0000)]
Integer-only decoding of AC-3 is not supported.

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

13 years agoTarga encoding is supported.
Diego Biurrun [Mon, 2 Mar 2009 00:34:34 +0000 (00:34 +0000)]
Targa encoding is supported.

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

13 years agoAdd missing image formats, patch by Daniel Verkamp, daniel drv nu.
Daniel Verkamp [Mon, 2 Mar 2009 00:29:24 +0000 (00:29 +0000)]
Add missing image formats, patch by Daniel Verkamp, daniel drv nu.

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

13 years agoSplit PGM and PPM in image formats section.
Daniel Verkamp [Mon, 2 Mar 2009 00:27:51 +0000 (00:27 +0000)]
Split PGM and PPM in image formats section.
patch by Daniel Verkamp, daniel drv nu

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

13 years agocosmetics: Break image format lines before comments.
Daniel Verkamp [Mon, 2 Mar 2009 00:24:10 +0000 (00:24 +0000)]
cosmetics: Break image format lines before comments.
patch by Daniel Verkamp, daniel drv nu

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

13 years agoRA144: work around gcc bug/oddity on ARM
Måns Rullgård [Sun, 1 Mar 2009 23:41:39 +0000 (23:41 +0000)]
RA144: work around gcc bug/oddity on ARM

This should not make any difference, yet some gcc versions on ARM
produce incorrect output without this fix.

Approved by Vitor.

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

13 years agoadd an API changelog with a first entry for the new metadata API
Aurelien Jacobs [Sun, 1 Mar 2009 18:20:26 +0000 (18:20 +0000)]
add an API changelog with a first entry for the new metadata API

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

13 years agoAdd release version number.
Diego Biurrun [Sun, 1 Mar 2009 18:12:06 +0000 (18:12 +0000)]
Add release version number.

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

13 years agoconfigure: fix return value from check_header
Måns Rullgård [Sun, 1 Mar 2009 17:57:14 +0000 (17:57 +0000)]
configure: fix return value from check_header

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

13 years agoDocument ffplay -ast, -vst, and -sst options.
Stefano Sabatini [Sun, 1 Mar 2009 17:13:33 +0000 (17:13 +0000)]
Document ffplay -ast, -vst, and -sst options.

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

13 years agoApply the same logic used for subtitle stream selection to audio and video
Stefano Sabatini [Sun, 1 Mar 2009 17:06:01 +0000 (17:06 +0000)]
Apply the same logic used for subtitle stream selection to audio and video
stream selection.

Make the counting starts from 0, and disable the corresponding playbck
when the selected stream number is negative.

See the thread:
" [FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst".

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

13 years agoSimplify the logic for the subtitle stream selection.
Stefano Sabatini [Sun, 1 Mar 2009 17:02:21 +0000 (17:02 +0000)]
Simplify the logic for the subtitle stream selection.

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

13 years agoFix subtitle selection logic, make ffplay select the subtitle stream N
Stefano Sabatini [Sun, 1 Mar 2009 16:58:59 +0000 (16:58 +0000)]
Fix subtitle selection logic, make ffplay select the subtitle stream N
rather than the subtitle stream N-1 when N is not zero.

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

13 years agodeprecate old metadata API
Aurelien Jacobs [Sun, 1 Mar 2009 16:35:25 +0000 (16:35 +0000)]
deprecate old metadata API

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

13 years agofix missed usage of old metadata API in mov demuxer
Aurelien Jacobs [Sun, 1 Mar 2009 16:06:26 +0000 (16:06 +0000)]
fix missed usage of old metadata API in mov demuxer

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

13 years agofix last usage of old metadata API in ffmpeg.c (handling of AVStream language)
Aurelien Jacobs [Sun, 1 Mar 2009 15:58:57 +0000 (15:58 +0000)]
fix last usage of old metadata API in ffmpeg.c (handling of AVStream language)

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

13 years agouse new metadata API in libavformat/utils.c
Aurelien Jacobs [Sun, 1 Mar 2009 15:38:06 +0000 (15:38 +0000)]
use new metadata API in libavformat/utils.c

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

13 years agouse new metadata API in r3d demuxer
Aurelien Jacobs [Sun, 1 Mar 2009 15:28:56 +0000 (15:28 +0000)]
use new metadata API in r3d demuxer

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

13 years agoconvert ffserver to new metadata API
Aurelien Jacobs [Sun, 1 Mar 2009 14:56:27 +0000 (14:56 +0000)]
convert ffserver to new metadata API

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

13 years agoconvert ffplay to new metadata API
Aurelien Jacobs [Sun, 1 Mar 2009 14:55:21 +0000 (14:55 +0000)]
convert ffplay to new metadata API

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

13 years agoconvert ffmpeg to new metadata API
Aurelien Jacobs [Sun, 1 Mar 2009 14:54:22 +0000 (14:54 +0000)]
convert ffmpeg to new metadata API

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

13 years agonew metadata API is now officially part of public API
Aurelien Jacobs [Sun, 1 Mar 2009 14:50:03 +0000 (14:50 +0000)]
new metadata API is now officially part of public API

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

13 years agosimplify metadata conversion and fixes gcc-2.95 at the same time
Aurelien Jacobs [Sun, 1 Mar 2009 14:29:30 +0000 (14:29 +0000)]
simplify metadata conversion and fixes gcc-2.95 at the same time

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

13 years agoSVQ3: Fix decoding with A32_BITSTREAM_READER
Måns Rullgård [Sun, 1 Mar 2009 12:11:07 +0000 (12:11 +0000)]
SVQ3: Fix decoding with A32_BITSTREAM_READER

svq3_decode_slice_header() modifies the buffer used by the bitstream
reader.  Some of the bitstream readers cache a few bytes of data, which
must be flushed after such a modification.  Calling skip_bits_long(gb, 0)
achieves this.

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

13 years agoARM: fix missing MUL16() return type
Måns Rullgård [Sun, 1 Mar 2009 12:11:02 +0000 (12:11 +0000)]
ARM: fix missing MUL16() return type

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

13 years agoFix typo in comments.
Dominik Mierzejewski [Sun, 1 Mar 2009 11:43:56 +0000 (11:43 +0000)]
Fix typo in comments.

Originally committed as revision 28777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoAdd warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).
Reimar Döffinger [Sun, 1 Mar 2009 11:38:46 +0000 (11:38 +0000)]
Add warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).

Originally committed as revision 28776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoMake AltiVec code write alpha as 255 instead of 0 when converting to RGBA
Reimar Döffinger [Sun, 1 Mar 2009 11:35:00 +0000 (11:35 +0000)]
Make AltiVec code write alpha as 255 instead of 0 when converting to RGBA

Originally committed as revision 28774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoFix braindead and broken way to calculate abase, fixes regression tests on
Reimar Döffinger [Sun, 1 Mar 2009 11:33:10 +0000 (11:33 +0000)]
Fix braindead and broken way to calculate abase, fixes regression tests on
big-endian systems.

Originally committed as revision 28773 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoReindent after last commit
Vitor Sessak [Sun, 1 Mar 2009 11:16:57 +0000 (11:16 +0000)]
Reindent after last commit

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

13 years agoDo not read uninitialized buffer, no matter if it will be multiplied by
Vitor Sessak [Sun, 1 Mar 2009 11:14:21 +0000 (11:14 +0000)]
Do not read uninitialized buffer, no matter if it will be multiplied by
zero later. This should fix some valgrind warnings and hopefully FATE
ra144 test on ARM.

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

13 years agoRemove unused variable in mpeg_mc_decode_init
Reimar Döffinger [Sun, 1 Mar 2009 09:14:20 +0000 (09:14 +0000)]
Remove unused variable in mpeg_mc_decode_init

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