ffmpeg.git
9 years agoAdd pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF
Tomas Härdin [Fri, 1 Oct 2010 11:08:19 +0000 (11:08 +0000)]
Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF

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

9 years agoFix a typo in the nameing of av_assert0() in currently not compiled code.
Michael Niedermayer [Thu, 30 Sep 2010 22:52:29 +0000 (22:52 +0000)]
Fix a typo in the nameing of av_assert0() in currently not compiled code.

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

9 years agoav_assert() system.
Michael Niedermayer [Thu, 30 Sep 2010 21:57:31 +0000 (21:57 +0000)]
av_assert() system.
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks

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

9 years agoadd FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag
Aurelien Jacobs [Thu, 30 Sep 2010 20:40:10 +0000 (20:40 +0000)]
add FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag

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

9 years agoadd FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API
Aurelien Jacobs [Thu, 30 Sep 2010 20:34:35 +0000 (20:34 +0000)]
add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API

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

9 years agoadd FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field
Aurelien Jacobs [Thu, 30 Sep 2010 20:31:42 +0000 (20:31 +0000)]
add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field

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

9 years agoReturn AVERROR(EINVAL) rather than -1 in case of invalid values.
Stefano Sabatini [Thu, 30 Sep 2010 20:24:49 +0000 (20:24 +0000)]
Return AVERROR(EINVAL) rather than -1 in case of invalid values.

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

9 years agoadd FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API
Aurelien Jacobs [Thu, 30 Sep 2010 20:12:46 +0000 (20:12 +0000)]
add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API

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

9 years agoadd FF_API_VIDEO_OLD define to disable the deprecated decode_video API
Aurelien Jacobs [Thu, 30 Sep 2010 19:51:22 +0000 (19:51 +0000)]
add FF_API_VIDEO_OLD define to disable the deprecated decode_video API

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

9 years agoCorrect tag is m2v1
Baptiste Coudurier [Thu, 30 Sep 2010 18:12:27 +0000 (18:12 +0000)]
Correct tag is m2v1

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

9 years agoadd FF_API_AUDIO_OLD define to disable the deprecated decode_audio API
Aurelien Jacobs [Thu, 30 Sep 2010 15:37:01 +0000 (15:37 +0000)]
add FF_API_AUDIO_OLD define to disable the deprecated decode_audio API

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

9 years agoFix a yuv420p sample that was incorrectly detected as yuv411p
Niobos [Thu, 30 Sep 2010 12:26:42 +0000 (12:26 +0000)]
Fix a yuv420p sample that was incorrectly detected as yuv411p
(576i50 25Mbps 4:1:1 special case was wrong).
Fixes issue2211

Patch by Niobos, niobos dest-unreach be

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

9 years agoDocument url_filesize().
Stefano Sabatini [Thu, 30 Sep 2010 10:55:08 +0000 (10:55 +0000)]
Document url_filesize().

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

9 years agoMake register_protocol() use the function av_register_protocol2()
Stefano Sabatini [Thu, 30 Sep 2010 10:51:22 +0000 (10:51 +0000)]
Make register_protocol() use the function av_register_protocol2()
rather than av_register_protocol(), which is deprecated.
Fix the GCC warning:
avio.c: In function ‘register_protocol’:
avio.c:93: warning: ‘av_register_protocol’ is deprecated (declared at avio.c:86)

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

9 years agoUser application side of Codec specific parameters.
Michael Niedermayer [Wed, 29 Sep 2010 23:06:51 +0000 (23:06 +0000)]
User application side of Codec specific parameters.

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

9 years agoSet default values for the scale context in sws_alloc_context().
Stefano Sabatini [Wed, 29 Sep 2010 22:06:44 +0000 (22:06 +0000)]
Set default values for the scale context in sws_alloc_context().

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

9 years agoSet the default value of param0 and param1 to SWS_PARAM_DEFAULT.
Stefano Sabatini [Wed, 29 Sep 2010 22:06:40 +0000 (22:06 +0000)]
Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.

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

9 years agoSet valid default values for the srcw, srch, dstw, dsth options in the
Stefano Sabatini [Wed, 29 Sep 2010 22:06:36 +0000 (22:06 +0000)]
Set valid default values for the srcw, srch, dstw, dsth options in the
scale context. Prevent pointless warnings when using
av_opt_set_defaults() for setting the default values, as in a pending
patch.

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

9 years agoAdd missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().
Stefano Sabatini [Wed, 29 Sep 2010 21:42:03 +0000 (21:42 +0000)]
Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().

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

9 years agoRemove duplicate entries
Baptiste Coudurier [Wed, 29 Sep 2010 21:35:52 +0000 (21:35 +0000)]
Remove duplicate entries

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

9 years agoUse new apple fourcc for mpeg-1 and mpeg-2 in mov, works natively on osx
Baptiste Coudurier [Wed, 29 Sep 2010 21:34:31 +0000 (21:34 +0000)]
Use new apple fourcc for mpeg-1 and mpeg-2 in mov, works natively on osx

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

9 years agoMove static inline function to a macro, so that constant propagation in
Ronald S. Bultje [Wed, 29 Sep 2010 17:42:26 +0000 (17:42 +0000)]
Move static inline function to a macro, so that constant propagation in
inline asm works for gcc-3.x also (hopefully). Should fix gcc-3.x FATE
breakage after r25254.

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

9 years agoCosmetics: put "if (...)" and "av_log(...)" in the same line for
Stefano Sabatini [Wed, 29 Sep 2010 16:15:42 +0000 (16:15 +0000)]
Cosmetics: put "if (...)" and "av_log(...)" in the same line for
improving vertical alignment and readability.

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

9 years agorawdec: Properly pass reordered_opaque through the decoder
Alexander Strange [Wed, 29 Sep 2010 15:43:37 +0000 (15:43 +0000)]
rawdec: Properly pass reordered_opaque through the decoder

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

9 years agoCheck return value of get_chunk_header(). Since enum can be unsigned, the
Ronald S. Bultje [Wed, 29 Sep 2010 15:43:36 +0000 (15:43 +0000)]
Check return value of get_chunk_header(). Since enum can be unsigned, the
current code wouldn't always error out on errors.

Based on patch by Stephen d'Angelo <sdangelo evertz com>.

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

9 years agoUse sse2 variant of put_pixels16() for no_rnd also. Provides a minor speed
Eli Friedman [Wed, 29 Sep 2010 15:34:43 +0000 (15:34 +0000)]
Use sse2 variant of put_pixels16() for no_rnd also. Provides a minor speed
increase to e.g. vc1, snow and mpeg decoding.

Patch by Eli Friedman <eli dot friedman gmail com>.

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

9 years agoAllow setting the impulse block bias for libvorbis through a private codec parameter.
Michael Niedermayer [Wed, 29 Sep 2010 15:09:38 +0000 (15:09 +0000)]
Allow setting the impulse block bias for libvorbis through a private codec parameter.
First example and test of private codec parameters.

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

9 years agoMove allocation and init to defaults of the private codec contexts to avcodec_get_con...
Michael Niedermayer [Wed, 29 Sep 2010 15:05:47 +0000 (15:05 +0000)]
Move allocation and init to defaults of the private codec contexts to avcodec_get_context_defaults3().
That way the user app can set codec specific parameters in the private context
before opening it.

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

9 years agoMerge b_idx and edge variables, and optimize the ASM to directly load variables
Ronald S. Bultje [Wed, 29 Sep 2010 14:04:39 +0000 (14:04 +0000)]
Merge b_idx and edge variables, and optimize the ASM to directly load variables
from memory locations/offsets depending on b_idx plus constants, rather than
having gcc do this. This saves several lea calls and together saves about
10 cycles in h264_loop_filter_strength_mmx2().

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

9 years agoRemove mv_mask variable. Replace the related pand -1/0 instructions by either
Ronald S. Bultje [Wed, 29 Sep 2010 14:03:30 +0000 (14:03 +0000)]
Remove mv_mask variable. Replace the related pand -1/0 instructions by either
a pxor, or remove the instruction alltogether. Altogether, this saves 1
instruction.

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

9 years agoRemove d_idx as a variable, and instead load it as a constant in the asm.
Ronald S. Bultje [Wed, 29 Sep 2010 14:02:32 +0000 (14:02 +0000)]
Remove d_idx as a variable, and instead load it as a constant in the asm.
This has no measurable speed effect because the surrounding code doesn't
take advantage of this yet.

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

9 years agoUnroll inner bidir loop in h264_loop_filter_strength_mmx2(), which gets rid
Ronald S. Bultje [Wed, 29 Sep 2010 13:35:24 +0000 (13:35 +0000)]
Unroll inner bidir loop in h264_loop_filter_strength_mmx2(), which gets rid
of the d_idx variable and therefore allows for future optimizations. No speed
difference by this commit itself.

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

9 years agoUnloop the outer loop in h264_loop_filter_strength_mmx2(), which allows
Ronald S. Bultje [Wed, 29 Sep 2010 13:34:20 +0000 (13:34 +0000)]
Unloop the outer loop in h264_loop_filter_strength_mmx2(), which allows
inlining various constants within the loop code. 20 cycles faster on
cathedral sample.

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

9 years agoPut if (...) av_log() in the same line, more compact and increase
Stefano Sabatini [Wed, 29 Sep 2010 13:02:31 +0000 (13:02 +0000)]
Put if (...) av_log() in the same line, more compact and increase
readibility.

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

9 years agoAmend constraints for the src_format and dst_format options in the
Stefano Sabatini [Wed, 29 Sep 2010 13:02:28 +0000 (13:02 +0000)]
Amend constraints for the src_format and dst_format options in the
SWScale context.

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

9 years agoFix compile on Darwin (FATE). Compile error:
Alexander Strange [Wed, 29 Sep 2010 12:34:01 +0000 (12:34 +0000)]
Fix compile on Darwin (FATE). Compile error:
yadif.c:226: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
yadif.c:220: error: 'asm' operand has impossible constraints

Patch by Alexander Strange <astrange ithinksw com>.

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

9 years agoAdd AVClass for the private context, this will be used for codec specific options.
Michael Niedermayer [Wed, 29 Sep 2010 11:59:25 +0000 (11:59 +0000)]
Add AVClass for the private context, this will be used for codec specific options.

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

9 years agoCosmetics: fix braces placement.
Stefano Sabatini [Wed, 29 Sep 2010 08:44:09 +0000 (08:44 +0000)]
Cosmetics: fix braces placement.

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

9 years agoDeprecate sws_getContext(), use sws_alloc_context() and
Stefano Sabatini [Tue, 28 Sep 2010 22:23:58 +0000 (22:23 +0000)]
Deprecate sws_getContext(), use sws_alloc_context() and
sws_init_context() instead.

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

9 years agoAdd documentation for the returned value of sws_init_context().
Stefano Sabatini [Tue, 28 Sep 2010 22:23:53 +0000 (22:23 +0000)]
Add documentation for the returned value of sws_init_context().

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

9 years agoAdd APIchanges entry for lsws change of r32368.
Stefano Sabatini [Tue, 28 Sep 2010 15:33:59 +0000 (15:33 +0000)]
Add APIchanges entry for lsws change of r32368.

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

9 years agoBump minor version after the addition of sws_alloc_context() and
Stefano Sabatini [Tue, 28 Sep 2010 15:29:23 +0000 (15:29 +0000)]
Bump minor version after the addition of sws_alloc_context() and
sws_init_context() of r32368.

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

9 years agoMake init() return sensible error code rather than -1 in case of
Stefano Sabatini [Tue, 28 Sep 2010 14:59:09 +0000 (14:59 +0000)]
Make init() return sensible error code rather than -1 in case of
invalid values.

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

9 years agoCosmetics: apply nits.
Stefano Sabatini [Tue, 28 Sep 2010 14:59:06 +0000 (14:59 +0000)]
Cosmetics: apply nits.

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

9 years agoMake new doxy follows the agreed upon style and grammatical
Stefano Sabatini [Tue, 28 Sep 2010 14:49:55 +0000 (14:49 +0000)]
Make new doxy follows the agreed upon style and grammatical
conventions, for consistency with the rest of the documentation.

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

9 years agoGroup togheter filter dependency specifications.
Stefano Sabatini [Tue, 28 Sep 2010 13:44:10 +0000 (13:44 +0000)]
Group togheter filter dependency specifications.

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

9 years agoAdd the drawbox filter from the soc libavfilter repo.
Stefano Sabatini [Tue, 28 Sep 2010 13:16:40 +0000 (13:16 +0000)]
Add the drawbox filter from the soc libavfilter repo.
Pedagogically useful.

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

9 years agoTry to fix crashes introduced by r25218
Jason Garrett-Glaser [Tue, 28 Sep 2010 09:06:22 +0000 (09:06 +0000)]
Try to fix crashes introduced by r25218

r25218 made assumptions about the existence of past reference frames that
weren't necessarily true.

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

9 years agoAll else being equal, prefer PTS over DTS in timestamp correction
Alexander Strange [Tue, 28 Sep 2010 03:45:27 +0000 (03:45 +0000)]
All else being equal, prefer PTS over DTS in timestamp correction

Because DTS values aren't passed through decoders, they tend to be
inaccurate if decoder delay doesn't match what was expected by the encoder.

In particular this improves timestamps for H.264 without num_reorder_frames
set and with -strict 1, which causes DTS to be up to 16 frames ahead of the
picture.

Note that this doesn't really improve any file with very broken PTS/DTS,
since PTS isn't much more accurate in these.

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

9 years agoExtract timestamp correction code from ffplay.c to cmdutils.c
Alexander Strange [Tue, 28 Sep 2010 02:05:12 +0000 (02:05 +0000)]
Extract timestamp correction code from ffplay.c to cmdutils.c

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

9 years agoIn mov demuxer, check that nb_streams is valid before using it in read_dac3
Baptiste Coudurier [Tue, 28 Sep 2010 00:33:21 +0000 (00:33 +0000)]
In mov demuxer, check that nb_streams is valid before using it in read_dac3

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

9 years ago100l fix if condition
Baptiste Coudurier [Mon, 27 Sep 2010 23:47:54 +0000 (23:47 +0000)]
100l fix if condition

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

9 years agoY400A (gray alpha) input support in libswscale
Baptiste Coudurier [Mon, 27 Sep 2010 22:24:03 +0000 (22:24 +0000)]
Y400A (gray alpha) input support in libswscale

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

9 years agoFix index_entries pos:
Michael Chinen [Mon, 27 Sep 2010 22:17:58 +0000 (22:17 +0000)]
Fix index_entries pos:
It was being set wrong for files with data_offset > 0

Patch by Michael Chinen, mchinen gmail

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

9 years agoUpdate APIchanges after r25236.
Stefano Sabatini [Mon, 27 Sep 2010 22:13:18 +0000 (22:13 +0000)]
Update APIchanges after r25236.

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

9 years agoFix out of tree builds with vf_yadif and mmx
Måns Rullgård [Mon, 27 Sep 2010 22:10:39 +0000 (22:10 +0000)]
Fix out of tree builds with vf_yadif and mmx

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

9 years agoMove av_set_options_string() from libavfilter to libavutil.
Stefano Sabatini [Mon, 27 Sep 2010 22:09:53 +0000 (22:09 +0000)]
Move av_set_options_string() from libavfilter to libavutil.

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

9 years agoUse more expressive names for the avfilter_insert_filter() in and out
Stefano Sabatini [Mon, 27 Sep 2010 21:57:16 +0000 (21:57 +0000)]
Use more expressive names for the avfilter_insert_filter() in and out
parameters.

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

9 years agouse a Makefile in x86 subdir
Aurelien Jacobs [Mon, 27 Sep 2010 21:50:26 +0000 (21:50 +0000)]
use a Makefile in x86 subdir

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

9 years agomerge #if with if()
Aurelien Jacobs [Mon, 27 Sep 2010 21:48:06 +0000 (21:48 +0000)]
merge #if with if()

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

9 years agoIn dv decoder, set sample aspect aspect ratio, fix issue #1612
Baptiste Coudurier [Mon, 27 Sep 2010 21:31:29 +0000 (21:31 +0000)]
In dv decoder, set sample aspect aspect ratio, fix issue #1612

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

9 years agoIn dv decoder, use the expected aspect ratio logic, like other decoders do,
Baptiste Coudurier [Mon, 27 Sep 2010 21:30:41 +0000 (21:30 +0000)]
In dv decoder, use the expected aspect ratio logic, like other decoders do,
following width/height = par/dar.

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

9 years agoswscale: clear SWS_CPU_CAPS_SSE2 in update_flags_cpu() missed in r32068
Janne Grunau [Mon, 27 Sep 2010 20:10:53 +0000 (20:10 +0000)]
swscale: clear SWS_CPU_CAPS_SSE2 in update_flags_cpu() missed in r32068

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

9 years agocosmetics: break long line update_flags_cpu
Janne Grunau [Mon, 27 Sep 2010 20:09:29 +0000 (20:09 +0000)]
cosmetics: break long line update_flags_cpu

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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