libav.git
9 years agoImplement av_bmg_next(), a Box-Muller Gaussian random generator.
Stefano Sabatini [Sat, 12 Dec 2009 16:24:37 +0000 (16:24 +0000)]
Implement av_bmg_next(), a Box-Muller Gaussian random generator.

See the thread:
"[FFmpeg-devel] [PATCH] Box-Muller gaussian generator".

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

9 years agoImplement a -filters option, listing all the available libavfilter
Stefano Sabatini [Sat, 12 Dec 2009 16:18:11 +0000 (16:18 +0000)]
Implement a -filters option, listing all the available libavfilter
filters.
Currently filters are not registered, so the option will show none.

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

9 years agoReset pts_buffers in av_read_frame_flush().
John Stebbins [Sat, 12 Dec 2009 15:26:33 +0000 (15:26 +0000)]
Reset pts_buffers in av_read_frame_flush().

Patch by John Stebbins, jstebbins jetheaddev com

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

9 years agoCommit functions used by both AMRNB and SIPR
Vitor Sessak [Sat, 12 Dec 2009 13:58:07 +0000 (13:58 +0000)]
Commit functions used by both AMRNB and SIPR

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

9 years agoReduce the number of encoded frames for the dnxhd tests to 5.
Stefano Sabatini [Sat, 12 Dec 2009 13:52:19 +0000 (13:52 +0000)]
Reduce the number of encoded frames for the dnxhd tests to 5.
Significantly reduce codectest execution time.

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

9 years agoFail earlier for unsupported resolutions or pixel formats when encoding
Tomas Härdin [Fri, 11 Dec 2009 23:56:49 +0000 (23:56 +0000)]
Fail earlier for unsupported resolutions or pixel formats when encoding
dv.

Patch by Tomas Härdin, tomas D hardin A codemill D se

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

9 years agoindent
Michael Niedermayer [Fri, 11 Dec 2009 21:50:08 +0000 (21:50 +0000)]
indent

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

9 years agoMake sure av_new_packet() initializes the data and destruct pointers.
Michael Niedermayer [Fri, 11 Dec 2009 21:49:30 +0000 (21:49 +0000)]
Make sure av_new_packet() initializes the data and destruct pointers.
Some code does call av_free_packet() on failed av_new_packets(), this
prevents the freeing of uninitialized pointers.

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

9 years agoMake parse_filter() parsing more robust.
Stefano Sabatini [Fri, 11 Dec 2009 20:02:10 +0000 (20:02 +0000)]
Make parse_filter() parsing more robust.

Add ';' and '\n' to the terminating characters for the name of a
filter, and ';' to the terminating characters for its args.

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

9 years agoDump RTMP packet contents in debug mode
Kostya Shishkov [Fri, 11 Dec 2009 17:13:35 +0000 (17:13 +0000)]
Dump RTMP packet contents in debug mode

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

9 years ago5l trocadero: don't forget to free packet in gen_connect()
Martin Storsjö [Fri, 11 Dec 2009 15:31:58 +0000 (15:31 +0000)]
5l trocadero: don't forget to free packet in gen_connect()
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)

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

9 years agoDo not try to interact with RTMP server after "stop" command was received.
Martin Storsjö [Fri, 11 Dec 2009 11:37:21 +0000 (11:37 +0000)]
Do not try to interact with RTMP server after "stop" command was received.
Patch by Martin Storsjö ($name at $name dot `Sao Tome and Principe domain`)

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

9 years ago(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.
Carl Eugen Hoyos [Thu, 10 Dec 2009 23:06:23 +0000 (23:06 +0000)]
(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.

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

9 years agoSupport Etymonix MPEG-2 video codec, fixes issue 1603.
Carl Eugen Hoyos [Thu, 10 Dec 2009 22:38:49 +0000 (22:38 +0000)]
Support Etymonix MPEG-2 video codec, fixes issue 1603.

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

9 years agoDo not print 'faac:' when using libfaad.
Carl Eugen Hoyos [Thu, 10 Dec 2009 22:29:21 +0000 (22:29 +0000)]
Do not print 'faac:' when using libfaad.

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

9 years agoCosmetic (restructure RGB ljpeg check to be more readable)
Michael Niedermayer [Thu, 10 Dec 2009 20:05:04 +0000 (20:05 +0000)]
Cosmetic (restructure RGB ljpeg check to be more readable)

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

9 years ago10l, Fix YUV ljpeg that i just broke by mistake.
Michael Niedermayer [Thu, 10 Dec 2009 19:41:47 +0000 (19:41 +0000)]
10l, Fix YUV ljpeg that i just broke by mistake.

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

9 years agoCorrect a forgotten RGB32.
Michael Niedermayer [Thu, 10 Dec 2009 19:40:15 +0000 (19:40 +0000)]
Correct a forgotten RGB32.

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

9 years agoFlip red and blue in rct-less lossless jpeg.
Michael Niedermayer [Thu, 10 Dec 2009 18:18:57 +0000 (18:18 +0000)]
Flip red and blue in rct-less lossless jpeg.
Fixes issue1466, and decoding of plain lossless jpeg.

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

9 years agoLossless jpeg expects and uses BGRA not RGB32 (this probably caused a problem on
Michael Niedermayer [Thu, 10 Dec 2009 18:14:26 +0000 (18:14 +0000)]
Lossless jpeg expects and uses BGRA not RGB32 (this probably caused a problem on
big endian)

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

9 years agoFix RGB LJPEG encoding.
Michael Niedermayer [Thu, 10 Dec 2009 18:07:35 +0000 (18:07 +0000)]
Fix RGB LJPEG encoding.

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

9 years agoCosmetics: Fix typos in r20780.
Carl Eugen Hoyos [Wed, 9 Dec 2009 22:45:56 +0000 (22:45 +0000)]
Cosmetics: Fix typos in r20780.

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

9 years agoadd dvcs to dvvideo, fixes issue 1604
Ben Littler [Wed, 9 Dec 2009 20:55:47 +0000 (20:55 +0000)]
add dvcs to dvvideo, fixes issue 1604

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

9 years agoImprove time_increment_bits guessing code.
Michael Niedermayer [Wed, 9 Dec 2009 14:05:39 +0000 (14:05 +0000)]
Improve time_increment_bits guessing code.

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

9 years agoEnd startcode prefix search at the end of a AVC unit.
Michael Niedermayer [Wed, 9 Dec 2009 12:49:59 +0000 (12:49 +0000)]
End startcode prefix search at the end of a AVC unit.
Fixes issue1550.

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

9 years agorevert r20775, because equivalent code has been committed to x264 instead
Loren Merritt [Wed, 9 Dec 2009 00:38:22 +0000 (00:38 +0000)]
revert r20775, because equivalent code has been committed to x264 instead

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

9 years agoMinor version bump for mbtree addition.
Jason Garrett-Glaser [Wed, 9 Dec 2009 00:24:33 +0000 (00:24 +0000)]
Minor version bump for mbtree addition.

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

9 years agoSupport AVI1 and AVI2 in avi as MJPEG.
Carl Eugen Hoyos [Tue, 8 Dec 2009 23:47:45 +0000 (23:47 +0000)]
Support AVI1 and AVI2 in avi as MJPEG.
Fixes issue 1602.

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

9 years agoMention patcheck.
Zhihang Wang [Tue, 8 Dec 2009 23:23:44 +0000 (23:23 +0000)]
Mention patcheck.

Patch by Zhihang Wang, zhihang D wang A gmail

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

9 years agoMake parse_key_value_pair() print an error message if a key is not
Stefano Sabatini [Tue, 8 Dec 2009 22:01:25 +0000 (22:01 +0000)]
Make parse_key_value_pair() print an error message if a key is not
found in the context.

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

9 years agoUse an unsigned int to contain all the color values of the expressions
Stefano Sabatini [Tue, 8 Dec 2009 22:00:07 +0000 (22:00 +0000)]
Use an unsigned int to contain all the color values of the expressions
of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int
was resulting in unexpected results as the most significant bit was
used for the sign.

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

9 years agofix a crash in ape decoding on x86_32 sse2
Loren Merritt [Tue, 8 Dec 2009 21:24:01 +0000 (21:24 +0000)]
fix a crash in ape decoding on x86_32 sse2

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

9 years agoAC-3 decoder is no longer GPL; update FAQ
Daniel Verkamp [Tue, 8 Dec 2009 21:18:40 +0000 (21:18 +0000)]
AC-3 decoder is no longer GPL; update FAQ

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

9 years agoBoolify options passed to x264.
Jason Garrett-Glaser [Tue, 8 Dec 2009 20:35:01 +0000 (20:35 +0000)]
Boolify options passed to x264.

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

9 years agoAdd MBtree support for libx264
Erik Slagter [Tue, 8 Dec 2009 20:01:46 +0000 (20:01 +0000)]
Add MBtree support for libx264
Patch by Erik Slagter

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

9 years agoaac: Set sample rate in avctx from ADTS header (if not already set by some
Andreas Öman [Tue, 8 Dec 2009 19:20:36 +0000 (19:20 +0000)]
aac: Set sample rate in avctx from ADTS header (if not already set by some
other means)

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

9 years agoReduce warnings about too few consumed bytes to debug level.
Michael Niedermayer [Tue, 8 Dec 2009 17:38:02 +0000 (17:38 +0000)]
Reduce warnings about too few consumed bytes to debug level.
Fixes issue1061.

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

9 years agoFix alpha plane flipping for the yuva420p and similar pixel formats.
Stefano Sabatini [Tue, 8 Dec 2009 17:08:49 +0000 (17:08 +0000)]
Fix alpha plane flipping for the yuva420p and similar pixel formats.

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

9 years agoDo as the comment says and signal an error.
Michael Niedermayer [Tue, 8 Dec 2009 14:50:46 +0000 (14:50 +0000)]
Do as the comment says and signal an error.

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

9 years ago10l bug, use av_fast_malloc() instead if av_malloc() for allocating audio
Michael Niedermayer [Tue, 8 Dec 2009 14:48:36 +0000 (14:48 +0000)]
10l bug, use av_fast_malloc() instead if av_malloc() for allocating audio
buffers.
This and the previous revision fix a heap overflow.

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

9 years agoTry to allocate audio buffer sizes depending on the number of input bytes.
Michael Niedermayer [Tue, 8 Dec 2009 14:28:28 +0000 (14:28 +0000)]
Try to allocate audio buffer sizes depending on the number of input bytes.
Fixes issue1167.

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

9 years agoCheck that the buffer size speified to avcodec_encode_audio() is not larger than...
Michael Niedermayer [Tue, 8 Dec 2009 14:18:15 +0000 (14:18 +0000)]
Check that the buffer size speified to avcodec_encode_audio() is not larger than the actual size.

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

9 years agoDo not assume that av_get_bits_per_sample() is a multiple of 8.
Michael Niedermayer [Tue, 8 Dec 2009 14:10:49 +0000 (14:10 +0000)]
Do not assume that av_get_bits_per_sample() is a multiple of 8.

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

9 years agoRaise threshold of h263 probe by 1 to avoid misdetection.
Michael Niedermayer [Tue, 8 Dec 2009 12:34:08 +0000 (12:34 +0000)]
Raise threshold of h263 probe by 1 to avoid misdetection.
Fixes issue 1588.

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

9 years agoAdd out commented av_log to debug h263_probe.
Michael Niedermayer [Tue, 8 Dec 2009 12:33:00 +0000 (12:33 +0000)]
Add out commented av_log to debug h263_probe.

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

9 years agoAlso print the number of invalid packets in the debug output.
Michael Niedermayer [Tue, 8 Dec 2009 12:24:41 +0000 (12:24 +0000)]
Also print the number of invalid packets in the debug output.

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

9 years agoFlip the comparission direction of vid+audio+priv1 and pspack, it appears to have
Michael Niedermayer [Tue, 8 Dec 2009 12:19:30 +0000 (12:19 +0000)]
Flip the comparission direction of vid+audio+priv1 and pspack, it appears to have
been wrong.
Fixes issue1571.

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

9 years agoMake sure that compilation fails if functions like ff_put_string are used in code
Reimar Döffinger [Mon, 7 Dec 2009 21:06:51 +0000 (21:06 +0000)]
Make sure that compilation fails if functions like ff_put_string are used in code
that  selected a bitstream writer for which they do not work.

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

9 years agoGet rid of audio_out2, it seems unneeded.
Michael Niedermayer [Mon, 7 Dec 2009 16:26:37 +0000 (16:26 +0000)]
Get rid of audio_out2, it seems unneeded.

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

9 years agoUpdate seek.regression.ref. This is due to r20758.
Jai Menon [Mon, 7 Dec 2009 16:01:35 +0000 (16:01 +0000)]
Update seek.regression.ref. This is due to r20758.

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

9 years agoAU : demuxed packet size should be sample size aligned.
Jai Menon [Mon, 7 Dec 2009 13:55:38 +0000 (13:55 +0000)]
AU : demuxed packet size should be sample size aligned.
Fixes issue 1593.

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

9 years agoDocument the differences between the two asm fragments in initMMX2HScaler().
Ramiro Polla [Mon, 7 Dec 2009 03:52:55 +0000 (03:52 +0000)]
Document the differences between the two asm fragments in initMMX2HScaler().

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

9 years agoPrint error messages on errors.
Michael Niedermayer [Mon, 7 Dec 2009 00:35:38 +0000 (00:35 +0000)]
Print error messages on errors.

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

9 years agoFix apparent 10l typos introduced in r8627.
Michael Niedermayer [Sun, 6 Dec 2009 23:51:51 +0000 (23:51 +0000)]
Fix apparent 10l typos introduced in r8627.
These typos moved the exponent pointer too far ahead.
Fixes issue1055.

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

9 years agoStart using intermediate buffers at index 0.
Ramiro Polla [Sun, 6 Dec 2009 22:01:25 +0000 (22:01 +0000)]
Start using intermediate buffers at index 0.
These index variables are incremented before each use, so they should be
initialized to -1.

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

9 years agoReindent after the last commit.
Stefano Sabatini [Sun, 6 Dec 2009 17:41:49 +0000 (17:41 +0000)]
Reindent after the last commit.

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

9 years agoFix slicify when the slice_direction is negative, make it send slices
Stefano Sabatini [Sun, 6 Dec 2009 17:40:41 +0000 (17:40 +0000)]
Fix slicify when the slice_direction is negative, make it send slices
from the bottom to the top one.

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

9 years agoUpdate documentation for r20435 (which added the -fpre option).
Ramiro Polla [Sun, 6 Dec 2009 17:02:12 +0000 (17:02 +0000)]
Update documentation for r20435 (which added the -fpre option).

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

9 years agoCosmetics: Fix indentation after r20751.
Carl Eugen Hoyos [Sun, 6 Dec 2009 15:39:25 +0000 (15:39 +0000)]
Cosmetics: Fix indentation after r20751.

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

9 years agoSimplified deblocking checks.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:38:05 +0000 (15:38 +0000)]
Simplified deblocking checks.

Patch by Dark Shikari

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

9 years agoFaster checks in reverse_dc_prediction.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:33:48 +0000 (15:33 +0000)]
Faster checks in reverse_dc_prediction.

Patch by Dark Shikari

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

9 years agoCheck transform==15 first, since it's more common than 13.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:31:58 +0000 (15:31 +0000)]
Check transform==15 first, since it's more common than 13.

Patch by Dark Shikari

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

9 years agoRevert r20747: It mixed functional and cosmetical changes.
Carl Eugen Hoyos [Sun, 6 Dec 2009 15:30:53 +0000 (15:30 +0000)]
Revert r20747: It mixed functional and cosmetical changes.

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

9 years agoVarious VP3 optimizations.
Jason Garrett-Glaser [Sun, 6 Dec 2009 12:48:09 +0000 (12:48 +0000)]
Various VP3 optimizations.
Faster checks in reverse_dc_prediction.
Simplified deblocking checks.
Check transform==15 first, since it's more common than 13.

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

9 years agocosmetics: insert space between codeword and left parenthesis
Kostya Shishkov [Sun, 6 Dec 2009 07:03:46 +0000 (07:03 +0000)]
cosmetics: insert space between codeword and left parenthesis

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

9 years agoDo not send invokes to RTMP server if we are not connected to it.
Sergiy [Sun, 6 Dec 2009 07:01:37 +0000 (07:01 +0000)]
Do not send invokes to RTMP server if we are not connected to it.
Patch by Sergiy (server.connect("gmail.com").selectAddress("piratfm"))

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

9 years agoCalls to url_fseek should have their return value checked in
Sean Soria [Sun, 6 Dec 2009 00:03:53 +0000 (00:03 +0000)]
Calls to url_fseek should have their return value checked in
av_seek_frame_binary, just as they do in av_seek_frame_generic.
Otherwise, function may return success even though url_fseek reported
failure.

Patch by Sean Soria, first.last at gmail

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

9 years agoslightly faster scalarproduct_and_madd_int16_ssse3 on penryn, no change on conroe
Loren Merritt [Sat, 5 Dec 2009 17:53:11 +0000 (17:53 +0000)]
slightly faster scalarproduct_and_madd_int16_ssse3 on penryn, no change on conroe

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

9 years agor20739 broke compilation on systems without yasm
Loren Merritt [Sat, 5 Dec 2009 17:51:57 +0000 (17:51 +0000)]
r20739 broke compilation on systems without yasm

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

9 years agoUpdate frame_width and frame_height based on the lowres value.
Jai Menon [Sat, 5 Dec 2009 17:51:00 +0000 (17:51 +0000)]
Update frame_width and frame_height based on the lowres value.
Fixes issues 1387, 1097 and probably some other lowres related problems.

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

9 years agoAdd 'const' attribute to the last_asked_format variable, fix a
Stefano Sabatini [Sat, 5 Dec 2009 15:14:01 +0000 (15:14 +0000)]
Add 'const' attribute to the last_asked_format variable, fix a
compiler warning.

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

9 years agorefactor and optimize scalarproduct
Loren Merritt [Sat, 5 Dec 2009 15:09:10 +0000 (15:09 +0000)]
refactor and optimize scalarproduct
29-105% faster apply_filter, 6-90% faster ape decoding on core2
(Any x86 other than core2 probably gets much less, since this is mostly due to ssse3 cachesplit avoidance and I haven't written the full gamut of other cachesplit modes.)
9-123% faster ape decoding on G4.

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

9 years agoFix compilation with runtime cpu detection.
Ramiro Polla [Sat, 5 Dec 2009 09:44:19 +0000 (09:44 +0000)]
Fix compilation with runtime cpu detection.
All functions in swscale_template.c should be declared with the RENAME macro.

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

9 years agoCosmetics: Reindent after r20679.
Carl Eugen Hoyos [Sat, 5 Dec 2009 09:41:23 +0000 (09:41 +0000)]
Cosmetics: Reindent after r20679.

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

9 years agoCosmetics: Reindent after r20736.
Carl Eugen Hoyos [Sat, 5 Dec 2009 09:36:32 +0000 (09:36 +0000)]
Cosmetics: Reindent after r20736.

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

9 years agoMake sure the parsers do not overwrite width/height as this can interfere
Michael Niedermayer [Sat, 5 Dec 2009 03:53:12 +0000 (03:53 +0000)]
Make sure the parsers do not overwrite width/height as this can interfere
with the decoder.
Fixes issue1135.

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

9 years agoAdd an entry for the avfilter_draw_slice() API changes implemented in
Stefano Sabatini [Fri, 4 Dec 2009 23:30:34 +0000 (23:30 +0000)]
Add an entry for the avfilter_draw_slice() API changes implemented in
r20734.

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

9 years agoAdd a slice_dir parameter to avfilter_draw_slice().
Stefano Sabatini [Fri, 4 Dec 2009 23:26:13 +0000 (23:26 +0000)]
Add a slice_dir parameter to avfilter_draw_slice().

Avoid the need to implement slice direction detection code, thus
reducing code duplication.

See the thread:
"[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()".

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

9 years agoCosmetics: remove empty definitions of hw-accelerated PixFmtInfo
Stefano Sabatini [Fri, 4 Dec 2009 23:16:27 +0000 (23:16 +0000)]
Cosmetics: remove empty definitions of hw-accelerated PixFmtInfo
structs.

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

9 years agocosmetics: reindent after last commit
Kostya Shishkov [Fri, 4 Dec 2009 16:52:42 +0000 (16:52 +0000)]
cosmetics: reindent after last commit

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

9 years agoImplement RTMP output (publishing FLV stream to RTMP server).
Sergiy [Fri, 4 Dec 2009 16:52:16 +0000 (16:52 +0000)]
Implement RTMP output (publishing FLV stream to RTMP server).
Patch by Sergiy (piratfm at `do-no-evil-mail`.com)

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

9 years agoDo not crash on frame size changes.
Michael Niedermayer [Fri, 4 Dec 2009 16:20:00 +0000 (16:20 +0000)]
Do not crash on frame size changes.
Fixes issue1481.

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

9 years ago1-13% faster apply_filter, 1-3% faster ape decoding on core2
Loren Merritt [Fri, 4 Dec 2009 15:12:09 +0000 (15:12 +0000)]
1-13% faster apply_filter, 1-3% faster ape decoding on core2

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

9 years agoCompress headers for output RTMP packets.
Sergiy [Fri, 4 Dec 2009 15:01:58 +0000 (15:01 +0000)]
Compress headers for output RTMP packets.
Patch by Sergiy (piratfmGMAIL)

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

9 years ago100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder
Kostya Shishkov [Fri, 4 Dec 2009 08:18:13 +0000 (08:18 +0000)]
100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder

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

9 years agoMake sure ff_init_qscale_tab() is called one way or another when
Michael Niedermayer [Thu, 3 Dec 2009 21:38:10 +0000 (21:38 +0000)]
Make sure ff_init_qscale_tab() is called one way or another when
adaptive quantization is enabled.
Fixes issue509.

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

9 years agoMove ff_init_qscale_tab() from h263.c to mpegvideo, the function is not h263 specific.
Michael Niedermayer [Thu, 3 Dec 2009 21:36:58 +0000 (21:36 +0000)]
Move ff_init_qscale_tab() from h263.c to mpegvideo, the function is not h263 specific.

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

9 years agolzw.h does not need get_bits.h, tiff.c needs intreadwrite.h for AV_R* though
Baptiste Coudurier [Thu, 3 Dec 2009 19:19:57 +0000 (19:19 +0000)]
lzw.h does not need get_bits.h, tiff.c needs intreadwrite.h for AV_R* though

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

9 years agouse lzw compression in gif encoder
Baptiste Coudurier [Thu, 3 Dec 2009 19:17:39 +0000 (19:17 +0000)]
use lzw compression in gif encoder

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

9 years agoport ape dsp functions from sse2 to mmx
Loren Merritt [Thu, 3 Dec 2009 18:53:12 +0000 (18:53 +0000)]
port ape dsp functions from sse2 to mmx
now requires yasm

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

9 years agoAdd support for nv12/nv21 input.
Ramiro Polla [Thu, 3 Dec 2009 18:18:13 +0000 (18:18 +0000)]
Add support for nv12/nv21 input.

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

9 years agoMake av_log_level static at next lavu major version bump.
Ramiro Polla [Thu, 3 Dec 2009 18:15:54 +0000 (18:15 +0000)]
Make av_log_level static at next lavu major version bump.

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

9 years agoavoid an unpredictable branch
Loren Merritt [Thu, 3 Dec 2009 17:48:54 +0000 (17:48 +0000)]
avoid an unpredictable branch
20% faster predictor_update_filter, .4-4% faster ape decoding on core2

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

9 years agoinline to allow constant propagation
Loren Merritt [Thu, 3 Dec 2009 17:44:08 +0000 (17:44 +0000)]
inline to allow constant propagation
50% faster predictor_update_filter, 1-10% faster ape decoding on core2

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

9 years agoRemove duplicating variable
Kostya Shishkov [Thu, 3 Dec 2009 17:11:48 +0000 (17:11 +0000)]
Remove duplicating variable

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

9 years ago5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it
Kostya Shishkov [Thu, 3 Dec 2009 16:13:51 +0000 (16:13 +0000)]
5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it

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

9 years agoSend connect() and createStream() in RTMP system channel, not video channel.
Sergiy [Thu, 3 Dec 2009 15:59:51 +0000 (15:59 +0000)]
Send connect() and createStream() in RTMP system channel, not video channel.
Patch by Sergiy (com gmail . piratfm @ mail =)

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

9 years agoMove "app" string into RTMP protocol context.
Sergiy [Thu, 3 Dec 2009 15:47:00 +0000 (15:47 +0000)]
Move "app" string into RTMP protocol context.
Patch by Sergiy (com.gmail@piratfm)

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

9 years agoRTMP packets with one-byte header use previous packet timestamp difference, so
Sergiy [Thu, 3 Dec 2009 06:40:37 +0000 (06:40 +0000)]
RTMP packets with one-byte header use previous packet timestamp difference, so
track timestamp difference as well.
Patch by Sergiy (mail.composeAddress("piratfm","gmail.com"))

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

9 years agoUpdate help text for -fpre option to make it a little less confusing.
Ramiro Polla [Thu, 3 Dec 2009 00:55:52 +0000 (00:55 +0000)]
Update help text for -fpre option to make it a little less confusing.

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