platform/upstream/libav.git
13 years agoadd my GPG fingerprint
Anton Khirnov [Fri, 10 Dec 2010 15:41:23 +0000 (15:41 +0000)]
add my GPG fingerprint

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

13 years agoFix typo.
Stefano Sabatini [Thu, 9 Dec 2010 17:34:44 +0000 (17:34 +0000)]
Fix typo.

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

13 years agoMove AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
Stefano Sabatini [Thu, 9 Dec 2010 17:27:33 +0000 (17:27 +0000)]
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

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

13 years agoMake avpicture_alloc() return meaningful values.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:09 +0000 (10:24 +0000)]
Make avpicture_alloc() return meaningful values.

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

13 years agoReindent.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:07 +0000 (10:24 +0000)]
Reindent.

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

13 years agoUse av_image_alloc() in avpicture_alloc(), simplify.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:02 +0000 (10:24 +0000)]
Use av_image_alloc() in avpicture_alloc(), simplify.

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

13 years agoDon't try to demux WavPack files with >2 channels until we can support them
Kostya Shishkov [Tue, 7 Dec 2010 18:15:06 +0000 (18:15 +0000)]
Don't try to demux WavPack files with >2 channels until we can support them

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

13 years agofix building test programs with gnu make 3.82
Ramiro Polla [Tue, 7 Dec 2010 16:42:25 +0000 (16:42 +0000)]
fix building test programs with gnu make 3.82

Test programs may be named either %.c or %-test.c. In some cases (ie. fft),
both files exist and make has to choose which rule to use. Up to gnu make
3.81, rules were applied in definition order, in this case favouring the
generic %.c rule from common.mak. gnu make 3.82 uses a shortest stem first
order, applying definition order for same length stems. In this case,
%-test.c must come first in order for make to pick the proper source file.

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

13 years agocolorspace-test: fix build
Ramiro Polla [Tue, 7 Dec 2010 15:27:11 +0000 (15:27 +0000)]
colorspace-test: fix build

rgb32tobgr32() has been removed in favour of shuffle_bytes_2103() in r32190

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

13 years agofix building of cpu-test by including required header
Ramiro Polla [Tue, 7 Dec 2010 15:25:44 +0000 (15:25 +0000)]
fix building of cpu-test by including required header

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

13 years agoDefine FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Michael Chinen [Tue, 7 Dec 2010 14:58:34 +0000 (14:58 +0000)]
Define FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoSimplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
Michael Chinen [Tue, 7 Dec 2010 14:57:02 +0000 (14:57 +0000)]
Simplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
data thanks to the recently added FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd a FLAC parser.
Michael Chinen [Tue, 7 Dec 2010 14:50:50 +0000 (14:50 +0000)]
Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

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

13 years agocosmetics: line wrap after last commit
Justin Ruggles [Tue, 7 Dec 2010 14:02:42 +0000 (14:02 +0000)]
cosmetics: line wrap after last commit

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

13 years agoAdd log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
Michael Chinen [Tue, 7 Dec 2010 14:00:38 +0000 (14:00 +0000)]
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
to optionally silence the error messages.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
Michael Chinen [Tue, 7 Dec 2010 13:50:13 +0000 (13:50 +0000)]
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoCheck validity of the frame sync code in ff_flac_decode_frame_header().
Michael Chinen [Tue, 7 Dec 2010 13:42:52 +0000 (13:42 +0000)]
Check validity of the frame sync code in ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoMove decode_frame_header() from flacdec.c to flac.c/h to share with the
Michael Chinen [Tue, 7 Dec 2010 13:30:18 +0000 (13:30 +0000)]
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agortsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known
Martin Storsjö [Tue, 7 Dec 2010 13:29:44 +0000 (13:29 +0000)]
rtsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known

This fixes cases where the RTP time base and the sample rate of the stream
differ. Previously, the AVStream time_base was unconditionally set to
the sample rate (which initially was set to one value when parsing the
rtpmap field in the SDP, but later overridden by an a=SampleRate field).

Additionally, this makes the code actually use the stream time base set
in rtpmap for video codecs, instead of hardcoding it to always be 90 kHz.

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

13 years agortsp: Parse RealRTSP sample rate declarations from the SDP
Martin Storsjö [Tue, 7 Dec 2010 13:28:45 +0000 (13:28 +0000)]
rtsp: Parse RealRTSP sample rate declarations from the SDP

The RTP time base can be different from the actual content sample rate.

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

13 years agortpdec: Handle MP3 in RealRTSP
Martin Storsjö [Tue, 7 Dec 2010 13:28:13 +0000 (13:28 +0000)]
rtpdec: Handle MP3 in RealRTSP

This fixes playback of a RealRTSP/MP3 URL from the RTSP samples on
MultimediaWiki.

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

13 years agoFix building of object files in tools/
Ramiro Polla [Tue, 7 Dec 2010 11:42:19 +0000 (11:42 +0000)]
Fix building of object files in tools/

Fixes issue issue2408.

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

13 years agoAdd fullrange support to libx264.c x264 interface
Jason Garrett-Glaser [Tue, 7 Dec 2010 09:51:27 +0000 (09:51 +0000)]
Add fullrange support to libx264.c x264 interface

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

13 years agoid3v2: skip encrypted/compressed frames
Anton Khirnov [Tue, 7 Dec 2010 07:52:54 +0000 (07:52 +0000)]
id3v2: skip encrypted/compressed frames

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

13 years agoid3v2: use a named constant instead of 0x02
Anton Khirnov [Tue, 7 Dec 2010 07:52:50 +0000 (07:52 +0000)]
id3v2: use a named constant instead of 0x02

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

13 years agoIn mov demuxer, read alac sample from extradata, fix #2406
Baptiste Coudurier [Tue, 7 Dec 2010 01:38:26 +0000 (01:38 +0000)]
In mov demuxer, read alac sample from extradata, fix #2406

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

13 years agoDeprecate the use of the NO_COLOR environment variable.
Stefano Sabatini [Mon, 6 Dec 2010 22:24:21 +0000 (22:24 +0000)]
Deprecate the use of the NO_COLOR environment variable.

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

13 years agoIntroduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
Stefano Sabatini [Mon, 6 Dec 2010 21:47:10 +0000 (21:47 +0000)]
Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
NO_COLOR (but properly prefixed for avoiding namespace conflicts).

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

13 years agoalsdec: Correct the ALS decoder by storing some parameters per-channel rather
Sprezz [Mon, 6 Dec 2010 15:18:50 +0000 (15:18 +0000)]
alsdec: Correct the ALS decoder by storing some parameters per-channel rather
than just per-block. Patch by Sprezz [sprezzatura gmx com]. Fixes Issue 2387.

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

13 years agortpdec_h264: Pass NAL type 0 through
Martin Storsjö [Mon, 6 Dec 2010 12:44:09 +0000 (12:44 +0000)]
rtpdec_h264: Pass NAL type 0 through

According to the spec, this type shouldn't ever be used. Nevertheless,
passing it through enables decoding streams which otherwise aren't
decodeable.

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

13 years agortpdec: Skip padding bytes at the end of packets
Martin Storsjö [Mon, 6 Dec 2010 12:43:38 +0000 (12:43 +0000)]
rtpdec: Skip padding bytes at the end of packets

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

13 years agoIn yadif filter, declare asm constants directly to avoid dependency on libavcodec
Baptiste Coudurier [Mon, 6 Dec 2010 00:14:15 +0000 (00:14 +0000)]
In yadif filter, declare asm constants directly to avoid dependency on libavcodec

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

13 years agortpdec_qcelp: Use the depacketizer for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:42:14 +0000 (19:42 +0000)]
rtpdec_qcelp: Use the depacketizer for static payload types, too

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

13 years agortsp: Look for RTP payload handlers for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:41:44 +0000 (19:41 +0000)]
rtsp: Look for RTP payload handlers for static payload types, too

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

13 years agortsp: Factorize code for initializing the rtp payload handler
Martin Storsjö [Sun, 5 Dec 2010 19:41:09 +0000 (19:41 +0000)]
rtsp: Factorize code for initializing the rtp payload handler

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

13 years agortpdec: Add functions for finding depacketizers by name or payload id
Martin Storsjö [Sun, 5 Dec 2010 19:39:50 +0000 (19:39 +0000)]
rtpdec: Add functions for finding depacketizers by name or payload id

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

13 years agortpdec: Allow dynamic payload handlers to handle static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:38:55 +0000 (19:38 +0000)]
rtpdec: Allow dynamic payload handlers to handle static payload types, too

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

13 years agortpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658
Martin Storsjö [Sun, 5 Dec 2010 19:37:45 +0000 (19:37 +0000)]
rtpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658

This fixes roundup issue 2390.

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

13 years agoAllow to force colored output.
Etienne Buira [Sun, 5 Dec 2010 13:56:49 +0000 (13:56 +0000)]
Allow to force colored output.

Patch by Etienne Buira, etienne d buira d lists a free d fr

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

13 years agoRTP/VP8: Update the warning about the VP8 payload
Martin Storsjö [Sun, 5 Dec 2010 11:45:57 +0000 (11:45 +0000)]
RTP/VP8: Update the warning about the VP8 payload

The current implementation is incompatible with the latest spec drafts,
this should be communicated clearly to the user.

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

13 years agoAdd CODEC_CAP_NEG_LINESIZES.
Stefano Sabatini [Sat, 4 Dec 2010 19:06:45 +0000 (19:06 +0000)]
Add CODEC_CAP_NEG_LINESIZES.

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

13 years agocosmetic: indentation
Aurelien Jacobs [Sat, 4 Dec 2010 14:47:13 +0000 (14:47 +0000)]
cosmetic: indentation

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

13 years agoadd subtitle codec autodetection
Aurelien Jacobs [Sat, 4 Dec 2010 14:46:13 +0000 (14:46 +0000)]
add subtitle codec autodetection

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

13 years agoAdd forgotten deprecation to avcodec_pix_fmt_string().
Stefano Sabatini [Sat, 4 Dec 2010 14:14:12 +0000 (14:14 +0000)]
Add forgotten deprecation to avcodec_pix_fmt_string().

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

13 years agoCosmetics: add empty line which was previously removed.
Stefano Sabatini [Sat, 4 Dec 2010 13:13:46 +0000 (13:13 +0000)]
Cosmetics: add empty line which was previously removed.

Improve readability.

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

13 years ago10l, add ff_pw_1 to dsputil_mmx for yadif sse2
Baptiste Coudurier [Sat, 4 Dec 2010 13:06:06 +0000 (13:06 +0000)]
10l, add ff_pw_1 to dsputil_mmx for yadif sse2

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

13 years agoPort libmpcodecs hqdn3d filter.
Baptiste Coudurier [Sat, 4 Dec 2010 13:03:42 +0000 (13:03 +0000)]
Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

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

13 years agoDeprecate avcodec_pix_fmt_string() in favor of
Stefano Sabatini [Sat, 4 Dec 2010 12:56:21 +0000 (12:56 +0000)]
Deprecate avcodec_pix_fmt_string() in favor of
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.

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

13 years agoImplement av_image_alloc() and use it in
Stefano Sabatini [Sat, 4 Dec 2010 12:56:16 +0000 (12:56 +0000)]
Implement av_image_alloc() and use it in
avfilter_default_get_video_buffer().

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

13 years agoDeclare sse2 and ssse2 function in yadif header
Baptiste Coudurier [Sat, 4 Dec 2010 05:50:28 +0000 (05:50 +0000)]
Declare sse2 and ssse2 function in yadif header

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

13 years agoTry to improve reordered_opaque doxy.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:29 +0000 (05:44 +0000)]
Try to improve reordered_opaque doxy.

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

13 years agoDetect incorrect padding with wrong stuffing codes used by NEC N-02B.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:18 +0000 (05:44 +0000)]
Detect incorrect padding with wrong stuffing codes used by NEC N-02B.
I dont know if this is the best way to handle it. But it fixes http://kuwatan.jp/temp/n-02b.3gp

Fixes issue 2373.

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

13 years agoyadif sse2/ssse3 optimizations
Baptiste Coudurier [Sat, 4 Dec 2010 05:23:44 +0000 (05:23 +0000)]
yadif sse2/ssse3 optimizations

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

13 years agoCount non-header data towards intra block bit count in MJPEG encoder
Bobby Bingham [Sat, 4 Dec 2010 05:21:03 +0000 (05:21 +0000)]
Count non-header data towards intra block bit count in MJPEG encoder

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

13 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:21 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavcodec.

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

13 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:12 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavutil.

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

13 years agoset default subtitle_codec for ass muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:47:12 +0000 (00:47 +0000)]
set default subtitle_codec for ass muxer

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

13 years agocosmetic: alignment
Aurelien Jacobs [Sat, 4 Dec 2010 00:44:42 +0000 (00:44 +0000)]
cosmetic: alignment

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

13 years agouse designated initializer in ASS (de)muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:37:53 +0000 (00:37 +0000)]
use designated initializer in ASS (de)muxer

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

13 years agoadd myself as maintainer for ASS and SRT
Aurelien Jacobs [Sat, 4 Dec 2010 00:23:08 +0000 (00:23 +0000)]
add myself as maintainer for ASS and SRT

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

13 years agog722: Add a trellis encoder
Martin Storsjö [Fri, 3 Dec 2010 21:18:45 +0000 (21:18 +0000)]
g722: Add a trellis encoder

The structure is largely based on the trellis encoder in adpcm.c.

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

13 years agoAdd myself as maintainer for g722.c
Martin Storsjö [Fri, 3 Dec 2010 21:17:23 +0000 (21:17 +0000)]
Add myself as maintainer for g722.c

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

13 years agompegtsenc: Improve PCR generation and output
Tomas Härdin [Fri, 3 Dec 2010 13:26:42 +0000 (13:26 +0000)]
mpegtsenc: Improve PCR generation and output
This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000.
This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec).

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

13 years agoskip top-level objects to search for the simple index in ASF files
Stefan Gehrer [Fri, 3 Dec 2010 07:49:07 +0000 (07:49 +0000)]
skip top-level objects to search for the simple index in ASF files

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

13 years agoAdd avfilter_graph_create_filter().
Stefano Sabatini [Thu, 2 Dec 2010 20:12:27 +0000 (20:12 +0000)]
Add avfilter_graph_create_filter().

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

13 years agoAdd missing overflow checks in av_image_fill_pointers() and
Stefano Sabatini [Thu, 2 Dec 2010 19:49:55 +0000 (19:49 +0000)]
Add missing overflow checks in av_image_fill_pointers() and
av_image_fill_linesizes().

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

13 years agompc: read id3v1 tags.
Anton Khirnov [Thu, 2 Dec 2010 09:56:15 +0000 (09:56 +0000)]
mpc: read id3v1 tags.

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

13 years agoUse SECTION .text for yasm code.
avcoder [Wed, 1 Dec 2010 13:12:39 +0000 (13:12 +0000)]
Use SECTION .text for yasm code.

Patch by avcoder, ffmpeg gmail

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

13 years agoadpcm: Skip samples whose ssd calculation has wrapped around
Martin Storsjö [Wed, 1 Dec 2010 08:57:45 +0000 (08:57 +0000)]
adpcm: Skip samples whose ssd calculation has wrapped around

Wraparound in ssd is mainly avoided by subtracting the ssd of the
best node from all the others once it has grown large enough.

If using very large trellis sizes (e.g. -trellis 15), the frontier
is so large that the difference between the best and the worst is
large enough to cause wraparound, even if the ssd of the best one
is subtracted regularly.

When using -trellis 10 on a 30 second sample, this causes only a slight
slowdown, from 61 to 64 seconds.

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

13 years agoAdd missing dependencies for frei0r_src in configure.
Stefano Sabatini [Tue, 30 Nov 2010 21:41:26 +0000 (21:41 +0000)]
Add missing dependencies for frei0r_src in configure.

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

13 years agoExtend the frei0r filter syntax.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:41 +0000 (20:14 +0000)]
Extend the frei0r filter syntax.

Make it accept the frei0r=filtername=params as alternative to
frei0r=filtername:params.

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

13 years agoImplement frei0r source.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:36 +0000 (20:14 +0000)]
Implement frei0r source.

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

13 years agoRemove @anchor{} commands from the POD output.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:29 +0000 (20:14 +0000)]
Remove @anchor{} commands from the POD output.

This allows to use the @xref{} command for the HTML output.

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

13 years agoAdd FourCC yuvs for rawvideo (PIX_FMT_YUYV422).
Andrew Wason [Mon, 29 Nov 2010 23:15:51 +0000 (23:15 +0000)]
Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422).

Patch by Andrew Wason, rectalogic rectalogic com

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

13 years agoEnsure that data_offset is set correctly when there are partial
Aaron Colwell [Mon, 29 Nov 2010 19:02:28 +0000 (19:02 +0000)]
Ensure that data_offset is set correctly when there are partial
data packets before the first complete one.
Patch by Aaron Colwell [acolwell chromium org].

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

13 years agoPartially revert "Simplify code by using av_metadata_set2()."
Anton Khirnov [Mon, 29 Nov 2010 16:38:12 +0000 (16:38 +0000)]
Partially revert "Simplify code by using av_metadata_set2()."

This reverts snprintf->av_d2str part of r20840.
With it, track number is exported as a float, which is not
desirable.

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

13 years agortpdec: Remove useless NULL initializations when using designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:45 +0000 (16:04 +0000)]
rtpdec: Remove useless NULL initializations when using designated initializers

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

13 years agortpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:04 +0000 (16:04 +0000)]
rtpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers

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

13 years agoFix h264-conformance-frext-frext_mmco4_sony_b conformance test.
Carl Eugen Hoyos [Mon, 29 Nov 2010 10:35:57 +0000 (10:35 +0000)]
Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.

This includes a revert of r25840

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

13 years agoIn ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded...
Baptiste Coudurier [Mon, 29 Nov 2010 03:43:56 +0000 (03:43 +0000)]
In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded data.
Fixes issue #2392.

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

13 years agoUpdate fate h264 test due to r25824, this file has 2 frames delay
Baptiste Coudurier [Sun, 28 Nov 2010 23:09:30 +0000 (23:09 +0000)]
Update fate h264 test due to r25824, this file has 2 frames delay

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

13 years agortsp: Do a forgotten reindenting
Martin Storsjö [Sun, 28 Nov 2010 21:17:39 +0000 (21:17 +0000)]
rtsp: Do a forgotten reindenting

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

13 years agoIn libavfilter, use consistently "Copyright (c)" in the license
Stefano Sabatini [Sun, 28 Nov 2010 10:22:58 +0000 (10:22 +0000)]
In libavfilter, use consistently "Copyright (c)" in the license
headers.

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

13 years agoAdd G.722 to RIFF codec list
Peter Ross [Sun, 28 Nov 2010 03:01:00 +0000 (03:01 +0000)]
Add G.722 to RIFF codec list

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

13 years agoIncrease avformat micro version, forgotten in r25834.
Carl Eugen Hoyos [Sat, 27 Nov 2010 20:29:54 +0000 (20:29 +0000)]
Increase avformat micro version, forgotten in r25834.

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

13 years agoAdd copyright notices for the E-AC3 and TrueHD parts of the muxer.
Carl Eugen Hoyos [Sat, 27 Nov 2010 18:10:20 +0000 (18:10 +0000)]
Add copyright notices for the E-AC3 and TrueHD parts of the muxer.

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

13 years agoIEC 61937 encapsulation of TrueHD for HDMI passthrough.
Anssi Hannula [Sat, 27 Nov 2010 18:08:01 +0000 (18:08 +0000)]
IEC 61937 encapsulation of TrueHD for HDMI passthrough.
This works at least for some people testing it.

Patch by Anssi Hannula, anssi d hannula a iki fi

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

13 years agoDV: use data_offset to fix seeking in badly cut files where the first
Reimar Döffinger [Sat, 27 Nov 2010 14:40:12 +0000 (14:40 +0000)]
DV: use data_offset to fix seeking in badly cut files where the first
complete frame does not start at position 0.

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

13 years agoensure the ASS string in AVSubtitleRect is 0 terminated
Aurelien Jacobs [Sat, 27 Nov 2010 01:07:06 +0000 (01:07 +0000)]
ensure the ASS string in AVSubtitleRect is 0 terminated

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

13 years agoMobotix .mxg demuxer
Anatoly Nenashev [Fri, 26 Nov 2010 10:11:16 +0000 (10:11 +0000)]
Mobotix .mxg demuxer

Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru

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

13 years agoFix date in last APIchanges entry.
Stefano Sabatini [Fri, 26 Nov 2010 00:40:01 +0000 (00:40 +0000)]
Fix date in last APIchanges entry.

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

13 years agoFix crash in uninit.
Stefano Sabatini [Thu, 25 Nov 2010 23:51:37 +0000 (23:51 +0000)]
Fix crash in uninit.

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

13 years agoFix timestamp scaling in the overlay filter.
Stefano Sabatini [Thu, 25 Nov 2010 21:22:55 +0000 (21:22 +0000)]
Fix timestamp scaling in the overlay filter.

Compute the outpicref PTS in start_frame(), since it is required for
comparing that value with the value of the overpicref.

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

13 years agoImplement avfilter_get_video_buffer_ref_from_arrays().
Stefano Sabatini [Thu, 25 Nov 2010 20:50:28 +0000 (20:50 +0000)]
Implement avfilter_get_video_buffer_ref_from_arrays().

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

13 years agoMake avfilter_default_free_buffer() an internal shared symbol, so that
Stefano Sabatini [Thu, 25 Nov 2010 20:50:23 +0000 (20:50 +0000)]
Make avfilter_default_free_buffer() an internal shared symbol, so that
it can be referenced outside defaults.c.

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

13 years agoIn mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix...
Baptiste Coudurier [Thu, 25 Nov 2010 05:03:29 +0000 (05:03 +0000)]
In mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix #2069

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

13 years agoIn av_find_stream_info, decode more h264 to get correct delay, issue #2020
Baptiste Coudurier [Thu, 25 Nov 2010 02:19:03 +0000 (02:19 +0000)]
In av_find_stream_info, decode more h264 to get correct delay, issue #2020

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

13 years agoIn TS demuxer, create the AVStream during pmt parsing if the pes stream does not
Stephen D'Angelo [Thu, 25 Nov 2010 00:55:02 +0000 (00:55 +0000)]
In TS demuxer, create the AVStream during pmt parsing if the pes stream does not
yet have it, this can happen if the pes stream contain data but no pes header
has been encoutered yet.
Patch by Stephen D'Angelo, SDAngelo at evertz dot com.

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

13 years agoIn TS demuxer, keep the pmt filter open to parse all pmt sections,
Baptiste Coudurier [Thu, 25 Nov 2010 00:29:44 +0000 (00:29 +0000)]
In TS demuxer, keep the pmt filter open to parse all pmt sections,
based on patch by Stephen D'Angelo, SDAngelo at evertz dot com.

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

13 years agoavidec: read some of the Nikon specific tags produced by Nikon cameras
Aurelien Jacobs [Wed, 24 Nov 2010 20:53:27 +0000 (20:53 +0000)]
avidec: read some of the Nikon specific tags produced by Nikon cameras

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