platform/upstream/libav.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoUpdate Changelog, documentation, and libavformat minor version number for
Ramiro Polla [Thu, 3 Dec 2009 00:27:01 +0000 (00:27 +0000)]
Update Changelog, documentation, and libavformat minor version number for
"A format generated by IndigoVision 8000 video server" added in r20681.

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

14 years agoRevert r20095: Allow compiling to vorbis again.
Philipp Matthias Hahn [Wed, 2 Dec 2009 23:51:15 +0000 (23:51 +0000)]
Revert r20095: Allow compiling to vorbis again.

Original patch by Philipp Matthias Hahn, pmhahn pmhahn de

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

14 years agopass avctx as argument instead of width and height
Baptiste Coudurier [Wed, 2 Dec 2009 21:25:28 +0000 (21:25 +0000)]
pass avctx as argument instead of width and height

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

14 years agoremove useless params
Baptiste Coudurier [Wed, 2 Dec 2009 21:05:06 +0000 (21:05 +0000)]
remove useless params

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

14 years agoremove useless params
Baptiste Coudurier [Wed, 2 Dec 2009 21:04:23 +0000 (21:04 +0000)]
remove useless params

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

14 years agomove private context declaration at the top
Baptiste Coudurier [Wed, 2 Dec 2009 21:01:12 +0000 (21:01 +0000)]
move private context declaration at the top

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

14 years agoFix 1 pass RC in snow.
Michael Niedermayer [Wed, 2 Dec 2009 20:07:23 +0000 (20:07 +0000)]
Fix 1 pass RC in snow.
Fixes issue547.

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

14 years agoARM: 1l c&p fix: do not set pred16x16_plane for rv40
Måns Rullgård [Wed, 2 Dec 2009 17:21:43 +0000 (17:21 +0000)]
ARM: 1l c&p fix: do not set pred16x16_plane for rv40

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

14 years agoARM: NEON optimised H264 16x16, 8x8 pred
Måns Rullgård [Wed, 2 Dec 2009 14:56:45 +0000 (14:56 +0000)]
ARM: NEON optimised H264 16x16, 8x8 pred

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

14 years agoAdd another known RTMP channel ID to enum.
Sergiy [Wed, 2 Dec 2009 13:00:28 +0000 (13:00 +0000)]
Add another known RTMP channel ID to enum.
From patch by Sergiy (mail = piratfm, gmail)

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

14 years agoMove is_input flag into RTMP protocol context.
Sergiy [Wed, 2 Dec 2009 12:55:10 +0000 (12:55 +0000)]
Move is_input flag into RTMP protocol context.
Patch by Sergiy (gmail(piratfm))
Thread "[PATCH] rtmp-output"

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

14 years agoAAC: Add a global header but output not locked output configuration status.
Alex Converse [Wed, 2 Dec 2009 09:12:05 +0000 (09:12 +0000)]
AAC: Add a global header but output not locked output configuration status.

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

14 years agoSet the SBR mode to implicit on ADTS frames occurring before the output is locked.
Alex Converse [Wed, 2 Dec 2009 09:07:32 +0000 (09:07 +0000)]
Set the SBR mode to implicit on ADTS frames occurring before the output is locked.

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

14 years agoSmall refactoring: Instead of 4 loops for decoding AC coefficients based
Mike Melanson [Wed, 2 Dec 2009 04:06:27 +0000 (04:06 +0000)]
Small refactoring: Instead of 4 loops for decoding AC coefficients based
on their grouping, create one loop that indexes into a table of AC VLC
tables.

There is also a small optimization here: Do not call unpack_vlcs()
if there are no fragments in the list with outstanding coefficients.
My profiling indicates that this can save upwards of 1 million
dezicycles per frame throughout the course of unpack_dct_coeffs().

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

14 years agoUse a list to track which fragments coded in this frame still have
Mike Melanson [Wed, 2 Dec 2009 02:30:15 +0000 (02:30 +0000)]
Use a list to track which fragments coded in this frame still have
outstanding coefficients yet to be decoded from the bitstream. Once a
fragment reaches end-of-block, remove it from this new list. This change
makes the VP3/Theora entropy decode process dramatically faster due to
not having to iterate incessantly over fragments which have already been
fully decoded.

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

14 years agoARM: small tweak of NEON H264 IDCT
Måns Rullgård [Wed, 2 Dec 2009 00:37:39 +0000 (00:37 +0000)]
ARM: small tweak of NEON H264 IDCT

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