ffmpeg.git
11 years agoSupport amdfam10 for --cpu, also avoids a warning about unknown cpu if
Reimar Döffinger [Sat, 24 Oct 2009 17:24:25 +0000 (17:24 +0000)]
Support amdfam10 for --cpu, also avoids a warning about unknown cpu if
--cpu=host is used on AMD Phenom and newer at least.

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

11 years agoBump micro version after the FRWU decoder inclusion
Vitor Sessak [Sat, 24 Oct 2009 17:24:16 +0000 (17:24 +0000)]
Bump micro version after the FRWU decoder inclusion

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

11 years agoSplit codec-regression.sh, and create the lavf-regression.sh script.
Stefano Sabatini [Sat, 24 Oct 2009 17:01:47 +0000 (17:01 +0000)]
Split codec-regression.sh, and create the lavf-regression.sh script.

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

11 years agoJust remove params understood by the demuxer
Luca Barbato [Sat, 24 Oct 2009 16:53:06 +0000 (16:53 +0000)]
Just remove params understood by the demuxer

This should unbreak certain urls.

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

11 years agoSuppress ?params in the rtsp uri
Luca Barbato [Sat, 24 Oct 2009 15:18:21 +0000 (15:18 +0000)]
Suppress ?params in the rtsp uri

Right now rtsp demuxer receives it's ffmpeg specific params encoded in the url
That made the server receiving requests with the url ending with "?udp",
"?multicast" and "?tcp". That may or may not cause problems to servers with
overly strict or overly simple uri parsers

Patch from Armand Bendanan (name.surnameATfreeDOTfr)

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

11 years agoUse sdp c= line if the rtsp Transport line doesn't have a destination
Luca Barbato [Sat, 24 Oct 2009 15:10:58 +0000 (15:10 +0000)]
Use sdp c= line if the rtsp Transport line doesn't have a destination

Transport:destination in rtsp is optional, c= line in sdp is compulsory

Patch from Armand Bendanan (name.surnameATfreeDOTfr)

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

11 years agoRemove ancient redir demuxer.
Diego Biurrun [Sat, 24 Oct 2009 12:44:27 +0000 (12:44 +0000)]
Remove ancient redir demuxer.
HTTP supports redirection just fine without it.

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

11 years agoFix codectest
Måns Rullgård [Sat, 24 Oct 2009 12:39:38 +0000 (12:39 +0000)]
Fix codectest

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

11 years agoSplit codec-regression.sh, put all the code which can be shared by
Stefano Sabatini [Fri, 23 Oct 2009 22:49:05 +0000 (22:49 +0000)]
Split codec-regression.sh, put all the code which can be shared by
other regression test scripts in the regression-funcs.sh file.

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

11 years agoCompile LPC code when CONFIG_LPC is set.
Diego Biurrun [Fri, 23 Oct 2009 11:51:12 +0000 (11:51 +0000)]
Compile LPC code when CONFIG_LPC is set.
The codec dependencies on LPC are already described in configure,
so there is no need to duplicate this in the Makefile.

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

11 years agoUpdate the entry for the AVFilter.description field addition.
Stefano Sabatini [Thu, 22 Oct 2009 23:08:18 +0000 (23:08 +0000)]
Update the entry for the AVFilter.description field addition.

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

11 years agoMove the description field of the filter from AVFilterContext to
Stefano Sabatini [Thu, 22 Oct 2009 23:03:25 +0000 (23:03 +0000)]
Move the description field of the filter from AVFilterContext to
AVFilter, where it should have had defined the first time.
+10L.

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

11 years agoAdd an entry for the AVFilterContext.description addition.
Stefano Sabatini [Thu, 22 Oct 2009 22:49:49 +0000 (22:49 +0000)]
Add an entry for the AVFilterContext.description addition.

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

11 years agoAdd a description field to AVFilterContext.
Stefano Sabatini [Thu, 22 Oct 2009 22:46:11 +0000 (22:46 +0000)]
Add a description field to AVFilterContext.

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

11 years agoRefer again to the "width" and "height" crop parameter names
Stefano Sabatini [Thu, 22 Oct 2009 22:29:47 +0000 (22:29 +0000)]
Refer again to the "width" and "height" crop parameter names
which were previously mentioned, rather than to "w" and "h".

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

11 years agoAdd video vertical flip filter.
Stefano Sabatini [Thu, 22 Oct 2009 22:00:33 +0000 (22:00 +0000)]
Add video vertical flip filter.

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

11 years agoRefer to the "width" and "height" crop parameter names which were
Stefano Sabatini [Thu, 22 Oct 2009 21:43:37 +0000 (21:43 +0000)]
Refer to the "width" and "height" crop parameter names which were
previously mentioned, rather than to "w" and "h".

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

11 years agoAdd clang to detected compilers
David Conrad [Thu, 22 Oct 2009 21:19:13 +0000 (21:19 +0000)]
Add clang to detected compilers

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

11 years agoBuild extradata in adpcm_ms encoder.
Daniel Verkamp [Thu, 22 Oct 2009 20:43:55 +0000 (20:43 +0000)]
Build extradata in adpcm_ms encoder.

This fixes issue #1244.

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

11 years agoFix infinite loop with size==0 && sample_size!=0 in non interleaved avis.
Michael Niedermayer [Thu, 22 Oct 2009 18:43:08 +0000 (18:43 +0000)]
Fix infinite loop with size==0 && sample_size!=0 in non interleaved avis.
Untested, i do not have a sample.

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

11 years agoSupport non interleaved avi files that have 0<size<sample_size.
Michael Niedermayer [Thu, 22 Oct 2009 18:32:27 +0000 (18:32 +0000)]
Support non interleaved avi files that have 0<size<sample_size.
(No i do not have a sample its thus also untested)
The new code is also simpler.

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

11 years agoFixes detection and error reporting of non-existing files in img2.c.
Samuli Valo [Thu, 22 Oct 2009 16:27:01 +0000 (16:27 +0000)]
Fixes detection and error reporting of non-existing files in img2.c.
Patch by Samuli Valo: name surname picturall com

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

11 years agoIndicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
Daniel Verkamp [Thu, 22 Oct 2009 15:57:04 +0000 (15:57 +0000)]
Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.

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

11 years agoSort video filter descriptions by name.
Stefano Sabatini [Wed, 21 Oct 2009 21:19:57 +0000 (21:19 +0000)]
Sort video filter descriptions by name.

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

11 years agoMake the pix_fmts var in query_formats() static const.
Stefano Sabatini [Wed, 21 Oct 2009 21:04:53 +0000 (21:04 +0000)]
Make the pix_fmts var in query_formats() static const.

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

11 years agoAdd video crop filter.
Stefano Sabatini [Wed, 21 Oct 2009 20:57:30 +0000 (20:57 +0000)]
Add video crop filter.

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

11 years agoCosmetics: prefer "pix_fmts" over "pix_fmt" for the name of the
Stefano Sabatini [Wed, 21 Oct 2009 20:43:43 +0000 (20:43 +0000)]
Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of the
argument of avfilter_make_format_list(), as the argument represents a
list of elements.

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

11 years agoMake avfilter_make_format_list() take in input a const argument.
Stefano Sabatini [Wed, 21 Oct 2009 20:39:05 +0000 (20:39 +0000)]
Make avfilter_make_format_list() take in input a const argument.

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

11 years agoFix the spelling for the project name, from "ffmpeg" to "FFmpeg".
Stefano Sabatini [Wed, 21 Oct 2009 18:36:42 +0000 (18:36 +0000)]
Fix the spelling for the project name, from "ffmpeg" to "FFmpeg".

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

11 years agoRename vfilters.texi to libavfilter.texi, as the file is meant to
Stefano Sabatini [Wed, 21 Oct 2009 18:22:20 +0000 (18:22 +0000)]
Rename vfilters.texi to libavfilter.texi, as the file is meant to
document libavfilter and not only its video filtering facilities.

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

11 years agoAdd comment on #endif about condition that triggers it.
Ramiro Polla [Wed, 21 Oct 2009 01:25:39 +0000 (01:25 +0000)]
Add comment on #endif about condition that triggers it.

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

11 years agoSeek function for TMV
Daniel Verkamp [Tue, 20 Oct 2009 19:27:25 +0000 (19:27 +0000)]
Seek function for TMV

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

11 years agoParenthesize correctly in TMV probe
Daniel Verkamp [Tue, 20 Oct 2009 19:07:08 +0000 (19:07 +0000)]
Parenthesize correctly in TMV probe

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

11 years agoPrint "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
Reimar Döffinger [Tue, 20 Oct 2009 15:37:50 +0000 (15:37 +0000)]
Print "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
This makes the output nicely aligned even in for those cases, and might
also avoid some issues with printf implementations that can not handle well
very large float values (e.g. msvcrt without MinGW wrapper IIRC).

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

11 years agoImprove sofdec dectection to avoid false positives for MP2.
tralph11@yahoo.com [Tue, 20 Oct 2009 15:27:05 +0000 (15:27 +0000)]
Improve sofdec dectection to avoid false positives for MP2.

Patch by tralph11, tralph11 yahoo

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

11 years agosin_tables.c is a generated file, so add it to CLEANFILES
Reimar Döffinger [Tue, 20 Oct 2009 14:16:23 +0000 (14:16 +0000)]
sin_tables.c is a generated file, so add it to CLEANFILES

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

11 years agoRemove SHIFT_TEMPS from jfdct code.
avcoder [Tue, 20 Oct 2009 11:19:54 +0000 (11:19 +0000)]
Remove SHIFT_TEMPS from jfdct code.
Patch by avcoder: our_beloved_project AT gmail DOT com
See thread [FFmpeg-devel] Patch: remove useless SHIFT_TEMPS definition
Date: Tue, 20 Oct 2009 14:29:05 +0800

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

11 years agoMake url_resetbuf() assert on wrong flags passed and make it static on next
Benoit Fouet [Tue, 20 Oct 2009 06:40:01 +0000 (06:40 +0000)]
Make url_resetbuf() assert on wrong flags passed and make it static on next
version bump.
See thread: [FFmpeg-devel] & vs. &&
Date: Mon, 12 Oct 2009 14:21:06 +0200

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

11 years agoMove function that is only used by the MP3 muxer below the corresponding #if.
Diego Biurrun [Mon, 19 Oct 2009 23:22:23 +0000 (23:22 +0000)]
Move function that is only used by the MP3 muxer below the corresponding #if.
This removes the dependency of the MP2 muxer on the id3v2 object file.

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

11 years agoAdd missing dependency of the S/PDIF muxer on the AAC parser.
Diego Biurrun [Mon, 19 Oct 2009 22:45:22 +0000 (22:45 +0000)]
Add missing dependency of the S/PDIF muxer on the AAC parser.
Fixes build with --disable-parsers.

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

11 years agoAdd '#include "libavutil/intreadwrite.h"', necessary for AV_RB32.
Diego Biurrun [Mon, 19 Oct 2009 22:36:57 +0000 (22:36 +0000)]
Add '#include "libavutil/intreadwrite.h"', necessary for AV_RB32.
This fixes the build with demuxers disabled.

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

11 years agoThe MP2/MP3 muxer uses ff_id3v2_tags, so add the correct object dependency.
Diego Biurrun [Mon, 19 Oct 2009 22:32:32 +0000 (22:32 +0000)]
The MP2/MP3 muxer uses ff_id3v2_tags, so add the correct object dependency.

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

11 years agoGet rid of some pointless '== NULL' / '!= 0' conditions in if statements.
Diego Biurrun [Mon, 19 Oct 2009 22:26:52 +0000 (22:26 +0000)]
Get rid of some pointless '== NULL' / '!= 0' conditions in if statements.

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

11 years agoRemove some duplicate object dependencies for the RTSP demuxer.
Diego Biurrun [Mon, 19 Oct 2009 22:10:15 +0000 (22:10 +0000)]
Remove some duplicate object dependencies for the RTSP demuxer.
They are already covered by its dependency on the SDP demuxer.

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

11 years agoAdd missing rdt.o dependency for SDP demuxer.
Diego Biurrun [Mon, 19 Oct 2009 22:03:02 +0000 (22:03 +0000)]
Add missing rdt.o dependency for SDP demuxer.
This fixes the build when the RTSP demuxer is disabled.

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

11 years agoMove up the $test variable definition, together with the other
Stefano Sabatini [Mon, 19 Oct 2009 21:59:17 +0000 (21:59 +0000)]
Move up the $test variable definition, together with the other
definitions of variables defined using the positional arguments of the
script.

Should ease the split of the file.

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

11 years agoGive symbolic names to the positional parameters of the
Stefano Sabatini [Mon, 19 Oct 2009 21:54:37 +0000 (21:54 +0000)]
Give symbolic names to the positional parameters of the
codec-regression.sh script.

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

11 years agoBreak over-80-chars-long line.
Stefano Sabatini [Mon, 19 Oct 2009 19:22:08 +0000 (19:22 +0000)]
Break over-80-chars-long line.

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

11 years agocheck stream index validity in av_program_add_stream_index
Baptiste Coudurier [Mon, 19 Oct 2009 18:55:27 +0000 (18:55 +0000)]
check stream index validity in av_program_add_stream_index

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

11 years agorequest mp3 frame_size to be set in has_codec_parameters, fix issue #1314
Baptiste Coudurier [Mon, 19 Oct 2009 18:53:32 +0000 (18:53 +0000)]
request mp3 frame_size to be set in has_codec_parameters, fix issue #1314

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

11 years agoAdd additional long names for the Flash Video decoder and encoder.
Stefano Sabatini [Mon, 19 Oct 2009 18:45:44 +0000 (18:45 +0000)]
Add additional long names for the Flash Video decoder and encoder.

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

11 years agoAdd additional long names for the Sorenson Vector Quantizer 3 decoder.
Stefano Sabatini [Mon, 19 Oct 2009 18:44:43 +0000 (18:44 +0000)]
Add additional long names for the Sorenson Vector Quantizer 3 decoder.

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

11 years agoAdd additional long names for the Sorenson Vector Quantizer 1 decoder
Stefano Sabatini [Mon, 19 Oct 2009 18:43:28 +0000 (18:43 +0000)]
Add additional long names for the Sorenson Vector Quantizer 1 decoder
and encoder.

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

11 years agompegaudiodec, mpc and qdm2 all use the same mpa_synth window, so make
Reimar Döffinger [Mon, 19 Oct 2009 17:21:02 +0000 (17:21 +0000)]
mpegaudiodec, mpc and qdm2 all use the same mpa_synth window, so make
them use the same variable/global storage.
Saves 4 kB in .bss.

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

11 years agowhitespace cosmetics: prettyprinting, K&R style
Diego Biurrun [Mon, 19 Oct 2009 15:51:34 +0000 (15:51 +0000)]
whitespace cosmetics: prettyprinting, K&R style

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

11 years agoFlip (M)JPEG frames encoded by Intel JPEG library.
Carl Eugen Hoyos [Mon, 19 Oct 2009 15:41:28 +0000 (15:41 +0000)]
Flip (M)JPEG frames encoded by Intel JPEG library.
Fixes issues 1464 and 1468.

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

11 years agoRemove pointless parentheses.
Diego Biurrun [Mon, 19 Oct 2009 15:14:00 +0000 (15:14 +0000)]
Remove pointless parentheses.

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

11 years agocosmetics: Remove pointless parentheses from return statement.
Diego Biurrun [Mon, 19 Oct 2009 12:47:52 +0000 (12:47 +0000)]
cosmetics: Remove pointless parentheses from return statement.

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

11 years agoAlign the seek regression test output for better readability.
Reimar Döffinger [Mon, 19 Oct 2009 12:40:00 +0000 (12:40 +0000)]
Align the seek regression test output for better readability.

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

11 years agoUpdate libx264.c for x264 API change
Jason Garrett-Glaser [Mon, 19 Oct 2009 09:35:19 +0000 (09:35 +0000)]
Update libx264.c for x264 API change
Change behavior of b-pyramid option.

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

11 years agoreindent after commit
Baptiste Coudurier [Mon, 19 Oct 2009 02:20:08 +0000 (02:20 +0000)]
reindent after commit

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

11 years agoIn dump_format, print streams not associated with any program.
Baptiste Coudurier [Mon, 19 Oct 2009 02:12:10 +0000 (02:12 +0000)]
In dump_format, print streams not associated with any program.
Fixes issue #1366.

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

11 years agoFix wrong comparison in r20304
Reynaldo H. Verdejo Pinochet [Mon, 19 Oct 2009 01:42:05 +0000 (01:42 +0000)]
Fix wrong comparison in r20304

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

11 years agoIf missing, calculate width or height from bpp and
Reynaldo H. Verdejo Pinochet [Sun, 18 Oct 2009 23:56:00 +0000 (23:56 +0000)]
If missing, calculate width or height from bpp and
image size lowering the probe score too.

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

11 years agoAdd an entry for the avfilter_make_format_list() interface change.
Stefano Sabatini [Sun, 18 Oct 2009 23:45:15 +0000 (23:45 +0000)]
Add an entry for the avfilter_make_format_list() interface change.

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

11 years agoRename avfilter_make_format_list2() to avfilter_make_format_list().
Stefano Sabatini [Sun, 18 Oct 2009 23:39:54 +0000 (23:39 +0000)]
Rename avfilter_make_format_list2() to avfilter_make_format_list().

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

11 years agoRemove avfilter_make_format_list(), it has been replaced by
Stefano Sabatini [Sun, 18 Oct 2009 23:35:54 +0000 (23:35 +0000)]
Remove avfilter_make_format_list(), it has been replaced by
avfilter_make_format_list2().

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

11 years agofix indentation
Baptiste Coudurier [Sun, 18 Oct 2009 23:27:23 +0000 (23:27 +0000)]
fix indentation

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

11 years agoImplement avfilter_make_format_list2(), which is going to replace
Stefano Sabatini [Sun, 18 Oct 2009 23:06:52 +0000 (23:06 +0000)]
Implement avfilter_make_format_list2(), which is going to replace
avfilter_make_format_list().

See the thread:
"[PATCH] Implement avfilter_make_format_list2(enum PixelFormat pix_fmt, ...)".

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

11 years agoMake clear in the doxy that this is a *video* filter.
Stefano Sabatini [Sun, 18 Oct 2009 23:00:11 +0000 (23:00 +0000)]
Make clear in the doxy that this is a *video* filter.

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

11 years agoSplit the "Introduction" chapter in two chapters as suggested by
Stefano Sabatini [Sun, 18 Oct 2009 22:58:42 +0000 (22:58 +0000)]
Split the "Introduction" chapter in two chapters as suggested by
Diego.

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

11 years agoSupport FourCC mjpa as MJPEG.
Carl Eugen Hoyos [Sun, 18 Oct 2009 22:43:19 +0000 (22:43 +0000)]
Support FourCC mjpa as MJPEG.
Fixes issue 1492.

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

11 years agoFix recursive avfilter_poll_frame(). It was doing
Vitor Sessak [Sun, 18 Oct 2009 22:33:37 +0000 (22:33 +0000)]
Fix recursive avfilter_poll_frame(). It was doing
min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]))
which, since FFMIN is a macro, was calling itself
twice for every input, causing an exponential cost in time.

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

11 years agofix linking on systems with a function name prefix (10l in r20287)
Loren Merritt [Sun, 18 Oct 2009 21:44:03 +0000 (21:44 +0000)]
fix linking on systems with a function name prefix (10l in r20287)

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

11 years agosync yasm macros to x264
Loren Merritt [Sun, 18 Oct 2009 21:42:28 +0000 (21:42 +0000)]
sync yasm macros to x264

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

11 years agomux all stream types except audio as one pes packet per avpacket, issue #1374
Baptiste Coudurier [Sun, 18 Oct 2009 21:41:03 +0000 (21:41 +0000)]
mux all stream types except audio as one pes packet per avpacket, issue #1374

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

11 years agofix sar for dvcpro hd, patch by Charles Yates, charles dot yates at gmail dot com
Charles Yates [Sun, 18 Oct 2009 21:08:23 +0000 (21:08 +0000)]
fix sar for dvcpro hd, patch by Charles Yates, charles dot yates at gmail dot com

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

11 years agohuffyuv: add some const qualifiers
Loren Merritt [Sun, 18 Oct 2009 20:47:25 +0000 (20:47 +0000)]
huffyuv: add some const qualifiers

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

11 years agofix indentation and add braces
Baptiste Coudurier [Sun, 18 Oct 2009 20:25:48 +0000 (20:25 +0000)]
fix indentation and add braces

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

11 years agohandle_packets takes number of packets as arg, avoid reading too much
Baptiste Coudurier [Sun, 18 Oct 2009 20:11:32 +0000 (20:11 +0000)]
handle_packets takes number of packets as arg, avoid reading too much

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

11 years agosimd add_hfyu_left_prediction
Loren Merritt [Sun, 18 Oct 2009 20:10:10 +0000 (20:10 +0000)]
simd add_hfyu_left_prediction
2.2x faster than C on conroe, 3.6x on penryn.
4-6% faster huffyuv decoding if using left or plane mode and yuv

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

11 years agoIncrease max resync size, fix demuxing of dvgrab-2009.03.28_19-07-22.m2t
Baptiste Coudurier [Sun, 18 Oct 2009 20:08:13 +0000 (20:08 +0000)]
Increase max resync size, fix demuxing of dvgrab-2009.03.28_19-07-22.m2t
Print error when max resync size is reached and return EAGAIN instead of
INVALIDDATA, so user can retry if wanted.

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

11 years agoadd CONFIG_LPC to the build system for lpc dsputil functions. fixes build
Justin Ruggles [Sun, 18 Oct 2009 19:51:18 +0000 (19:51 +0000)]
add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled.

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

11 years agoWMAPRO: use some type punning in decode_coeffs()
Måns Rullgård [Sun, 18 Oct 2009 18:51:54 +0000 (18:51 +0000)]
WMAPRO: use some type punning in decode_coeffs()

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

11 years agoSmarten mtv's probe a bit. Check for non zero
Reynaldo H. Verdejo Pinochet [Sun, 18 Oct 2009 18:02:12 +0000 (18:02 +0000)]
Smarten mtv's probe a bit. Check for non zero
on bpp and width|height header fields. This
change is among the ones suggested by Vitor
Sessak in his '[FFmpeg-devel] [PATCH] Improve
MTV probe' thread.

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

11 years agoReplace seek test error return numbers by the corresponding E* strings.
Reimar Döffinger [Sun, 18 Oct 2009 16:33:14 +0000 (16:33 +0000)]
Replace seek test error return numbers by the corresponding E* strings.
Hopefully this fixes regression tests on DOS.
It breaks alignment of the output a bit more, but this should be easy to
fix with a second patch.

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

11 years agoReplace big square-root table by a call to ff_sqrt(). Based on a patch
Vitor Sessak [Sun, 18 Oct 2009 16:29:10 +0000 (16:29 +0000)]
Replace big square-root table by a call to ff_sqrt(). Based on a patch
by Reimar Döffinger.

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

11 years agoremove old and useless debug code
Aurelien Jacobs [Sun, 18 Oct 2009 16:13:29 +0000 (16:13 +0000)]
remove old and useless debug code
It uses the old, deprecated metadata API and prints exactly the same thing
as what ffmpeg/ffplay does.

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

11 years agoRead metadata in WavPack files.
Anton Khirnov [Sun, 18 Oct 2009 15:28:53 +0000 (15:28 +0000)]
Read metadata in WavPack files.
Patch by Anton Khirnov (acronym("What You Should Know About Something"), gmail)

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

11 years agoFix typo that mistakenly slipped into previous commit:
Onur Küçük [Sun, 18 Oct 2009 14:34:45 +0000 (14:34 +0000)]
Fix typo that mistakenly slipped into previous commit:
CONFIG_MPEG_XVMC_DECODER was changed to CONFIG_MPEGVIDEO_XVMC_DECODER.
patch by Onur Küçük, onur delipenguen net

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

11 years agomatroskaenc: Add support for writing chapters.
Anton Khirnov [Sun, 18 Oct 2009 12:17:01 +0000 (12:17 +0000)]
matroskaenc: Add support for writing chapters.
patch by Anton Khirnov  wyskas _at_ gmail _dot_ com

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

11 years agocosmetics: Break overly long lines.
Diego Biurrun [Sun, 18 Oct 2009 10:47:40 +0000 (10:47 +0000)]
cosmetics: Break overly long lines.

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

11 years agoAdd the null video filter.
Stefano Sabatini [Sun, 18 Oct 2009 09:44:33 +0000 (09:44 +0000)]
Add the null video filter.

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

11 years agoUse 'enum PixelFormat *' rather than 'int *' as type for the
Stefano Sabatini [Sun, 18 Oct 2009 09:31:57 +0000 (09:31 +0000)]
Use 'enum PixelFormat *' rather than 'int *' as type for the
AVFilterFormats.formats field.
Cleaner / safer.

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

11 years agoAdd an entry for the avfilter_get_video_buffer() API change operated
Stefano Sabatini [Sun, 18 Oct 2009 08:31:25 +0000 (08:31 +0000)]
Add an entry for the avfilter_get_video_buffer() API change operated
in r20272.

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

11 years agoMake avfilter_get_video_buffer() recursive.
Stefano Sabatini [Sun, 18 Oct 2009 08:16:18 +0000 (08:16 +0000)]
Make avfilter_get_video_buffer() recursive.

When called on a link with a filter whose destination pad has not a
get_video_buffer callback defined, it will call
avfilter_get_video_buffer() on the first output link of the
destination filer, rather than use avfilter_default_get_buffer(), so
the video buffer can be allocated forward in the filterchain.

Also add the w and h parameters to avfilter_get_video_buffer(), as the
minimum width and height requested by each filter in the filterchain
may change, this allows for example a memcpy-less pad filter.

This change breaks API / ABI backward compatibility.

See the thread:
"[PATCH] Implement recusive avfilter_get_video_buffer()".

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

11 years agoAdd documentation for libavfilter video filters.
Stefano Sabatini [Sun, 18 Oct 2009 07:46:06 +0000 (07:46 +0000)]
Add documentation for libavfilter video filters.

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

11 years agoSupport more than 64 channels in RTMP input
Kostya Shishkov [Sun, 18 Oct 2009 07:01:06 +0000 (07:01 +0000)]
Support more than 64 channels in RTMP input

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

11 years agoAccept RTMP packets with one-byte header
Kostya Shishkov [Sun, 18 Oct 2009 06:58:00 +0000 (06:58 +0000)]
Accept RTMP packets with one-byte header

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

11 years agoLast parameter in RTMP "play" call was optional and some servers seem not to
Kostya Shishkov [Sun, 18 Oct 2009 06:54:04 +0000 (06:54 +0000)]
Last parameter in RTMP "play" call was optional and some servers seem not to
understand it, so drop it.

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