]> git.sesse.net Git - ffmpeg/log
ffmpeg
14 years agoSimplify intra4x4_pred_mode_cache init.
Michael Niedermayer [Thu, 25 Feb 2010 14:54:31 +0000 (14:54 +0000)]
Simplify intra4x4_pred_mode_cache init.

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

14 years agoReorder intra4x4_pred_mode so that we can read/write 4 values at once.
Michael Niedermayer [Thu, 25 Feb 2010 14:26:12 +0000 (14:26 +0000)]
Reorder intra4x4_pred_mode so that we can read/write 4 values at once.
3-7 cpu cycles faster

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

14 years agoStore intra4x4_pred_mode per row only.
Michael Niedermayer [Thu, 25 Feb 2010 14:02:39 +0000 (14:02 +0000)]
Store intra4x4_pred_mode per row only.
about 5 cpu cycles slower in the local code but should be overall faster
due to reduced cache use. (my sample though has too few intra4x4 blocks
for this to be meassureable easily either way)

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

14 years agounroll tiny and trivial loop. Same speed but clearer.
Michael Niedermayer [Thu, 25 Feb 2010 12:51:32 +0000 (12:51 +0000)]
unroll tiny and trivial loop. Same speed but clearer.

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

14 years agoasf: indent.
Benoit Fouet [Thu, 25 Feb 2010 09:10:37 +0000 (09:10 +0000)]
asf: indent.
Patch from Anton Khirnov wyskas gmail com

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

14 years agoasf: add more entries to metadata conv table.
Benoit Fouet [Thu, 25 Feb 2010 09:09:39 +0000 (09:09 +0000)]
asf: add more entries to metadata conv table.
Patch from Anton Khirnov wyskas gmail com

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

14 years agoCut the size of mvd_table by yet another factor of 2.
Michael Niedermayer [Thu, 25 Feb 2010 04:11:33 +0000 (04:11 +0000)]
Cut the size of mvd_table by yet another factor of 2.
The code read/write code itself was 1 cycle faster, overall its
likely more due to cache effects

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

14 years agoKeep mvd_table values of only 2 mb rows.
Michael Niedermayer [Thu, 25 Feb 2010 02:42:25 +0000 (02:42 +0000)]
Keep mvd_table values of only 2 mb rows.

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

14 years ago10l: add prefix "TAG:" to the metadata tags key showed for each stream.
Stefano Sabatini [Thu, 25 Feb 2010 00:16:43 +0000 (00:16 +0000)]
10l: add prefix "TAG:" to the metadata tags key showed for each stream.

This is consistent with the metadata displaying in show_format() and
with the documentation.

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

14 years agoCosmetics: replace "filename" to "arg" for the name of the argument of
Stefano Sabatini [Thu, 25 Feb 2010 00:05:01 +0000 (00:05 +0000)]
Cosmetics: replace "filename" to "arg" for the name of the argument of
opt_input_file(). More consistent and more clear, as "filename" can be
easily confused with the global "input_filename".

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

14 years agoaac: Keep decode_band_types() from eating all padding at the end of a buffer.
Alex Converse [Wed, 24 Feb 2010 23:56:52 +0000 (23:56 +0000)]
aac: Keep decode_band_types() from eating all padding at the end of a buffer.

Due to a shortcoming in the AAC specification, if an all zero buffer is
fed to section data decoding it will never terminate. That means without
a buffer exhaustion check decode_band_types() will consume all input
buffer padding. Worse if a get_bits() implementation that returns zeros
when padding is exhausted is used, the function will never terminate.

The fixes that by added a buffer exhaustion check in the sectioning
decoding loop.

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

14 years agoExtend doxy for the src parameter of av_fifo_generic_write().
Stefano Sabatini [Wed, 24 Feb 2010 23:52:52 +0000 (23:52 +0000)]
Extend doxy for the src parameter of av_fifo_generic_write().

@patchby Tomas Härdin |tomas dot hardin at codemill dot se|

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

14 years ago3rd and hopefully last 100l fix.
Michael Niedermayer [Wed, 24 Feb 2010 22:13:20 +0000 (22:13 +0000)]
3rd and hopefully last 100l fix.

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

14 years agoFix doxy and assert().
Michael Niedermayer [Wed, 24 Feb 2010 22:05:51 +0000 (22:05 +0000)]
Fix doxy and assert().

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

14 years agoTry to fix 100l compilation failure on some systems.
Michael Niedermayer [Wed, 24 Feb 2010 21:55:55 +0000 (21:55 +0000)]
Try to fix 100l compilation failure on some systems.

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

14 years agoChange mvd_cache & mvd_table to 8bit, this is overall a bit faster
Michael Niedermayer [Wed, 24 Feb 2010 20:43:06 +0000 (20:43 +0000)]
Change mvd_cache & mvd_table to 8bit, this is overall a bit faster
for high resolution videos.
about 20cycles faster per MB for cathederal.

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

14 years agoAV_COPY16() & AV_ZERO16()
Michael Niedermayer [Wed, 24 Feb 2010 20:38:31 +0000 (20:38 +0000)]
AV_COPY16() & AV_ZERO16()

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

14 years agoExtend fill_rectangle() support for 16bit
Michael Niedermayer [Wed, 24 Feb 2010 20:37:58 +0000 (20:37 +0000)]
Extend fill_rectangle() support for 16bit

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

14 years agoCalculate mvd without abs()
Michael Niedermayer [Wed, 24 Feb 2010 18:50:02 +0000 (18:50 +0000)]
Calculate mvd without abs()
same speed (ask gcc why, i dont know)

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

14 years agoRead ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in our
Anton Khirnov [Wed, 24 Feb 2010 18:19:54 +0000 (18:19 +0000)]
Read ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in our
metadata system.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoDon't add WM prefixes to all written ASF tags.
Anton Khirnov [Wed, 24 Feb 2010 18:17:32 +0000 (18:17 +0000)]
Don't add WM prefixes to all written ASF tags.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoswitch back to (amvd>2)+(amvd>32), its 5 cpu cycles faster now.
Michael Niedermayer [Wed, 24 Feb 2010 18:16:48 +0000 (18:16 +0000)]
switch back to (amvd>2)+(amvd>32), its 5 cpu cycles faster now.

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

14 years agoEliminate put_str16().
Anton Khirnov [Wed, 24 Feb 2010 18:09:49 +0000 (18:09 +0000)]
Eliminate put_str16().

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoAdd PUT_UTF16() macro.
Anton Khirnov [Wed, 24 Feb 2010 18:08:30 +0000 (18:08 +0000)]
Add PUT_UTF16() macro.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoFactorize common code from the top of decode_cabac_mb_mvd()
Michael Niedermayer [Wed, 24 Feb 2010 18:06:02 +0000 (18:06 +0000)]
Factorize common code from the top of decode_cabac_mb_mvd()
10-15 cpu cycles faster.

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

14 years agoMention that metadata tags are (unvalidated) UTF-8.
Anton Khirnov [Wed, 24 Feb 2010 18:01:44 +0000 (18:01 +0000)]
Mention that metadata tags are (unvalidated) UTF-8.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoReplace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)
Michael Niedermayer [Wed, 24 Feb 2010 16:16:08 +0000 (16:16 +0000)]
Replace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)
same speed as far as i can meassure but it might have fewer branches on some
archs.
Idea from x264 / jason

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

14 years agoClear freed pointer in ffplay.c.
Ramiro Polla [Wed, 24 Feb 2010 14:45:18 +0000 (14:45 +0000)]
Clear freed pointer in ffplay.c.
Fixes a crash when audio stream is cycled twice.

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

14 years agoReplace ad-hoc fill rectangle by fill_rectangle().
Michael Niedermayer [Wed, 24 Feb 2010 13:12:09 +0000 (13:12 +0000)]
Replace ad-hoc fill rectangle by fill_rectangle().

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

14 years agoff_msmpeg4_decode_init() calls ff_h263_decode_init() which calls
Kostya Shishkov [Wed, 24 Feb 2010 13:11:38 +0000 (13:11 +0000)]
ff_msmpeg4_decode_init() calls ff_h263_decode_init() which calls
MPV_common_init(), so calling both is redundant and leads to memory
leaks in WMV3/VC-1 decoder. Thus use only the first function in
WMV3/VC-1 decoder initialization.

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

14 years agoit is not necessary to display the decoder name, as av_log() automatically prints...
Peter Ross [Wed, 24 Feb 2010 11:51:42 +0000 (11:51 +0000)]
it is not necessary to display the decoder name, as av_log() automatically prints the context

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

14 years agolow-complexity Bink file seeking
Peter Ross [Wed, 24 Feb 2010 11:43:33 +0000 (11:43 +0000)]
low-complexity Bink file seeking

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

14 years agoset AVINDEX_KEYFRAME correctly for bink
Peter Ross [Wed, 24 Feb 2010 11:30:38 +0000 (11:30 +0000)]
set AVINDEX_KEYFRAME correctly for bink

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

14 years agoCorrectly increment continuity_counter in PCR packets.
Yann Coupin [Wed, 24 Feb 2010 10:56:13 +0000 (10:56 +0000)]
Correctly increment continuity_counter in PCR packets.

Patch by Yann Coupin, yann.coupin+ffmpeg gmail

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

14 years agoasfdec: skip byte array tags.
Benoit Fouet [Wed, 24 Feb 2010 07:34:12 +0000 (07:34 +0000)]
asfdec: skip byte array tags.
Patch from Anton Khirnov wyskas gmail

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

14 years agoasfdec: add a debug message about skipped tags.
Benoit Fouet [Wed, 24 Feb 2010 07:33:18 +0000 (07:33 +0000)]
asfdec: add a debug message about skipped tags.
Patch from Anton Khirnov wyskas gmail

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

14 years agoasfdec: fix a memleak.
Benoit Fouet [Wed, 24 Feb 2010 07:32:20 +0000 (07:32 +0000)]
asfdec: fix a memleak.
Patch from Anton Khirnov wyskas gmail

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

14 years agoasfdec: only unicode tags must have even length.
Benoit Fouet [Wed, 24 Feb 2010 07:31:03 +0000 (07:31 +0000)]
asfdec: only unicode tags must have even length.
Patch from: Anton Khirnov wyskas gmail

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

14 years agoIntroduce metadata conversion table for NUT muxer and demuxer.
Anton Khirnov [Wed, 24 Feb 2010 06:27:12 +0000 (06:27 +0000)]
Introduce metadata conversion table for NUT muxer and demuxer.
Patch by Anton Khirnov (wyskas, do no evil mail)
Thread "[PATCH] nut metadata conversion table"

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

14 years agoFFprobe: take only one input file.
Ramiro Polla [Wed, 24 Feb 2010 06:14:59 +0000 (06:14 +0000)]
FFprobe: take only one input file.

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

14 years agoReplace /2 by faster >>1 as the mvd values are now all positive.
Michael Niedermayer [Wed, 24 Feb 2010 01:57:31 +0000 (01:57 +0000)]
Replace /2 by faster >>1 as the mvd values are now all positive.

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

14 years agoRemove unused variable. Seems i forgot to commit this.
Michael Niedermayer [Wed, 24 Feb 2010 01:56:27 +0000 (01:56 +0000)]
Remove unused variable. Seems i forgot to commit this.

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

14 years agoAttempt to fix issue1728 and regression of issue203
Michael Niedermayer [Tue, 23 Feb 2010 23:41:11 +0000 (23:41 +0000)]
Attempt to fix issue1728 and regression of issue203

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

14 years agoSet ist->pts to something that isnt guranteed to entangle itself with stream copying...
Michael Niedermayer [Tue, 23 Feb 2010 22:06:36 +0000 (22:06 +0000)]
Set ist->pts to something that isnt guranteed to entangle itself with stream copying b frames.

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

14 years agoAdd -Wmissing-prototypes to CFLAGS if available.
Diego Biurrun [Tue, 23 Feb 2010 21:03:25 +0000 (21:03 +0000)]
Add -Wmissing-prototypes to CFLAGS if available.

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

14 years agoAlso favor streams with more packets in ffplay.
Michael Niedermayer [Tue, 23 Feb 2010 17:35:44 +0000 (17:35 +0000)]
Also favor streams with more packets in ffplay.

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

14 years agoDont modify wanted_stream.
Michael Niedermayer [Tue, 23 Feb 2010 17:09:53 +0000 (17:09 +0000)]
Dont modify wanted_stream.

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

14 years agoreplace wanted_*_stream by wanted_stream[CODEC_TYPE]
Michael Niedermayer [Tue, 23 Feb 2010 16:56:23 +0000 (16:56 +0000)]
replace wanted_*_stream by wanted_stream[CODEC_TYPE]

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

14 years agomlp_parser: Fix memleak.
Jai Menon [Tue, 23 Feb 2010 16:54:05 +0000 (16:54 +0000)]
mlp_parser: Fix memleak.
ff_combine_frame() is called, which allocates ParseContext->buffer if needed,
so ff_parse_close() must be called to free it.
Patch by jai.

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

14 years agovfwcap: support MJPG compressed streams.
Nash Tsai [Tue, 23 Feb 2010 16:49:16 +0000 (16:49 +0000)]
vfwcap: support MJPG compressed streams.
Patch by Nash Tsai <nash dot tsai at gmail dot com>

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

14 years agoReorder buffer debug. Also print out if slice was buffered.
Ramiro Polla [Tue, 23 Feb 2010 16:46:43 +0000 (16:46 +0000)]
Reorder buffer debug. Also print out if slice was buffered.

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

14 years agoReplace *_index by st_index[codec_type].
Michael Niedermayer [Tue, 23 Feb 2010 16:46:40 +0000 (16:46 +0000)]
Replace *_index by st_index[codec_type].

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

14 years agoFavor streams with more packets if the user did not specify what she wants.
Michael Niedermayer [Tue, 23 Feb 2010 16:31:14 +0000 (16:31 +0000)]
Favor streams with more packets if the user did not specify what she wants.
Fixes issue1156

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

14 years agoCount all frames with codec_info_nb_frames not just ones with non zero
Michael Niedermayer [Tue, 23 Feb 2010 16:29:57 +0000 (16:29 +0000)]
Count all frames with codec_info_nb_frames not just ones with non zero
duration. I hope this breaks nothing. Its needed for my fix of issue1156

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

14 years agoCosmetics: break all Makefile lines at 80 columns or less
Daniel Verkamp [Tue, 23 Feb 2010 16:12:30 +0000 (16:12 +0000)]
Cosmetics: break all Makefile lines at 80 columns or less

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

14 years agoRedesign opt_programid code.
Michael Niedermayer [Tue, 23 Feb 2010 15:08:41 +0000 (15:08 +0000)]
Redesign opt_programid code.
Its now possible to also select programs per input file and there is
less code duplication.

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

14 years agoPut codec_info_nb_frames back in AVStream and print its value.
Michael Niedermayer [Tue, 23 Feb 2010 15:07:18 +0000 (15:07 +0000)]
Put codec_info_nb_frames back in AVStream and print its value.
This way streams with no or very few frames can be avoided during
auto selection

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

14 years agoClarify non constness of src in av_fifo_generic_write()
Michael Niedermayer [Tue, 23 Feb 2010 12:14:13 +0000 (12:14 +0000)]
Clarify non constness of src in av_fifo_generic_write()

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

14 years agoSet video stream duration for Bink demuxer
Peter Ross [Tue, 23 Feb 2010 11:15:18 +0000 (11:15 +0000)]
Set video stream duration for Bink demuxer

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

14 years agoCosmetics: reindent
Martin Storsjö [Tue, 23 Feb 2010 11:05:36 +0000 (11:05 +0000)]
Cosmetics: reindent

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

14 years agoBink audio pts starts at 0, not reported_size
Peter Ross [Tue, 23 Feb 2010 11:01:51 +0000 (11:01 +0000)]
Bink audio pts starts at 0, not reported_size

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

14 years agoUse reported_size to truncate final Bink Audio frame
Peter Ross [Tue, 23 Feb 2010 10:28:11 +0000 (10:28 +0000)]
Use reported_size to truncate final Bink Audio frame

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

14 years agoFix iff demuxer dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:40:46 +0000 (08:40 +0000)]
Fix iff demuxer dependencies

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

14 years agoFix vc1 parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:37:04 +0000 (08:37 +0000)]
Fix vc1 parser dependencies

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

14 years agoFix h264 parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:32:29 +0000 (08:32 +0000)]
Fix h264 parser dependencies

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

14 years agoFix mpeg4video parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:23:59 +0000 (08:23 +0000)]
Fix mpeg4video parser dependencies

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

14 years agoFix wmv2 encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:16:56 +0000 (08:16 +0000)]
Fix wmv2 encoder dependencies

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

14 years agoFix gif encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:12:26 +0000 (08:12 +0000)]
Fix gif encoder dependencies

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

14 years agoFix snow encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:10:01 +0000 (08:10 +0000)]
Fix snow encoder dependencies

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

14 years agoFix svq1 encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:04:55 +0000 (08:04 +0000)]
Fix svq1 encoder dependencies

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

14 years ago10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock and
Kostya Shishkov [Tue, 23 Feb 2010 07:41:29 +0000 (07:41 +0000)]
10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock and
block decoding at exit, so prevent that memory leak now.

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

14 years agoDecode alpha plane in Bink video
Kostya Shishkov [Tue, 23 Feb 2010 07:07:54 +0000 (07:07 +0000)]
Decode alpha plane in Bink video

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

14 years agocosmetics: reindent after last commit
Kostya Shishkov [Tue, 23 Feb 2010 07:01:13 +0000 (07:01 +0000)]
cosmetics: reindent after last commit

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

14 years agoMove plane decoding code into separate function in Bink decoder
Kostya Shishkov [Tue, 23 Feb 2010 07:00:46 +0000 (07:00 +0000)]
Move plane decoding code into separate function in Bink decoder

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

14 years agoBink video decoder now can use extradata to detect alpha plane presence
Kostya Shishkov [Tue, 23 Feb 2010 06:39:23 +0000 (06:39 +0000)]
Bink video decoder now can use extradata to detect alpha plane presence

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

14 years agoMake Bink demuxer pass video flags to decoder
Kostya Shishkov [Tue, 23 Feb 2010 06:36:26 +0000 (06:36 +0000)]
Make Bink demuxer pass video flags to decoder

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

14 years agoDeclare indeo VLC table storage with correct type
Måns Rullgård [Tue, 23 Feb 2010 03:45:51 +0000 (03:45 +0000)]
Declare indeo VLC table storage with correct type

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

14 years agoTry to set has_b_frames in codec init if we know everything alraedy.
Michael Niedermayer [Tue, 23 Feb 2010 01:08:54 +0000 (01:08 +0000)]
Try to set has_b_frames in codec init if we know everything alraedy.
This fixes some issues with the first few timestamps.

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

14 years agoMove extradata reading code into codec init instead of doing it
Michael Niedermayer [Tue, 23 Feb 2010 01:07:39 +0000 (01:07 +0000)]
Move extradata reading code into codec init instead of doing it
in read frame.

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

14 years agoPrefix non-static RTSP functions with ff_.
Ronald S. Bultje [Tue, 23 Feb 2010 00:35:50 +0000 (00:35 +0000)]
Prefix non-static RTSP functions with ff_.

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

14 years agoMake -benchmark also print the maximum memory usage if possible.
Reimar Döffinger [Mon, 22 Feb 2010 22:21:58 +0000 (22:21 +0000)]
Make -benchmark also print the maximum memory usage if possible.

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

14 years agoMake sure mp1/mp2 get their frame_size set.
Michael Niedermayer [Mon, 22 Feb 2010 22:05:20 +0000 (22:05 +0000)]
Make sure mp1/mp2 get their frame_size set.
Fixes issue1696

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

14 years agoAdd an RTSP muxer
Martin Storsjö [Mon, 22 Feb 2010 21:28:19 +0000 (21:28 +0000)]
Add an RTSP muxer

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

14 years agoFree metadata in chained RTP muxers in the RTSP muxer
Martin Storsjö [Mon, 22 Feb 2010 21:20:30 +0000 (21:20 +0000)]
Free metadata in chained RTP muxers in the RTSP muxer

This fixes a minor memory leak

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

14 years agoCosmetics: reindent
Martin Storsjö [Mon, 22 Feb 2010 19:47:22 +0000 (19:47 +0000)]
Cosmetics: reindent

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

14 years agoAdd declarations and doxygen documentation of generic rtsp support functions
Martin Storsjö [Mon, 22 Feb 2010 19:44:08 +0000 (19:44 +0000)]
Add declarations and doxygen documentation of generic rtsp support functions
to rtsp.h, and make the functions non-static

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

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