platform/upstream/libav.git
14 years agouse strict_std_complience from avcodec_opts[AVMEDIA_TYPE_*]
Janne Grunau [Mon, 27 Sep 2010 19:59:36 +0000 (19:59 +0000)]
use strict_std_complience from avcodec_opts[AVMEDIA_TYPE_*]

Options are not yet set for video encoders and for codec specific
defaults it is desireable to set the codec options only after the codec
is known.

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

14 years agoMake avfilter_insert_filter() propagate an error code in case the
Stefano Sabatini [Mon, 27 Sep 2010 17:28:53 +0000 (17:28 +0000)]
Make avfilter_insert_filter() propagate an error code in case the
called avfilter_link() fails.

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

14 years agoAdd APIchanges entry after r25227.
Stefano Sabatini [Mon, 27 Sep 2010 17:02:53 +0000 (17:02 +0000)]
Add APIchanges entry after r25227.

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

14 years agoMake AVFilterLink store the pointers to the source and destination
Stefano Sabatini [Mon, 27 Sep 2010 16:58:48 +0000 (16:58 +0000)]
Make AVFilterLink store the pointers to the source and destination
pads, rather than their index.

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

14 years agoAdd APIchanges entry after r25225.
Stefano Sabatini [Mon, 27 Sep 2010 16:28:02 +0000 (16:28 +0000)]
Add APIchanges entry after r25225.

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

14 years agoMove av_get_token() from libavfilter to libavutil.
Stefano Sabatini [Mon, 27 Sep 2010 16:23:43 +0000 (16:23 +0000)]
Move av_get_token() from libavfilter to libavutil.

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

14 years agortpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfrom
Martin Storsjö [Mon, 27 Sep 2010 16:10:23 +0000 (16:10 +0000)]
rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfrom

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

14 years agoFix several security issues in flicvideo.c
Michael Niedermayer [Mon, 27 Sep 2010 15:16:16 +0000 (15:16 +0000)]
Fix several security issues in flicvideo.c
This fixes CVE-2010-3429

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

14 years agompegtsenc: Indent
Tomas Härdin [Mon, 27 Sep 2010 12:27:26 +0000 (12:27 +0000)]
mpegtsenc: Indent

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

14 years agompegtsenc: Write subtitle extradata if set
Tomas Härdin [Mon, 27 Sep 2010 12:27:23 +0000 (12:27 +0000)]
mpegtsenc: Write subtitle extradata if set

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

14 years agoSimplify include, since opt.c is now in libavutil there is no need
Stefano Sabatini [Mon, 27 Sep 2010 10:34:03 +0000 (10:34 +0000)]
Simplify include, since opt.c is now in libavutil there is no need
to use the library path prefix for eval.h.

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

14 years agoCosmetics: apply misc style fixes.
Stefano Sabatini [Mon, 27 Sep 2010 10:01:44 +0000 (10:01 +0000)]
Cosmetics: apply misc style fixes.

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

14 years agoImprove error concealment of lost frames
Jason Garrett-Glaser [Mon, 27 Sep 2010 04:43:41 +0000 (04:43 +0000)]
Improve error concealment of lost frames
If a frame is lost, replace it with data from the previous valid frame.

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

14 years agoMake avfilter_destroy() code less convoluted, introducing a temporary
Stefano Sabatini [Mon, 27 Sep 2010 01:17:46 +0000 (01:17 +0000)]
Make avfilter_destroy() code less convoluted, introducing a temporary
variable link.

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

14 years agoBump version and update APIchanges after r25210.
Stefano Sabatini [Mon, 27 Sep 2010 00:30:14 +0000 (00:30 +0000)]
Bump version and update APIchanges after r25210.

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

14 years agoyadif: remove unnecessary #include
Måns Rullgård [Sun, 26 Sep 2010 22:37:45 +0000 (22:37 +0000)]
yadif: remove unnecessary #include

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

14 years agoPort MPlayer blackframe filter.
Stefano Sabatini [Sun, 26 Sep 2010 21:36:05 +0000 (21:36 +0000)]
Port MPlayer blackframe filter.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200

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

14 years agoconfigure: detect nasm vs yasm and set flags correspondingly
Måns Rullgård [Sun, 26 Sep 2010 21:01:24 +0000 (21:01 +0000)]
configure: detect nasm vs yasm and set flags correspondingly

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

14 years agoARM: change return type of AV_RN16() to unsigned
Måns Rullgård [Sun, 26 Sep 2010 21:01:20 +0000 (21:01 +0000)]
ARM: change return type of AV_RN16() to unsigned

This prevents gcc inserting useless UXTH instructions, at least
in some cases.

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

14 years agofix typos and grammar
Ramiro Polla [Sun, 26 Sep 2010 20:31:04 +0000 (20:31 +0000)]
fix typos and grammar

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

14 years agoMake the avoptions list of sws more complete.
Michael Niedermayer [Sun, 26 Sep 2010 19:48:49 +0000 (19:48 +0000)]
Make the avoptions list of sws more complete.

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

14 years agoSplit alloc and init of context so that parameters can be set in the context
Michael Niedermayer [Sun, 26 Sep 2010 19:33:57 +0000 (19:33 +0000)]
Split alloc and init of context so that parameters can be set in the context
instead of requireing being passed through function parameters. This also
makes sws work with AVOptions.

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

14 years agoswscale: use full chroma input for point scaler
Ramiro Polla [Sun, 26 Sep 2010 17:06:32 +0000 (17:06 +0000)]
swscale: use full chroma input for point scaler

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

14 years agoBump minor version for the addition of the G.722 encoder
Martin Storsjö [Sun, 26 Sep 2010 14:47:00 +0000 (14:47 +0000)]
Bump minor version for the addition of the G.722 encoder

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

14 years agoMove AVOptions from libavcodec to libavutil
Michael Niedermayer [Sun, 26 Sep 2010 14:25:22 +0000 (14:25 +0000)]
Move AVOptions from libavcodec to libavutil

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

14 years agoMake WMV3 decoder attempt to decode WMVP as well
Kostya Shishkov [Sun, 26 Sep 2010 13:56:50 +0000 (13:56 +0000)]
Make WMV3 decoder attempt to decode WMVP as well

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

14 years agoRES_SM in WMV3 is really two flags, so split it in decoder
Kostya Shishkov [Sun, 26 Sep 2010 13:54:35 +0000 (13:54 +0000)]
RES_SM in WMV3 is really two flags, so split it in decoder

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

14 years agoCosmetics: fix style nits.
Stefano Sabatini [Sun, 26 Sep 2010 11:09:43 +0000 (11:09 +0000)]
Cosmetics: fix style nits.

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

14 years agoAdd d suffix to movd target register to make it work with nasm.
Reimar Döffinger [Sun, 26 Sep 2010 09:15:18 +0000 (09:15 +0000)]
Add d suffix to movd target register to make it work with nasm.

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

14 years agoSplit and then simplify address generation macro.
Reimar Döffinger [Sun, 26 Sep 2010 09:08:11 +0000 (09:08 +0000)]
Split and then simplify address generation macro.
Allows nasm to work for this code.

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

14 years agoUpdate rv20 seek test reference
Måns Rullgård [Sun, 26 Sep 2010 09:02:51 +0000 (09:02 +0000)]
Update rv20 seek test reference

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

14 years agoFix rv20 encoding so the binary decoder can decode it.
Michael Niedermayer [Sun, 26 Sep 2010 01:56:48 +0000 (01:56 +0000)]
Fix rv20 encoding so the binary decoder can decode it.

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

14 years agoIn yadif filter, use current frame when previous is missing,
Baptiste Coudurier [Sun, 26 Sep 2010 00:56:26 +0000 (00:56 +0000)]
In yadif filter, use current frame when previous is missing,
better results for the first frame

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

14 years agoReplace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
Stefano Sabatini [Sat, 25 Sep 2010 23:27:16 +0000 (23:27 +0000)]
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.

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

14 years agoCreate libavfilter/$arch when building outside source tree
Måns Rullgård [Sat, 25 Sep 2010 17:13:29 +0000 (17:13 +0000)]
Create libavfilter/$arch when building outside source tree

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

14 years agoStefanos port was missing DIRS variable in the Makefile for the newly added x86
Michael Niedermayer [Sat, 25 Sep 2010 17:09:12 +0000 (17:09 +0000)]
Stefanos port was missing DIRS variable in the Makefile for the newly added x86

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

14 years agoBump lavfi minor and add Changelog notice after yadif addition.
Stefano Sabatini [Sat, 25 Sep 2010 17:03:26 +0000 (17:03 +0000)]
Bump lavfi minor and add Changelog notice after yadif addition.

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

14 years agoFix 0 vs 1 porting bug from mplayer.
Michael Niedermayer [Sat, 25 Sep 2010 16:54:09 +0000 (16:54 +0000)]
Fix 0 vs 1 porting bug from mplayer.

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

14 years agoyadif filter, based on stefanos port of my yadif from mplayer.
Michael Niedermayer [Sat, 25 Sep 2010 16:43:42 +0000 (16:43 +0000)]
yadif filter, based on stefanos port of my yadif from mplayer.
Compared to stefanos, 2 frame output works with ffplay.

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

14 years agoSupport deinterlacing of YUVJ422P in old deinterlacer.
Maksym Veremeyenko [Sat, 25 Sep 2010 14:37:54 +0000 (14:37 +0000)]
Support deinterlacing of YUVJ422P in old deinterlacer.
Patch by Maksym Veremeyenko verem at m1stereo tv.

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

14 years agoPrefix enum var_name symbols with VAR_, to avoid conflicts with already
Stefano Sabatini [Sat, 25 Sep 2010 13:53:32 +0000 (13:53 +0000)]
Prefix enum var_name symbols with VAR_, to avoid conflicts with already
defined symbols, in particular should fix compilation in DOS.

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

14 years agoFix memleak introduced in:
Stefano Sabatini [Sat, 25 Sep 2010 13:42:17 +0000 (13:42 +0000)]
Fix memleak introduced in:

  r25185 | stefano | 2010-09-25 03:18:43 +0200 (Sat, 25 Sep 2010) | 1 line

  Make the crop filters accept parametric expressions.

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

14 years agoDocument udp protocol.
Stefano Sabatini [Sat, 25 Sep 2010 10:16:15 +0000 (10:16 +0000)]
Document udp protocol.

Based on a patch by Aviad Rozenhek aviadr1 @ reverse(moc.liamg).

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

14 years agoSlightly clarify expression in for the anullsrc source documentation.
Stefano Sabatini [Sat, 25 Sep 2010 09:58:07 +0000 (09:58 +0000)]
Slightly clarify expression in for the anullsrc source documentation.

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

14 years agorawdec: ensure that there is always a valid palette for formats that
Reimar Döffinger [Sat, 25 Sep 2010 08:44:35 +0000 (08:44 +0000)]
rawdec: ensure that there is always a valid palette for formats that
should have one like gray8 etc.

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

14 years agoAdd asink_anullsink - null audio sink.
S.N. Hemanth Meenakshisundaram [Sat, 25 Sep 2010 01:57:01 +0000 (01:57 +0000)]
Add asink_anullsink - null audio sink.

Patch by "S.N. Hemanth Meenakshisundaram" /smeenaks/ucsd/edu.

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

14 years agoAdd asrc_anullsrc - null audio source.
Stefano Sabatini [Sat, 25 Sep 2010 01:56:58 +0000 (01:56 +0000)]
Add asrc_anullsrc - null audio source.

Based on a patch by "S.N. Hemanth Meenakshisundaram" smeenaks!ucsd!edu.

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

14 years agoMake ffprobe able to set AVFormatContext options.
Stefano Sabatini [Sat, 25 Sep 2010 01:32:02 +0000 (01:32 +0000)]
Make ffprobe able to set AVFormatContext options.

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

14 years agoAdd more missing checks in opt_default(), prevent a crash if
Stefano Sabatini [Sat, 25 Sep 2010 01:31:59 +0000 (01:31 +0000)]
Add more missing checks in opt_default(), prevent a crash if
avcodec_opts[0] or avformat_opts is not set.

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

14 years agoMake the crop filters accept parametric expressions.
Stefano Sabatini [Sat, 25 Sep 2010 01:18:43 +0000 (01:18 +0000)]
Make the crop filters accept parametric expressions.

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

14 years agoChange the syntax of the crop filter from x:y:w:h to w:h:x:y.
Stefano Sabatini [Fri, 24 Sep 2010 23:14:01 +0000 (23:14 +0000)]
Change the syntax of the crop filter from x:y:w:h to w:h:x:y.

Slightly more intuitive and required by a pending changes for making
the filter parametric.

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

14 years agovorbisenc: remove VLAs
Måns Rullgård [Fri, 24 Sep 2010 20:42:08 +0000 (20:42 +0000)]
vorbisenc: remove VLAs

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

14 years agoAdd missing uses of NULL_IF_CONFIG_SMALL for the filters descriptions.
Stefano Sabatini [Fri, 24 Sep 2010 20:41:14 +0000 (20:41 +0000)]
Add missing uses of NULL_IF_CONFIG_SMALL for the filters descriptions.

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

14 years agoAdd missing NULL checks, fix crash.
Stefano Sabatini [Fri, 24 Sep 2010 20:01:38 +0000 (20:01 +0000)]
Add missing NULL checks, fix crash.

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

14 years agoAdd an AVOption max_delay for AVFormatContext->max_delay
Martin Storsjö [Fri, 24 Sep 2010 18:04:21 +0000 (18:04 +0000)]
Add an AVOption max_delay for AVFormatContext->max_delay

This can currently also be set via -muxdelay in ffmpeg for muxers,
but not for demuxers (nor for demuxers in ffplay) - this patch
allows it to be set in all those cases.

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

14 years agoAdd missing existence checks in opt_default().
Stefano Sabatini [Fri, 24 Sep 2010 16:32:08 +0000 (16:32 +0000)]
Add missing existence checks in opt_default().

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

14 years agoindent
Michael Niedermayer [Fri, 24 Sep 2010 16:18:40 +0000 (16:18 +0000)]
indent

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

14 years agoCosmetic (rename detect_repeats to is_atty which matches the truth)
Michael Niedermayer [Fri, 24 Sep 2010 16:18:10 +0000 (16:18 +0000)]
Cosmetic (rename detect_repeats to is_atty which matches the truth)

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

14 years agoDoxy consistency cosmetics
Michael Niedermayer [Fri, 24 Sep 2010 15:40:53 +0000 (15:40 +0000)]
Doxy consistency cosmetics

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

14 years agoEnable AV_LOG_SKIP_REPEATED to maintain previous behavior.
Michael Niedermayer [Fri, 24 Sep 2010 15:39:10 +0000 (15:39 +0000)]
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.

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

14 years ago2nd try to fix av_log() repeated detection
Michael Niedermayer [Fri, 24 Sep 2010 15:37:01 +0000 (15:37 +0000)]
2nd try to fix av_log() repeated detection

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

14 years agoRemove unused variable.
Ronald S. Bultje [Fri, 24 Sep 2010 15:31:46 +0000 (15:31 +0000)]
Remove unused variable.

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

14 years agoUnroll loop in h264_idct_add16intra_sse2(). Basically identical to r25171, this
Ronald S. Bultje [Fri, 24 Sep 2010 14:07:23 +0000 (14:07 +0000)]
Unroll loop in h264_idct_add16intra_sse2(). Basically identical to r25171, this
inlines scan8[] and removes loop setup. 15% faster, 0.4% overall.

See "[PATCH] unroll loop in h264_idct_add8_sse2()" thread on ML.

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

14 years agoUnroll loop in h264_idct_add8_sse2(). This means we can inline scan8[] in the
Ronald S. Bultje [Fri, 24 Sep 2010 14:05:45 +0000 (14:05 +0000)]
Unroll loop in h264_idct_add8_sse2(). This means we can inline scan8[] in the
code directly also and remove loop setup. 20% faster in function, 0.8% overall.

See "[PATCH] unroll loop in h264_idct_add8_sse2()" thread on ML.

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

14 years agoUpdate docs regarding writing optimizations:
Ronald S. Bultje [Fri, 24 Sep 2010 14:01:09 +0000 (14:01 +0000)]
Update docs regarding writing optimizations:
- mention clobber-marking of xmm registers,
- some notes on external vs. inline asm, including tips on which to use for
   what situation and to not rewrite+improve in the same patch (as with C code)
- some more best-practice guidelines

See "[PATCH] update doc/optimization.txt" thread on ML.

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

14 years agoRemove unnecessary av_strdup() and av_free().
Stefano Sabatini [Fri, 24 Sep 2010 09:15:27 +0000 (09:15 +0000)]
Remove unnecessary av_strdup() and av_free().

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

14 years agoUpdate doc/APIchanges after the last API changes.
Stefano Sabatini [Fri, 24 Sep 2010 00:55:02 +0000 (00:55 +0000)]
Update doc/APIchanges after the last API changes.

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

14 years agoMake ffplay -h show the settable AVOptions.
Stefano Sabatini [Fri, 24 Sep 2010 00:51:43 +0000 (00:51 +0000)]
Make ffplay -h show the settable AVOptions.

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

14 years agoDeprecate av_opt_show() in favor of a new function av_opt_show2(),
Stefano Sabatini [Fri, 24 Sep 2010 00:51:40 +0000 (00:51 +0000)]
Deprecate av_opt_show() in favor of a new function av_opt_show2(),
which allows to specify only a subset of all the options to show.

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

14 years agoAdd frei0r filter.
Stefano Sabatini [Fri, 24 Sep 2010 00:32:22 +0000 (00:32 +0000)]
Add frei0r filter.

See thread:
Subject: [FFmpeg-devel] [POC] frei0r wrapper
Date: Tue, 24 Aug 2010 21:37:32 +0200

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

14 years agoAdd a G.722 encoder
Martin Storsjö [Thu, 23 Sep 2010 21:33:29 +0000 (21:33 +0000)]
Add a G.722 encoder

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

14 years agorawdec: only allocate a full-frame size buffer if it actually will
Reimar Döffinger [Thu, 23 Sep 2010 20:23:15 +0000 (20:23 +0000)]
rawdec: only allocate a full-frame size buffer if it actually will
be used, place palette buffer in the context to simplify this.

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

14 years agoCorrect terminology bug in poll_frame()
Michael Niedermayer [Thu, 23 Sep 2010 11:12:03 +0000 (11:12 +0000)]
Correct terminology bug in poll_frame()
it returns the number of samples not frames (for video sample=frame)

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

14 years agofate: print commands being executed with V=1
Måns Rullgård [Thu, 23 Sep 2010 09:55:31 +0000 (09:55 +0000)]
fate: print commands being executed with V=1

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

14 years agoFix indentation after r25158.
Carl Eugen Hoyos [Thu, 23 Sep 2010 09:53:26 +0000 (09:53 +0000)]
Fix indentation after r25158.

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

14 years agoAllow to set the frame rate in v4l2 devices
José Miguel Gonçalves [Thu, 23 Sep 2010 09:16:05 +0000 (09:16 +0000)]
Allow to set the frame rate in v4l2 devices
Patch by José Miguel Gonçalves (jose DOT goncalves AT inov DOT pt)

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

14 years agoFix aspect ratio for files that have it stored in
Richard Buteau [Thu, 23 Sep 2010 03:40:06 +0000 (03:40 +0000)]
Fix aspect ratio for files that have it stored in
ff_asf_extended_content_header.
Fixes issue 690.

Patch by Richard Buteau, rbuteau rgbnetworks com

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

14 years agoFix typo (instruciton -> instruction).
Ronald S. Bultje [Wed, 22 Sep 2010 02:18:03 +0000 (02:18 +0000)]
Fix typo (instruciton -> instruction).

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

14 years agoThe debug text output of macroblocks can indicate MB_TYPE_INTERLACED,
Ivan Kalvachev [Tue, 21 Sep 2010 22:44:27 +0000 (22:44 +0000)]
The debug text output of macroblocks can indicate MB_TYPE_INTERLACED,
but it used to do it only for h264 codec.
Allow it for other codecs, as mpeg2 and mpeg4 also set this flag.

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

14 years agocosmetics: Place concat protocol entry in alphabetical order.
Diego Biurrun [Tue, 21 Sep 2010 22:21:12 +0000 (22:21 +0000)]
cosmetics: Place concat protocol entry in alphabetical order.

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

14 years agotcp: Check both wfds and efds when waiting for the result from connect
Martin Storsjö [Tue, 21 Sep 2010 20:17:34 +0000 (20:17 +0000)]
tcp: Check both wfds and efds when waiting for the result from connect

On windows, a connection failure doesn't trigger wfds as it does on unix.

This fixes issue 2237, based on code by yeyingxian.

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

14 years agox86: disable SSE functions using stack when stack is not aligned
Måns Rullgård [Tue, 21 Sep 2010 17:57:21 +0000 (17:57 +0000)]
x86: disable SSE functions using stack when stack is not aligned

This fixes crashes with ICC 10.1.

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

14 years agoDisable ALIGNED_STACK with icc 10 or prior on x86_32
Måns Rullgård [Tue, 21 Sep 2010 17:57:17 +0000 (17:57 +0000)]
Disable ALIGNED_STACK with icc 10 or prior on x86_32

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

14 years agoAdd HAVE_ALIGNED_STACK config setting
Måns Rullgård [Tue, 21 Sep 2010 17:57:13 +0000 (17:57 +0000)]
Add HAVE_ALIGNED_STACK config setting

This is set to 1 if the stack is guaranteed to be suitably aligned
for the strictest access mode of the machine.

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

14 years agoARM: disable movw/movt for relocated values on Apple platforms
Måns Rullgård [Mon, 20 Sep 2010 21:50:46 +0000 (21:50 +0000)]
ARM: disable movw/movt for relocated values on Apple platforms

Apparently Apple platforms do not handle movw/movt relocations
properly, leading to runtime crashes in code using them.

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

14 years agoMove log_callback_help to cmdutils.[hc], for allowing sharing.
Stefano Sabatini [Mon, 20 Sep 2010 21:48:03 +0000 (21:48 +0000)]
Move log_callback_help to cmdutils.[hc], for allowing sharing.

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

14 years agoSupport deinterlacing of YUVJ420P.
Benjamin Larsson [Mon, 20 Sep 2010 11:34:27 +0000 (11:34 +0000)]
Support deinterlacing of YUVJ420P.

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

14 years agoCheck for the IPPROTO_IPV6 define before using it
Martin Storsjö [Mon, 20 Sep 2010 06:38:40 +0000 (06:38 +0000)]
Check for the IPPROTO_IPV6 define before using it

This fixes building on FreeBSD in some configurations, if the IPv6 multicast
structs are available, but IPPROTO_IPV6 isn't defined.

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

14 years agox86: remove hack disabling sse2 h264 loop filter with 32-bit icc
Måns Rullgård [Sat, 18 Sep 2010 20:44:32 +0000 (20:44 +0000)]
x86: remove hack disabling sse2 h264 loop filter with 32-bit icc

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

14 years agoRequest 16-byte aligned stack with icc on x86_32
Måns Rullgård [Sat, 18 Sep 2010 20:44:29 +0000 (20:44 +0000)]
Request 16-byte aligned stack with icc on x86_32

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

14 years ago10l: error in last commit. use decoder channels not encoder channels.
Justin Ruggles [Sat, 18 Sep 2010 20:19:18 +0000 (20:19 +0000)]
10l: error in last commit. use decoder channels not encoder channels.

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

14 years agoChange remaining ost->st->codec and ist->st->codec to enc and dec in
Justin Ruggles [Sat, 18 Sep 2010 20:16:56 +0000 (20:16 +0000)]
Change remaining ost->st->codec and ist->st->codec to enc and dec in
do_audio_out().

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

14 years agoRemove legacy x264 presets
Lou Logan [Fri, 17 Sep 2010 20:14:24 +0000 (20:14 +0000)]
Remove legacy x264 presets

Since we now have the official x264 presets in ffmpeg, there's no reason to
keep around the old ones.

Patch by Lou Logan <lou AT fakeoutdoorsman DOT com>.

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

14 years agoRemove pointless semicolon
Vitor Sessak [Fri, 17 Sep 2010 19:33:56 +0000 (19:33 +0000)]
Remove pointless semicolon

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

14 years agoDon't access upper 32 bits of a 32-bit int on 64-bit systems.
Ronald S. Bultje [Fri, 17 Sep 2010 12:24:22 +0000 (12:24 +0000)]
Don't access upper 32 bits of a 32-bit int on 64-bit systems.

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

14 years agoconfigure: print minimum lame version number required after revision 25128
James Darnley [Fri, 17 Sep 2010 10:52:43 +0000 (10:52 +0000)]
configure: print minimum lame version number required after revision 25128

Patch by James Darnley <james dot darnley at gmail dot com>.

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

14 years agoProperly add HAVE_YASM around yasmified symbols. Should fix compile error
Ronald S. Bultje [Fri, 17 Sep 2010 03:01:57 +0000 (03:01 +0000)]
Properly add HAVE_YASM around yasmified symbols. Should fix compile error
on configurations using --disable-yasm.

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

14 years agoMove hadamard_diff{,16}_{mmx,mmx2,sse2,ssse3}() from inline asm to yasm,
Ronald S. Bultje [Fri, 17 Sep 2010 01:56:06 +0000 (01:56 +0000)]
Move hadamard_diff{,16}_{mmx,mmx2,sse2,ssse3}() from inline asm to yasm,
which will hopefully solve the Win64/FATE failures caused by these functions.

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

14 years agoMove sse16_sse2() from inline asm to yasm. It is one of the functions causing
Ronald S. Bultje [Fri, 17 Sep 2010 01:44:17 +0000 (01:44 +0000)]
Move sse16_sse2() from inline asm to yasm. It is one of the functions causing
Win64/FATE issues.

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

14 years agoconfigure: detect Open64 compiler
Måns Rullgård [Thu, 16 Sep 2010 15:25:10 +0000 (15:25 +0000)]
configure: detect Open64 compiler

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