platform/upstream/libav.git
14 years agoCosmetics: reindent after applying patches
Martin Storsjö [Mon, 22 Feb 2010 16:11:38 +0000 (16:11 +0000)]
Cosmetics: reindent after applying patches

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

14 years agoDon't follow RTSP redirects when used as a muxer
Martin Storsjö [Mon, 22 Feb 2010 15:57:40 +0000 (15:57 +0000)]
Don't follow RTSP redirects when used as a muxer

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

14 years agoAdd a function rtsp_setup_output_streams for announcing the SDP
Martin Storsjö [Mon, 22 Feb 2010 15:56:18 +0000 (15:56 +0000)]
Add a function rtsp_setup_output_streams for announcing the SDP
and setting up the internal RTSPStream data structures when using
the RTSP code in muxer mode.

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

14 years agoCreate AVFormatContext objects as private transport for output RTSP sessions
Martin Storsjö [Mon, 22 Feb 2010 15:46:56 +0000 (15:46 +0000)]
Create AVFormatContext objects as private transport for output RTSP sessions

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

14 years agoMake Bink decoder able to skip alpha plane
Kostya Shishkov [Mon, 22 Feb 2010 14:59:51 +0000 (14:59 +0000)]
Make Bink decoder able to skip alpha plane

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

14 years agoMacroblock and block Huffman code sets are to be used by both Indeo 4 and
Kostya Shishkov [Mon, 22 Feb 2010 13:51:32 +0000 (13:51 +0000)]
Macroblock and block Huffman code sets are to be used by both Indeo 4 and
Indeo 5, so make them global and move their initialization to the common place
as well. And fix static VLC initialization, as ff_ivi_create_huff_from_desc()
used old way to do so.

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

14 years agoMake Bink decoder to stop decoding planes after all bits are used.
Kostya Shishkov [Mon, 22 Feb 2010 12:35:12 +0000 (12:35 +0000)]
Make Bink decoder to stop decoding planes after all bits are used.
This prevents crashes during decoding grayscale Bink files like
samples from Impossible Creatures game demo.

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

14 years agoMake opt_default() print an error message and exit if the option
Stefano Sabatini [Mon, 22 Feb 2010 12:28:51 +0000 (12:28 +0000)]
Make opt_default() print an error message and exit if the option
supplied is not recognized.

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

14 years agoCorrect bundle lengths calculation for small Bink files.
Kostya Shishkov [Mon, 22 Feb 2010 12:20:49 +0000 (12:20 +0000)]
Correct bundle lengths calculation for small Bink files.
This fixes issue 1764.

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

14 years agoARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16
Kostya Shishkov [Mon, 22 Feb 2010 12:20:31 +0000 (12:20 +0000)]
ARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16

Patch by Kostya, minor fixes by me.

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

14 years agoMake sure a set r_frame_rate is not overriden by a guess.
Michael Niedermayer [Mon, 22 Feb 2010 10:19:46 +0000 (10:19 +0000)]
Make sure a set r_frame_rate is not overriden by a guess.
Also make sure we dont waste time in this case with collecting timestamps.

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

14 years agoFix compilation for --enable-version3 --enable-libopencore_amrwb (only).
Carl Eugen Hoyos [Mon, 22 Feb 2010 09:47:12 +0000 (09:47 +0000)]
Fix compilation for --enable-version3 --enable-libopencore_amrwb (only).

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

14 years agoAttempt to fix the completely random values returned by ff_avc_find_startcode().
Michael Niedermayer [Mon, 22 Feb 2010 00:34:27 +0000 (00:34 +0000)]
Attempt to fix the completely random values returned by ff_avc_find_startcode().

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

14 years agoRevert "Suppress icc warnings about unknown attributes"
Måns Rullgård [Mon, 22 Feb 2010 00:34:12 +0000 (00:34 +0000)]
Revert "Suppress icc warnings about unknown attributes"

This reverts r21884.  Apparently people want those warnings.

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

14 years agoARM: change argument/return type of bswap_16() to unsigned 32-bit
Måns Rullgård [Mon, 22 Feb 2010 00:34:08 +0000 (00:34 +0000)]
ARM: change argument/return type of bswap_16() to unsigned 32-bit

This avoids unnecessary masking otherwise added by the compilers.

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

14 years agoARM: add missing preserve8 directives
Måns Rullgård [Mon, 22 Feb 2010 00:34:05 +0000 (00:34 +0000)]
ARM: add missing preserve8 directives

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

14 years agoget/show_bits() can read up to MIN_CACHE_BITS bits
Måns Rullgård [Sun, 21 Feb 2010 23:28:24 +0000 (23:28 +0000)]
get/show_bits() can read up to MIN_CACHE_BITS bits

The limit for get/show_bits_long() to use get/show_bits() directly
should be MIN_CACHE_BITS, not 17.

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

14 years agoSuppress armcc warnings about unknown attributes
Måns Rullgård [Sun, 21 Feb 2010 23:28:20 +0000 (23:28 +0000)]
Suppress armcc warnings about unknown attributes

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

14 years agoFix timestamp association for mpeg2 field pictures.
Michael Niedermayer [Sun, 21 Feb 2010 23:22:51 +0000 (23:22 +0000)]
Fix timestamp association for mpeg2 field pictures.
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob

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

14 years agoDeobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extend
Måns Rullgård [Sun, 21 Feb 2010 21:48:40 +0000 (21:48 +0000)]
Deobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extend

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

14 years agoAdd zero_extend() function
Måns Rullgård [Sun, 21 Feb 2010 21:48:37 +0000 (21:48 +0000)]
Add zero_extend() function

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

14 years agoMore accurate value for log2(10)
Måns Rullgård [Sun, 21 Feb 2010 20:47:10 +0000 (20:47 +0000)]
More accurate value for log2(10)

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

14 years agoRemove unused variable mb_xy.
avcoder [Sun, 21 Feb 2010 19:32:47 +0000 (19:32 +0000)]
Remove unused variable mb_xy.

Patch by avcoder, ffmpeg gmail

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

14 years agoAdd support to an option -f which forces the format to use for opening
Stefano Sabatini [Sun, 21 Feb 2010 18:33:24 +0000 (18:33 +0000)]
Add support to an option -f which forces the format to use for opening
the probed multimedia resource.

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

14 years agoAMR-NB floating-point based decoder.
Vitor Sessak [Sun, 21 Feb 2010 18:01:56 +0000 (18:01 +0000)]
AMR-NB floating-point based decoder.

Code produced during SoC by Robert Swain and Colin McQuillan.

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

14 years agoAvoid using log2, it is not available everywhere.
Reimar Döffinger [Sun, 21 Feb 2010 16:24:05 +0000 (16:24 +0000)]
Avoid using log2, it is not available everywhere.
Should fix compilation on FreeBSD.

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

14 years agoRemove unused variable, fixes warnings of the type:
Diego Biurrun [Sun, 21 Feb 2010 15:29:17 +0000 (15:29 +0000)]
Remove unused variable, fixes warnings of the type:
libavcodec/h264.h:816: warning: unused variable `mb_xy'

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

14 years agoindent
Måns Rullgård [Sun, 21 Feb 2010 15:11:59 +0000 (15:11 +0000)]
indent

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

14 years agoAvoid negative shifts in build_table()
Måns Rullgård [Sun, 21 Feb 2010 15:11:57 +0000 (15:11 +0000)]
Avoid negative shifts in build_table()

A shift by a negative amount has undefined behaviour.  Even though
the result of this shift is never used, the shift itself could
cause an exception of some kind.

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

14 years agoFix memory leak for truncated packets in idCin demuxer
Vitor Sessak [Sun, 21 Feb 2010 14:41:39 +0000 (14:41 +0000)]
Fix memory leak for truncated packets in idCin demuxer

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

14 years agoBink video decoder
Kostya Shishkov [Sun, 21 Feb 2010 13:28:46 +0000 (13:28 +0000)]
Bink video decoder

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

14 years agoAdd FFprobe tool.
Stefano Sabatini [Sun, 21 Feb 2010 11:43:01 +0000 (11:43 +0000)]
Add FFprobe tool.

This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/

Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.

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

14 years agoUse the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".
Stefano Sabatini [Sun, 21 Feb 2010 11:35:17 +0000 (11:35 +0000)]
Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".

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

14 years agoPut all the options shared amongst the ff* tools under a dedicated
Stefano Sabatini [Sun, 21 Feb 2010 10:56:38 +0000 (10:56 +0000)]
Put all the options shared amongst the ff* tools under a dedicated
section "Generic options".

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

14 years agoIndent.
Ramiro Polla [Sun, 21 Feb 2010 03:23:30 +0000 (03:23 +0000)]
Indent.

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

14 years agoVC1: fix missing include h263.h
Måns Rullgård [Sun, 21 Feb 2010 02:46:44 +0000 (02:46 +0000)]
VC1: fix missing include h263.h

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

14 years agoSimplify determing whether fragments are coded
David Conrad [Sun, 21 Feb 2010 00:11:01 +0000 (00:11 +0000)]
Simplify determing whether fragments are coded

No measurable speed difference

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

14 years agoHandle Theora's continued runs in superblock coding.
David Conrad [Sun, 21 Feb 2010 00:10:58 +0000 (00:10 +0000)]
Handle Theora's continued runs in superblock coding.

This doesn't really matter yet since 4:2:0 1080p has only 3060 superblocks,
but larger resolutions or 4:4:4 1080p could hit this case.

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

14 years agoDecode fully coded superblocks in the same manner as partial superblocks and qpi
David Conrad [Sun, 21 Feb 2010 00:10:54 +0000 (00:10 +0000)]
Decode fully coded superblocks in the same manner as partial superblocks and qpi

No speed difference, but it will simplify the special 4129 case.

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

14 years agoMake the special 4129 case for long-run bit strings a #define and explain it
David Conrad [Sun, 21 Feb 2010 00:10:51 +0000 (00:10 +0000)]
Make the special 4129 case for long-run bit strings a #define and explain it

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

14 years agoUse memset to set the runs partially coded superblocks
David Conrad [Sun, 21 Feb 2010 00:10:47 +0000 (00:10 +0000)]
Use memset to set the runs partially coded superblocks

Much faster for long runs (e.g. nearly uncoded frames), slightly faster
for the general case.

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

14 years agoMake sure we dont write more bytes into filename than the array is long.
Michael Niedermayer [Sat, 20 Feb 2010 22:57:23 +0000 (22:57 +0000)]
Make sure we dont write more bytes into filename than the array is long.
just a precaution in case the size of the source array is increased or
made dynamically allocateable.

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

14 years agoDo not attempt to open references through absolute pathes.
Michael Niedermayer [Sat, 20 Feb 2010 22:48:09 +0000 (22:48 +0000)]
Do not attempt to open references through absolute pathes.
This would allow an attacker to test remotely if a local file exists.

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

14 years agoReplace log2f(10) with a constant
Måns Rullgård [Sat, 20 Feb 2010 20:13:48 +0000 (20:13 +0000)]
Replace log2f(10) with a constant

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

14 years agoFree encoder extradata in avcodec_close(). Should fix several small memory
Vitor Sessak [Sat, 20 Feb 2010 18:28:11 +0000 (18:28 +0000)]
Free encoder extradata in avcodec_close(). Should fix several small memory
leaks when encoding (at least for asv, wma and aac).

Fix also issue 1577.

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

14 years agoAdd casts to correct return type in macros for missing libm funcs
Måns Rullgård [Sat, 20 Feb 2010 16:02:48 +0000 (16:02 +0000)]
Add casts to correct return type in macros for missing libm funcs

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

14 years agox86_fft.o depends on MMX and FFT.
Ramiro Polla [Sat, 20 Feb 2010 15:39:27 +0000 (15:39 +0000)]
x86_fft.o depends on MMX and FFT.

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

14 years agoDelete avconfig.h on distclean
Måns Rullgård [Sat, 20 Feb 2010 13:19:34 +0000 (13:19 +0000)]
Delete avconfig.h on distclean

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

14 years agoDelete all test related files in testclean rule
Måns Rullgård [Sat, 20 Feb 2010 13:19:29 +0000 (13:19 +0000)]
Delete all test related files in testclean rule

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

14 years agoremove tables of codebook vector values which are contained in
Stefan Gehrer [Sat, 20 Feb 2010 12:32:30 +0000 (12:32 +0000)]
remove tables of codebook vector values which are contained in
another table

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

14 years agoGcc attribute may_alias is not supported (or silently ignored) by all supported compi...
Carl Eugen Hoyos [Sat, 20 Feb 2010 12:22:24 +0000 (12:22 +0000)]
Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.

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

14 years agoDo not leave uninitialized data in the packet in MPC demuxer. Should allow for
Vitor Sessak [Sat, 20 Feb 2010 11:22:47 +0000 (11:22 +0000)]
Do not leave uninitialized data in the packet in MPC demuxer. Should allow for
adding a demuxer test to FATE.

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

14 years agoSplit rtsp_read_header() into two functions, so that the main part (now also
Martin Storsjö [Fri, 19 Feb 2010 23:23:40 +0000 (23:23 +0000)]
Split rtsp_read_header() into two functions, so that the main part (now also
known as rtsp_connect()) can be used in the RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agoSplit out input-specific parts of rtsp_read_header() into its own, new,
Martin Storsjö [Fri, 19 Feb 2010 23:21:44 +0000 (23:21 +0000)]
Split out input-specific parts of rtsp_read_header() into its own, new,
function (rtsp_setup_input_streams()), as preparation for the upcoming
RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agoOnly send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
Martin Storsjö [Fri, 19 Feb 2010 23:13:21 +0000 (23:13 +0000)]
Only send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
don't send them when acting as a RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agoUse mode=receive instead of mode=play if in RTSP muxer (instead of demuxer)
Martin Storsjö [Fri, 19 Feb 2010 23:11:59 +0000 (23:11 +0000)]
Use mode=receive instead of mode=play if in RTSP muxer (instead of demuxer)
mode.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agoMake rtsp_close_streams() take a AVFormatContext instead of a RTSPState
Martin Storsjö [Fri, 19 Feb 2010 23:10:19 +0000 (23:10 +0000)]
Make rtsp_close_streams() take a AVFormatContext instead of a RTSPState
argument, so we can use AVFormatContext->* here in the future.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years ago16l trocadero: don't forget to free frame data buffer in APE decoder
Kostya Shishkov [Fri, 19 Feb 2010 22:23:55 +0000 (22:23 +0000)]
16l trocadero: don't forget to free frame data buffer in APE decoder

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

14 years agoWavPack demuxer also depends on APE tag parser
Kostya Shishkov [Fri, 19 Feb 2010 22:13:19 +0000 (22:13 +0000)]
WavPack demuxer also depends on APE tag parser

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

14 years agoMake Bink demuxer skip all zero audio tracks, not only the first one
Kostya Shishkov [Fri, 19 Feb 2010 22:10:04 +0000 (22:10 +0000)]
Make Bink demuxer skip all zero audio tracks, not only the first one

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

14 years agomsmpeg4v* encoders depend on h263dec
Daniel Verkamp [Fri, 19 Feb 2010 21:34:50 +0000 (21:34 +0000)]
msmpeg4v* encoders depend on h263dec

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

14 years agoDeclare WMV1 decoder dependencies
Daniel Verkamp [Fri, 19 Feb 2010 21:21:04 +0000 (21:21 +0000)]
Declare WMV1 decoder dependencies

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

14 years agoAEA demuxer requires raw.o for pcm_read_seek
Daniel Verkamp [Fri, 19 Feb 2010 21:12:46 +0000 (21:12 +0000)]
AEA demuxer requires raw.o for pcm_read_seek

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

14 years agoDeclare CAF demuxer dependency on mpegaudio
Daniel Verkamp [Fri, 19 Feb 2010 21:07:46 +0000 (21:07 +0000)]
Declare CAF demuxer dependency on mpegaudio

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

14 years agoFix compilation of binkaudio_rdft when dct is disabled
Daniel Verkamp [Fri, 19 Feb 2010 20:51:12 +0000 (20:51 +0000)]
Fix compilation of binkaudio_rdft when dct is disabled

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

14 years agoremove a Huffman table from WMA which also exists in AAC
Stefan Gehrer [Fri, 19 Feb 2010 20:42:55 +0000 (20:42 +0000)]
remove a Huffman table from WMA which also exists in AAC

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

14 years agoFix memory leak for truncated frames
Vitor Sessak [Fri, 19 Feb 2010 20:20:17 +0000 (20:20 +0000)]
Fix memory leak for truncated frames

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

14 years agoFix memory leak for truncated frames
Vitor Sessak [Fri, 19 Feb 2010 20:19:41 +0000 (20:19 +0000)]
Fix memory leak for truncated frames

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

14 years agoRemove stale function declaration.
Martin Storsjö [Fri, 19 Feb 2010 17:26:33 +0000 (17:26 +0000)]
Remove stale function declaration.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agoAdd missing dependency of TwinVQ
Vitor Sessak [Fri, 19 Feb 2010 17:23:00 +0000 (17:23 +0000)]
Add missing dependency of TwinVQ

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

14 years agoremove ivi5_scans8x8[0], it duplicates ff_zigzag_direct
Stefan Gehrer [Fri, 19 Feb 2010 17:17:20 +0000 (17:17 +0000)]
remove ivi5_scans8x8[0], it duplicates ff_zigzag_direct

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

14 years agoRename RTSP_STATE_PLAYING to _STREAMING, since that better covers the
Martin Storsjö [Fri, 19 Feb 2010 16:26:21 +0000 (16:26 +0000)]
Rename RTSP_STATE_PLAYING to _STREAMING, since that better covers the
future use of the rtsp* codebase for RTSP muxing.

Patch by Martin Storsjö <$firstname $firstname st>.

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

14 years agocosmetics: reindent after last commit
Kostya Shishkov [Fri, 19 Feb 2010 14:06:12 +0000 (14:06 +0000)]
cosmetics: reindent after last commit

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

14 years agoSince WavPack chunk can contain more samples than FFmpeg is guaranteed to
Kostya Shishkov [Fri, 19 Feb 2010 14:05:41 +0000 (14:05 +0000)]
Since WavPack chunk can contain more samples than FFmpeg is guaranteed to
hold, decode it in several iterations outputting as many samples as possible.

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

14 years agoAdd the dependency for mpeg4audio.o of the ALS decoder.
Thilo Borgmann [Fri, 19 Feb 2010 08:26:35 +0000 (08:26 +0000)]
Add the dependency for mpeg4audio.o of the ALS decoder.

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

14 years agoDo sequential bit reading outside of []-operators.
Thilo Borgmann [Fri, 19 Feb 2010 08:07:02 +0000 (08:07 +0000)]
Do sequential bit reading outside of []-operators.

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

14 years agoWavPack demuxer supports ID3v1 tags, so don't forget id3v1.o dependency for it
Kostya Shishkov [Fri, 19 Feb 2010 06:59:47 +0000 (06:59 +0000)]
WavPack demuxer supports ID3v1 tags, so don't forget id3v1.o dependency for it
in Makefile

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

14 years agoTOMI: 16- and 32-bit intreadwrite functions
Måns Rullgård [Fri, 19 Feb 2010 03:20:01 +0000 (03:20 +0000)]
TOMI: 16- and 32-bit intreadwrite functions

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

14 years agoget rid of an if() 1 cpu cycle faster.
Michael Niedermayer [Fri, 19 Feb 2010 03:10:26 +0000 (03:10 +0000)]
get rid of an if() 1 cpu cycle faster.

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

14 years agoGet rid of a local variable, 10 cpu cycles faster.
Michael Niedermayer [Fri, 19 Feb 2010 02:37:11 +0000 (02:37 +0000)]
Get rid of a local variable, 10 cpu cycles faster.

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

14 years agoMove abs() from decode_cabac_mb_mvd() to the code that writes mvd_cache.
Michael Niedermayer [Thu, 18 Feb 2010 23:37:48 +0000 (23:37 +0000)]
Move abs() from decode_cabac_mb_mvd() to the code that writes mvd_cache.
4-8 cycles faster

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

14 years agoAdd some AAC buffer overread checks.
Alex Converse [Thu, 18 Feb 2010 23:06:56 +0000 (23:06 +0000)]
Add some AAC buffer overread checks.

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

14 years agoReindent and fix brace placement.
Stefano Sabatini [Thu, 18 Feb 2010 21:20:37 +0000 (21:20 +0000)]
Reindent and fix brace placement.

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

14 years agoVertically align a list of comparisons in sws_getCachedContext().
Stefano Sabatini [Thu, 18 Feb 2010 21:17:07 +0000 (21:17 +0000)]
Vertically align a list of comparisons in sws_getCachedContext().

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

14 years agoMerge two if conditions, allow to decrese the level of indentation of
Stefano Sabatini [Thu, 18 Feb 2010 21:12:05 +0000 (21:12 +0000)]
Merge two if conditions, allow to decrese the level of indentation of
the block.

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

14 years agoFFmpeg is a collective effort so allowing a single name in a banner is
Stefano Sabatini [Thu, 18 Feb 2010 20:47:20 +0000 (20:47 +0000)]
FFmpeg is a collective effort so allowing a single name in a banner is
not nice/fair towards the community of developers.

Also this looks like the best way for resolving the debate about which
is the one person name to be put in the banner.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Replace "Fabrice Bellard" with "the FFmpeg developers" in  the banner
Date: Thu, 11 Feb 2010 23:59:12 +0100

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

14 years agoSuppress icc warnings about unknown attributes
Måns Rullgård [Thu, 18 Feb 2010 19:14:48 +0000 (19:14 +0000)]
Suppress icc warnings about unknown attributes

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

14 years agofix intra prediction modes with inter-MB neighbors,
Stefan Gehrer [Thu, 18 Feb 2010 18:23:48 +0000 (18:23 +0000)]
fix intra prediction modes with inter-MB neighbors,
the old sample clips are in violation of the 2006 spec

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

14 years agoMake RTMP client send bytes read report
Kostya Shishkov [Thu, 18 Feb 2010 16:27:18 +0000 (16:27 +0000)]
Make RTMP client send bytes read report

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

14 years agoH264: use alias-safe macros
Måns Rullgård [Thu, 18 Feb 2010 16:24:31 +0000 (16:24 +0000)]
H264: use alias-safe macros

This eliminates all aliasing violation warnings in h264 code.
No measurable speed difference with gcc-4.4.3 on i7.

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

14 years agoAdd alias-safe aligned AV_[RW]N macros
Måns Rullgård [Thu, 18 Feb 2010 13:44:38 +0000 (13:44 +0000)]
Add alias-safe aligned AV_[RW]N macros

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

14 years agoUse alias-safe types in AV_COPY/SWAP/ZERO macros
Måns Rullgård [Thu, 18 Feb 2010 13:40:24 +0000 (13:40 +0000)]
Use alias-safe types in AV_COPY/SWAP/ZERO macros

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

14 years agoUse alias-safe types in AV_[RW] macros
Måns Rullgård [Thu, 18 Feb 2010 13:40:21 +0000 (13:40 +0000)]
Use alias-safe types in AV_[RW] macros

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

14 years agoAdd alias-safe union typedefs
Måns Rullgård [Thu, 18 Feb 2010 13:40:19 +0000 (13:40 +0000)]
Add alias-safe union typedefs

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

14 years agoSimplify deblock_left/top condition for deblocking_filter=2
Michael Niedermayer [Thu, 18 Feb 2010 12:37:43 +0000 (12:37 +0000)]
Simplify deblock_left/top condition for deblocking_filter=2

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

14 years agoSpeedup decode_cabac_field_decoding_flag() by 9 cpu cycles.
Michael Niedermayer [Thu, 18 Feb 2010 12:13:21 +0000 (12:13 +0000)]
Speedup decode_cabac_field_decoding_flag() by 9 cpu cycles.

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

14 years agofix issue 1747
Michael Niedermayer [Thu, 18 Feb 2010 00:19:50 +0000 (00:19 +0000)]
fix issue 1747

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

14 years agoMove NEG_[US]SR32 macros to mathops.h
Måns Rullgård [Wed, 17 Feb 2010 23:58:59 +0000 (23:58 +0000)]
Move NEG_[US]SR32 macros to mathops.h

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

14 years agoFix sizeof()-statement to use the actual pointer type.
Thilo Borgmann [Wed, 17 Feb 2010 23:26:48 +0000 (23:26 +0000)]
Fix sizeof()-statement to use the actual pointer type.

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

14 years agoFix wrong buffer allocation for MCC in ALS.
Thilo Borgmann [Wed, 17 Feb 2010 22:53:25 +0000 (22:53 +0000)]
Fix wrong buffer allocation for MCC in ALS.

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