ffmpeg.git
9 years agoMove check for and call of predict_field_decoding_flag() from the mb code to
Michael Niedermayer [Wed, 17 Feb 2010 02:14:02 +0000 (02:14 +0000)]
Move check for and call of predict_field_decoding_flag() from the mb code to
the row code. This function would only be needed on a MB basis for MBAFF+FMO

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

9 years ago2x faster ff_h264_init_cabac_states(), 4k cpu cycles less.
Michael Niedermayer [Tue, 16 Feb 2010 23:43:08 +0000 (23:43 +0000)]
2x faster ff_h264_init_cabac_states(), 4k cpu cycles less.
Sadly this is just per slice so the speedup with normal files should be negligible.

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

9 years agoRemove first_rtcp_ntp_time. This is used to prevent overflow of the timestamp,
Ronald S. Bultje [Tue, 16 Feb 2010 23:00:03 +0000 (23:00 +0000)]
Remove first_rtcp_ntp_time. This is used to prevent overflow of the timestamp,
but doesn't actually do that. What's worse, it creates timestamp adjustments
that are different per stream within a session, leading to a/v sync issues.

See discussion in thread "[FFmpeg-devel] rtp streaming x264+audio issues (and
some ideas to fix them)". Patch suggested by Luca Abeni <lucabe72 email it>.

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

9 years agoWhen using RTP-over-UDP, send dummy packets during stream setup, similar to
Martin Storsjö [Tue, 16 Feb 2010 22:50:50 +0000 (22:50 +0000)]
When using RTP-over-UDP, send dummy packets during stream setup, similar to
what e.g. RealPlayer does. This allows proper port forwarding setup in NAT-
based environments.

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

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

9 years agoRename the "enc" variable, which refers to the AVCodecContext of a
Stefano Sabatini [Tue, 16 Feb 2010 22:38:43 +0000 (22:38 +0000)]
Rename the "enc" variable, which refers to the AVCodecContext of a
decoder, to "avctx".

See the thread:
Subject: [FFmpeg-devel] [PATCH] enc is not a good name for a decoder context
Date: Mon, 28 Dec 2009 22:56:25 +0100

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

9 years agoMove read_line() and write_line() definition from pixdesc.h to
Stefano Sabatini [Tue, 16 Feb 2010 20:17:50 +0000 (20:17 +0000)]
Move read_line() and write_line() definition from pixdesc.h to
pixdesc.c, which are now not anymore marked as static inline.

Fix the inclusion of the private header intreadwrite.h in the public
header pixdesc.h.

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

9 years agoFix two problems (no idea how this ever worked):
Ronald S. Bultje [Tue, 16 Feb 2010 19:26:49 +0000 (19:26 +0000)]
Fix two problems (no idea how this ever worked):
- the return value of url_open_dyn_*buf() is 0 on success, so using
   if (!(res = url_open_dyn_*buf())) return res; is not going to work
- url_open_dyn_packet_buf actually writes the max_packet_size before
   each piece of data. Feeding this to the ASF demuxer will never work.
   Therefore, use url_open_dyn_buf() instead.

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

9 years agoRevert r21851.
Ronald S. Bultje [Tue, 16 Feb 2010 18:25:05 +0000 (18:25 +0000)]
Revert r21851.

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

9 years agoDon't return 0 if buffer setup failed. That signals the RTSP demuxer that
Ronald S. Bultje [Tue, 16 Feb 2010 18:19:28 +0000 (18:19 +0000)]
Don't return 0 if buffer setup failed. That signals the RTSP demuxer that
the packet was filled in, leading to virtually random behaviour in the
decoder later on. Instead, return a negative value.

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

9 years agoSet lavf identification string globally in av_write_header(), rather
Anton Khirnov [Tue, 16 Feb 2010 16:32:25 +0000 (16:32 +0000)]
Set lavf identification string globally in av_write_header(), rather
than inside the muxers. Remove special handling of "encoder" tags from
AVI and MP3 muxers.

Patch by Anton Khirnov <wyskas gmail com>.

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

9 years agoLimit the Rice parameter used for progressive decoding in ALS.
Thilo Borgmann [Tue, 16 Feb 2010 14:48:01 +0000 (14:48 +0000)]
Limit the Rice parameter used for progressive decoding in ALS.

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

9 years agoAdd lsp.o as a dependency for wmavoice. This fixes a compilation error when
James Darnley [Tue, 16 Feb 2010 14:33:13 +0000 (14:33 +0000)]
Add lsp.o as a dependency for wmavoice. This fixes a compilation error when
you disable lots of stuff (in particular other voice codecs) but leave
wmavoice enabled.

Patch by James Darnley <$firstname dot $lastname at gmail dot com>.

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

9 years agoSupport IFF ANNO (annotation) chunk type
Peter Ross [Tue, 16 Feb 2010 09:55:56 +0000 (09:55 +0000)]
Support IFF ANNO (annotation) chunk type

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

9 years agoSupport <8-bit ILBM uncompressed bitmaps
Peter Ross [Tue, 16 Feb 2010 09:33:59 +0000 (09:33 +0000)]
Support <8-bit ILBM uncompressed bitmaps

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

9 years ago2 cpu cycles faster context calculation for decode_cabac_intra_mb_type()
Michael Niedermayer [Tue, 16 Feb 2010 02:51:37 +0000 (02:51 +0000)]
2 cpu cycles faster context calculation for decode_cabac_intra_mb_type()

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

9 years agoDrop a few redundant slice_num checks.
Michael Niedermayer [Tue, 16 Feb 2010 00:09:30 +0000 (00:09 +0000)]
Drop a few redundant slice_num checks.

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

9 years agoDrop compute_mb_neighbors() and move fill_decode_neighbors() up to take its
Michael Niedermayer [Mon, 15 Feb 2010 23:04:07 +0000 (23:04 +0000)]
Drop compute_mb_neighbors() and move fill_decode_neighbors() up to take its
role.
Should be faster as this is a strict code removial.

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

9 years agoSplit setting neighboring MBs from fill_decode_caches()
Michael Niedermayer [Mon, 15 Feb 2010 22:07:02 +0000 (22:07 +0000)]
Split setting neighboring MBs from fill_decode_caches()
no speed change.

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

9 years agoStrings in extended content header are UTF16,
Anton Khirnov [Mon, 15 Feb 2010 21:19:40 +0000 (21:19 +0000)]
Strings in extended content header are UTF16,
so terminating NULLs are 2 bytes long, not 1.

Patch by Anton Khirnov, wyskas gmail

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

9 years agoworkaround for broken files created by previous versions of asfenc.
Anton Khirnov [Mon, 15 Feb 2010 21:14:47 +0000 (21:14 +0000)]
workaround for broken files created by previous versions of asfenc.

Patch by Anton Khirnov, wyskas gmail

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

9 years agoSimplify decode_cabac_mb_intra4x4_pred_mode().
Michael Niedermayer [Mon, 15 Feb 2010 19:22:09 +0000 (19:22 +0000)]
Simplify decode_cabac_mb_intra4x4_pred_mode().
same speed

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

9 years agoMerge decode_cabac_mb_type_b() into calling code.
Michael Niedermayer [Mon, 15 Feb 2010 19:20:49 +0000 (19:20 +0000)]
Merge decode_cabac_mb_type_b() into calling code.
This avoids a conditional branch and is about 3 cpu cyclues faster.

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

9 years agoRemove outdated comment.
Maxim Poliakovski [Mon, 15 Feb 2010 17:37:38 +0000 (17:37 +0000)]
Remove outdated comment.

Patch by Maxim, max_pole gmx de

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

9 years agoadd heuristic to discern the old sample clips from streams encoded
Stefan Gehrer [Mon, 15 Feb 2010 16:43:45 +0000 (16:43 +0000)]
add heuristic to discern the old sample clips from streams encoded
with rm52j encoder, a marker_bit has been added in the I-Frame syntax

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

9 years agoavoid using DECLARE_ALIGNED on stack variable as suggested by Reimar
Stefan Gehrer [Mon, 15 Feb 2010 16:37:13 +0000 (16:37 +0000)]
avoid using DECLARE_ALIGNED on stack variable as suggested by Reimar

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

9 years agoAAC: Mark che_configure() as av_cold.
Alex Converse [Mon, 15 Feb 2010 16:29:46 +0000 (16:29 +0000)]
AAC: Mark che_configure() as av_cold.

It is also only called when the output configuration is not locked.

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

9 years agoAAC: Mark functions that are only called when the output configuration is not locked...
Alex Converse [Mon, 15 Feb 2010 16:19:46 +0000 (16:19 +0000)]
AAC: Mark functions that are only called when the output configuration is not locked as av_cold.

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

9 years agoIFF bitmap n-bit color support
Peter Ross [Mon, 15 Feb 2010 11:26:35 +0000 (11:26 +0000)]
IFF bitmap n-bit color support

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

9 years ago10l ;; gcc 2.95 compilation fix by mike
Michael Niedermayer [Mon, 15 Feb 2010 09:11:00 +0000 (09:11 +0000)]
10l ;; gcc 2.95 compilation fix by mike

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

9 years ago10l use pack16to32(), should fix big endian h264 failures.
Michael Niedermayer [Mon, 15 Feb 2010 01:24:50 +0000 (01:24 +0000)]
10l use pack16to32(), should fix big endian h264 failures.

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

9 years agoMerge the single line function decode_cabac_mb_transform_size()
Michael Niedermayer [Mon, 15 Feb 2010 01:04:07 +0000 (01:04 +0000)]
Merge the single line function decode_cabac_mb_transform_size()
into the calling code.
8 cpu cycles faster

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

9 years agoindent
Michael Niedermayer [Sun, 14 Feb 2010 23:10:02 +0000 (23:10 +0000)]
indent

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

9 years agoMerge decode_cabac_mb_dqp() with surronding code.
Michael Niedermayer [Sun, 14 Feb 2010 23:06:25 +0000 (23:06 +0000)]
Merge decode_cabac_mb_dqp() with surronding code.
~20 cpu cycles faster

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

9 years agoDrop if(0) code.
Michael Niedermayer [Sun, 14 Feb 2010 22:59:19 +0000 (22:59 +0000)]
Drop if(0) code.

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

9 years agoReindent
Reimar Döffinger [Sun, 14 Feb 2010 19:00:36 +0000 (19:00 +0000)]
Reindent

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

9 years agoOptimize h261_probe function, since it is far slower than all others.
Reimar Döffinger [Sun, 14 Feb 2010 18:59:56 +0000 (18:59 +0000)]
Optimize h261_probe function, since it is far slower than all others.
About 5 times faster.

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

9 years agoSet sub_mb_type in direct_cache instead of just the direct flag.
Michael Niedermayer [Sun, 14 Feb 2010 16:51:31 +0000 (16:51 +0000)]
Set sub_mb_type in direct_cache instead of just the direct flag.
Simpler, cleaner and faster.

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

9 years agoStore sub_mb_type in direct_cache/direct_table.
Michael Niedermayer [Sun, 14 Feb 2010 14:41:27 +0000 (14:41 +0000)]
Store sub_mb_type in direct_cache/direct_table.
This is equal complexity but could be more usefull.

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

9 years agoAdd myself as maintainer of bgmc.[ch].
Thilo Borgmann [Sun, 14 Feb 2010 10:17:58 +0000 (10:17 +0000)]
Add myself as maintainer of bgmc.[ch].

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

9 years agoRemove slice_table checks from decode_cabac_mb_cbp_luma() and set left/top_cbp so
Michael Niedermayer [Sun, 14 Feb 2010 02:08:48 +0000 (02:08 +0000)]
Remove slice_table checks from decode_cabac_mb_cbp_luma() and set left/top_cbp so
these checks arent needed.

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

9 years agoRevert r21814
Michael Niedermayer [Sun, 14 Feb 2010 02:04:41 +0000 (02:04 +0000)]
Revert r21814
Log:
h264: Fix pointer warnings by removing redundant [0]

Fixes:
h264.h:1222:38: warning: initialization from incompatible pointer type
h264.h:1299:38: warning: initialization from incompatible pointer type
h264.h:1314:42: warning: initialization from incompatible pointer type

Reason: breaks h264 decoding & fate

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

9 years agoCosmetics, vertical align.
Michael Niedermayer [Sun, 14 Feb 2010 01:14:05 +0000 (01:14 +0000)]
Cosmetics, vertical align.

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

9 years agoDirect temporal skiped MBs dont need fill_decode_caches() at all so dont call it
Michael Niedermayer [Sat, 13 Feb 2010 22:53:44 +0000 (22:53 +0000)]
Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it
for them.

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

9 years agoh264: Remove unused variables.
Alexander Strange [Sat, 13 Feb 2010 21:09:38 +0000 (21:09 +0000)]
h264: Remove unused variables.

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

9 years agoh264: Fix pointer warnings by removing redundant [0]
Alexander Strange [Sat, 13 Feb 2010 21:08:17 +0000 (21:08 +0000)]
h264: Fix pointer warnings by removing redundant [0]

Fixes:
h264.h:1222:38: warning: initialization from incompatible pointer type
h264.h:1299:38: warning: initialization from incompatible pointer type
h264.h:1314:42: warning: initialization from incompatible pointer type

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

9 years agoFix integer overflow warnings in h264.h
Alexander Strange [Sat, 13 Feb 2010 20:57:13 +0000 (20:57 +0000)]
Fix integer overflow warnings in h264.h

Fixes:
h264.h: In function 'fill_filter_caches':
h264.h:1216:73: warning: integer overflow in expression
h264.h:1307:81: warning: integer overflow in expression

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

9 years agoMerge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)
Michael Niedermayer [Sat, 13 Feb 2010 20:13:54 +0000 (20:13 +0000)]
Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)

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

9 years agoSkiped MBs dont need the cbp stuff so skip initing that.
Michael Niedermayer [Sat, 13 Feb 2010 20:13:10 +0000 (20:13 +0000)]
Skiped MBs dont need the cbp stuff so skip initing that.

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

9 years agoReindent a line.
Thilo Borgmann [Sat, 13 Feb 2010 19:59:53 +0000 (19:59 +0000)]
Reindent a line.

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

9 years agoAlso skip direct/mvd_cache init for skiped blocks.
Michael Niedermayer [Sat, 13 Feb 2010 19:39:18 +0000 (19:39 +0000)]
Also skip direct/mvd_cache init for skiped blocks.
Odd thing is i thought ive tryed this already and it failed previously.

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

9 years agoAdd myself as contributor.
Thilo Borgmann [Sat, 13 Feb 2010 19:24:32 +0000 (19:24 +0000)]
Add myself as contributor.

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

9 years agoAdd myself as ALS maintainer.
Thilo Borgmann [Sat, 13 Feb 2010 19:23:39 +0000 (19:23 +0000)]
Add myself as ALS maintainer.

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

9 years agoMove more code under if(!IS_DIRECT(mb_type)).
Michael Niedermayer [Sat, 13 Feb 2010 19:00:51 +0000 (19:00 +0000)]
Move more code under if(!IS_DIRECT(mb_type)).

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

9 years agoMove CODEC_FLAG_GRAY check to outer loop
David Conrad [Sat, 13 Feb 2010 18:59:25 +0000 (18:59 +0000)]
Move CODEC_FLAG_GRAY check to outer loop

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

9 years agoMove branch based on custom mode outside the loop
David Conrad [Sat, 13 Feb 2010 18:59:21 +0000 (18:59 +0000)]
Move branch based on custom mode outside the loop

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

9 years agoDirectly check whether a fragment is coded for 4MV mode instead of iterating
David Conrad [Sat, 13 Feb 2010 18:55:27 +0000 (18:55 +0000)]
Directly check whether a fragment is coded for 4MV mode instead of iterating
through the entire coded fragment list.

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

9 years agoEliminate fragment -> macroblock mapping array
David Conrad [Sat, 13 Feb 2010 18:55:24 +0000 (18:55 +0000)]
Eliminate fragment -> macroblock mapping array

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

9 years agoEliminate macroblock -> fragment mapping array
David Conrad [Sat, 13 Feb 2010 18:55:21 +0000 (18:55 +0000)]
Eliminate macroblock -> fragment mapping array

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

9 years agoEliminate superblock <-> macroblock mapping array
David Conrad [Sat, 13 Feb 2010 18:55:17 +0000 (18:55 +0000)]
Eliminate superblock <-> macroblock mapping array

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

9 years agoSupport arithmetic decoding in ALS.
Thilo Borgmann [Sat, 13 Feb 2010 18:24:13 +0000 (18:24 +0000)]
Support arithmetic decoding in ALS.

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

9 years agoSkip some more code that isnt needed for direct MBs.
Michael Niedermayer [Sat, 13 Feb 2010 18:23:46 +0000 (18:23 +0000)]
Skip some more code that isnt needed for direct MBs.

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

9 years agoadd netspeak gsm and truespeech wav format tags to riff.c
Ben Littler [Sat, 13 Feb 2010 17:57:24 +0000 (17:57 +0000)]
add netspeak gsm and truespeech wav format tags to riff.c

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

9 years agoFix reading beyond buffer end on RA144Context.lpc_tables.
Francesco Lavra [Sat, 13 Feb 2010 17:42:58 +0000 (17:42 +0000)]
Fix reading beyond buffer end on RA144Context.lpc_tables.

Patch by Francesco Lavra (francescolavra -at- interfree -dot- it)

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

9 years agoDo not call lseek() with invalid whence value
Måns Rullgård [Sat, 13 Feb 2010 16:56:37 +0000 (16:56 +0000)]
Do not call lseek() with invalid whence value

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

9 years agoMove setting MB_TYPE_L0L1 for direct MBs up, this is simpler.
Michael Niedermayer [Sat, 13 Feb 2010 15:57:49 +0000 (15:57 +0000)]
Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.

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

9 years agoDont calculate any surrounding MVs for temporal MBs
Michael Niedermayer [Sat, 13 Feb 2010 15:30:27 +0000 (15:30 +0000)]
Dont calculate any surrounding MVs for temporal MBs

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

9 years agoAdd my name to CREDITS.
Stefano Sabatini [Sat, 13 Feb 2010 15:12:05 +0000 (15:12 +0000)]
Add my name to CREDITS.

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

9 years agoSimplify if()
Michael Niedermayer [Sat, 13 Feb 2010 13:28:04 +0000 (13:28 +0000)]
Simplify if()

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

9 years agoInit sub_mb_type cleanly.
Michael Niedermayer [Sat, 13 Feb 2010 13:14:07 +0000 (13:14 +0000)]
Init sub_mb_type cleanly.

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

9 years ago100l Forgoten hunk.unbreak compile before someone notices.
Michael Niedermayer [Sat, 13 Feb 2010 13:04:11 +0000 (13:04 +0000)]
100l Forgoten hunk.unbreak compile before someone notices.

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

9 years agoRestructure spatial direct MV generation so that the zero predictior shortcut
Michael Niedermayer [Sat, 13 Feb 2010 13:02:25 +0000 (13:02 +0000)]
Restructure spatial direct MV generation so that the zero predictior shortcut
is closer at the top.
50-130 cpu cycles faster depending on which kind of direct MBs are meassured.

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

9 years agoSplit spatial and temporal direct MV generation.
Michael Niedermayer [Sat, 13 Feb 2010 03:46:51 +0000 (03:46 +0000)]
Split spatial and temporal direct MV generation.
A little  faster and needed for future optimizations.
This sadly leads to some code duplication (which i hope i can factor out
again after the optimizations on the direcr mv code are done)

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

9 years agoFix compilation with --enable-libgsm on Gentoo and OpenSUSE.
Ramiro Polla [Sat, 13 Feb 2010 03:43:10 +0000 (03:43 +0000)]
Fix compilation with --enable-libgsm on Gentoo and OpenSUSE.

Patch by Ramiro

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

9 years agoSpecial case for spatial direct MV predictor being 0.
Michael Niedermayer [Sat, 13 Feb 2010 02:47:41 +0000 (02:47 +0000)]
Special case for spatial direct MV predictor being 0.
a little less than 200 cpu cycles faster with the cathedral sample.

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

9 years agoPack MVs together from the begin for spatial direct, this simplifies the code
Michael Niedermayer [Sat, 13 Feb 2010 02:20:56 +0000 (02:20 +0000)]
Pack MVs together from the begin for spatial direct, this simplifies the code
and is a bit faster (5-10 cpu cycles depending on what is meassured).

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

9 years agoDont drop B frames without last_picture.
Michael Niedermayer [Fri, 12 Feb 2010 23:28:33 +0000 (23:28 +0000)]
Dont drop B frames without last_picture.
Fixes issue1722

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

9 years agoSpecial case VP5/6 chroma alignment on x86 as well
David Conrad [Fri, 12 Feb 2010 22:01:42 +0000 (22:01 +0000)]
Special case VP5/6 chroma alignment on x86 as well

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

9 years agoDon't pre-calculate first_pixel
David Conrad [Fri, 12 Feb 2010 22:01:38 +0000 (22:01 +0000)]
Don't pre-calculate first_pixel

3.6% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn

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

9 years agoImplement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoder
David Conrad [Fri, 12 Feb 2010 22:01:35 +0000 (22:01 +0000)]
Implement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoder

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

9 years agoCosmetics: reindent
David Conrad [Fri, 12 Feb 2010 22:01:32 +0000 (22:01 +0000)]
Cosmetics: reindent

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

9 years agoDo loop filter per-row rather than per-frame
David Conrad [Fri, 12 Feb 2010 22:01:29 +0000 (22:01 +0000)]
Do loop filter per-row rather than per-frame

3% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn

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

9 years agoMove apply_loop_filter above render_slice, it'll be used by the latter soon
David Conrad [Fri, 12 Feb 2010 22:01:25 +0000 (22:01 +0000)]
Move apply_loop_filter above render_slice, it'll be used by the latter soon

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

9 years agoExport Theora colorspace info if present
David Conrad [Fri, 12 Feb 2010 22:01:22 +0000 (22:01 +0000)]
Export Theora colorspace info if present

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

9 years agoTheora 3.4 doesn't exist; these fields were misunderstandings of the spec
David Conrad [Fri, 12 Feb 2010 22:01:18 +0000 (22:01 +0000)]
Theora 3.4 doesn't exist; these fields were misunderstandings of the spec

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

9 years agoRemove unused code that's moved elsewhere
David Conrad [Fri, 12 Feb 2010 22:00:29 +0000 (22:00 +0000)]
Remove unused code that's moved elsewhere

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

9 years agoAdd flag so muxers not needing width/height can signal this.
Michael Niedermayer [Fri, 12 Feb 2010 20:35:29 +0000 (20:35 +0000)]
Add flag so muxers not needing width/height can signal this.
Add this flag to img2 (fixes -vcodec copy to image2 in some cases)

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

9 years agoTry to support truncated h264 frames mixed with mpeg pes headers in mkv.
Michael Niedermayer [Fri, 12 Feb 2010 19:25:23 +0000 (19:25 +0000)]
Try to support truncated h264 frames mixed with mpeg pes headers in mkv.
Fixes issue1585

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

9 years agoUse int8_t instead of char, the signedness of char can differ between systems.
Reimar Döffinger [Fri, 12 Feb 2010 18:18:35 +0000 (18:18 +0000)]
Use int8_t instead of char, the signedness of char can differ between systems.

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

9 years agoWMAVoice decoder.
Ronald S. Bultje [Fri, 12 Feb 2010 14:22:41 +0000 (14:22 +0000)]
WMAVoice decoder.

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

9 years agoMake DeluxePaint Animation demuxer actually return the find_record() error code ...
Peter Ross [Fri, 12 Feb 2010 11:31:35 +0000 (11:31 +0000)]
Make DeluxePaint Animation demuxer actually return the find_record() error code (issue 1739).

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

9 years agoAdd GEOV fourcc (issue971).
Michael Niedermayer [Fri, 12 Feb 2010 01:37:53 +0000 (01:37 +0000)]
Add GEOV fourcc (issue971).

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

9 years agoAdd "tomi" architecture
Måns Rullgård [Thu, 11 Feb 2010 23:59:49 +0000 (23:59 +0000)]
Add "tomi" architecture

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

9 years agoconfigure: require --arch and --target-os when cross-compiling
Måns Rullgård [Thu, 11 Feb 2010 23:57:52 +0000 (23:57 +0000)]
configure: require --arch and --target-os when cross-compiling

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

9 years agoffplay depends on rdft
Måns Rullgård [Thu, 11 Feb 2010 23:40:47 +0000 (23:40 +0000)]
ffplay depends on rdft

Spotted by Ramiro.

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

9 years agoFix build with --disable-mdct
Måns Rullgård [Thu, 11 Feb 2010 23:40:45 +0000 (23:40 +0000)]
Fix build with --disable-mdct

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

9 years agoconfigure: add missing mdct deps
Måns Rullgård [Thu, 11 Feb 2010 23:40:39 +0000 (23:40 +0000)]
configure: add missing mdct deps

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

9 years agoconfigure: make mdct and rdft select fft and update other deps
Måns Rullgård [Thu, 11 Feb 2010 23:40:37 +0000 (23:40 +0000)]
configure: make mdct and rdft select fft and update other deps

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

9 years agoFix timestamps.
Michael Niedermayer [Thu, 11 Feb 2010 22:32:46 +0000 (22:32 +0000)]
Fix timestamps.

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

9 years agoRemove recording_time check which is no longer necessary after r21687.
Wolfram Gloger [Thu, 11 Feb 2010 21:54:09 +0000 (21:54 +0000)]
Remove recording_time check which is no longer necessary after r21687.

Patch by Wolfram Gloger, wmglo A dent D med D uni-muenchen D de

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

9 years agoSimplify expression as suggested by Måns Rullgård
Kostya Shishkov [Thu, 11 Feb 2010 14:08:40 +0000 (14:08 +0000)]
Simplify expression as suggested by Måns Rullgård

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