ffmpeg.git
10 years agoSplit install-headers target and simplify rules
Måns Rullgård [Sat, 6 Mar 2010 17:14:16 +0000 (17:14 +0000)]
Split install-headers target and simplify rules

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

10 years agoAdd INSTALL makefile variable
Måns Rullgård [Sat, 6 Mar 2010 17:14:13 +0000 (17:14 +0000)]
Add INSTALL makefile variable

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

10 years agoUse mkdir -p to create directories
Måns Rullgård [Sat, 6 Mar 2010 17:14:11 +0000 (17:14 +0000)]
Use mkdir -p to create directories

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

10 years agoAdd CP make variable
Måns Rullgård [Sat, 6 Mar 2010 17:14:08 +0000 (17:14 +0000)]
Add CP make variable

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

10 years agoAdd YASMDEP variable; use for deps on yasm files
Måns Rullgård [Sat, 6 Mar 2010 17:14:06 +0000 (17:14 +0000)]
Add YASMDEP variable; use for deps on yasm files

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

10 years agoFix last frame block size correction.
Thilo Borgmann [Sat, 6 Mar 2010 17:13:31 +0000 (17:13 +0000)]
Fix last frame block size correction.

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

10 years agoBink version 'h' also has chroma planes swapped
Kostya Shishkov [Sat, 6 Mar 2010 15:09:14 +0000 (15:09 +0000)]
Bink version 'h' also has chroma planes swapped

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

10 years agoMove FFT parts from dsputil.h to fft.h
Måns Rullgård [Sat, 6 Mar 2010 14:34:46 +0000 (14:34 +0000)]
Move FFT parts from dsputil.h to fft.h

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

10 years agoUse $(RM) to delete files
Måns Rullgård [Sat, 6 Mar 2010 14:25:10 +0000 (14:25 +0000)]
Use $(RM) to delete files

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

10 years agoRemove DECLARE_ALIGNED_{8,16} macros
Måns Rullgård [Sat, 6 Mar 2010 14:24:59 +0000 (14:24 +0000)]
Remove DECLARE_ALIGNED_{8,16} macros

These macros are redundant.  All uses are replaced with the generic
DECLARE_ALIGNED macro instead.

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

10 years agoMake opt_default() look for options in sws_opts only if sws_opts is
Stefano Sabatini [Sat, 6 Mar 2010 14:09:35 +0000 (14:09 +0000)]
Make opt_default() look for options in sws_opts only if sws_opts is
defined, fix crash.

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

10 years agoAdd support to input devices in ffprobe.
Stefano Sabatini [Sat, 6 Mar 2010 13:06:45 +0000 (13:06 +0000)]
Add support to input devices in ffprobe.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Add support to input device to ffprobe
Date: Sun, 21 Feb 2010 14:57:44 +0100

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

10 years agoMove DECLARE_ALIGNED_{8,16} macros to mem.h
Måns Rullgård [Sat, 6 Mar 2010 12:40:43 +0000 (12:40 +0000)]
Move DECLARE_ALIGNED_{8,16} macros to mem.h

These macros naturally belong next to the generic DECLARE_ALIGNED
macro.

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

10 years agoAvoid duplication of usePal() macro.
Stefano Sabatini [Sat, 6 Mar 2010 11:50:54 +0000 (11:50 +0000)]
Avoid duplication of usePal() macro.

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

10 years agoAdd support to BGR444/RGB444 foreign endian output in libswscale.
Janusz Krzysztofik [Sat, 6 Mar 2010 11:27:31 +0000 (11:27 +0000)]
Add support to BGR444/RGB444 foreign endian output in libswscale.

Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|.

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

10 years agoRemove apparently unneeded define and includes.
Michael Niedermayer [Sat, 6 Mar 2010 01:32:52 +0000 (01:32 +0000)]
Remove apparently unneeded define and includes.

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

10 years agoMake trasher use a well defined random number generator and allow the seed to be...
Michael Niedermayer [Sat, 6 Mar 2010 01:31:17 +0000 (01:31 +0000)]
Make trasher use a well defined random number generator and allow the seed to be specified on the cmd line.

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

10 years agoDon't explicitly initialize networking in the tcp and udp protocols
Martin Storsjö [Fri, 5 Mar 2010 22:38:48 +0000 (22:38 +0000)]
Don't explicitly initialize networking in the tcp and udp protocols

Networking is always initialized when opening protocols.

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

10 years agoUse ff_url_join for assembling URLs, instead of snprintf
Martin Storsjö [Fri, 5 Mar 2010 22:35:21 +0000 (22:35 +0000)]
Use ff_url_join for assembling URLs, instead of snprintf

This ensures proper escaping of numerical IPv6 addresses.

The RTSP (de)muxer needs its own network initialization, since it isn't
a protocol and url_open hasn't been called yet.

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

10 years agoAdd a function ff_url_join for assembling URLs
Martin Storsjö [Fri, 5 Mar 2010 22:31:45 +0000 (22:31 +0000)]
Add a function ff_url_join for assembling URLs

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

10 years agoAlways call ff_network_init/ff_network_close when opening protocols
Martin Storsjö [Fri, 5 Mar 2010 22:30:21 +0000 (22:30 +0000)]
Always call ff_network_init/ff_network_close when opening protocols

ff_network_init is a no-op on all platforms except windows, and on
windows the performance penalty is minimal (less than 1 ms in my tests).

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

10 years agotry to avoid returning odd slices.
Michael Niedermayer [Fri, 5 Mar 2010 21:39:27 +0000 (21:39 +0000)]
try to avoid returning odd slices.

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

10 years agoRound correctly chroma picture height.
Vitor Sessak [Fri, 5 Mar 2010 20:04:24 +0000 (20:04 +0000)]
Round correctly chroma picture height.

Fix issue 956.

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

10 years agoFix memory leak in NUT muxer
Vitor Sessak [Fri, 5 Mar 2010 17:26:34 +0000 (17:26 +0000)]
Fix memory leak in NUT muxer

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

10 years agoCosmetics: fix vertical alignment.
Benoit Fouet [Fri, 5 Mar 2010 08:41:35 +0000 (08:41 +0000)]
Cosmetics: fix vertical alignment.

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

10 years agoUpdate SW scaler doc after libswscale commit 30841.
Janusz Krzysztofik [Fri, 5 Mar 2010 08:34:31 +0000 (08:34 +0000)]
Update SW scaler doc after libswscale commit 30841.
Patch by Janusz Krzysztofik jkrzyszt, tis icnet pl.

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

10 years agolibswscale: Extend the unaccelerated path of the unscaled yuv2rgb special
Janusz Krzysztofik [Fri, 5 Mar 2010 08:32:54 +0000 (08:32 +0000)]
libswscale: Extend the unaccelerated path of the unscaled yuv2rgb special
            converter with support for rgb444 output format.
Patch by Janusz Krzysztofik jkrzyszt chez tis icnet pl

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

10 years agoAdd initial support for 12-bit color mode.
Janusz Krzysztofik [Fri, 5 Mar 2010 08:26:23 +0000 (08:26 +0000)]
Add initial support for 12-bit color mode.
Patch by Janusz Krzysztofik jkrzyszt tis icnet pl
Original thread:
Subject: [FFmpeg-devel] [PATCH v2] Add initial support for 12-bit color mode.
Date: Mon, 1 Mar 2010 02:05:07 +0100

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

10 years agoReturn from rtp_read when select returns an error
Martin Storsjö [Fri, 5 Mar 2010 08:15:20 +0000 (08:15 +0000)]
Return from rtp_read when select returns an error

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

10 years ago10l fix timestamps (lavfi update broke them)
Michael Niedermayer [Fri, 5 Mar 2010 03:54:39 +0000 (03:54 +0000)]
10l fix timestamps (lavfi update broke them)

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

10 years agoFix 100l pkt->pos typo.
Michael Niedermayer [Fri, 5 Mar 2010 03:34:47 +0000 (03:34 +0000)]
Fix 100l pkt->pos typo.

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

10 years agoLibavfilter for ffplay support.
Michael Niedermayer [Fri, 5 Mar 2010 02:20:10 +0000 (02:20 +0000)]
Libavfilter for ffplay support.
This still needs some minor work here and there but should be already functional.
Note that the code pathes that are under "not avfilter" ifdefs as well as the
ifdefs will be droped as soon as all major issues have been det with, aka could
be real soon or not.

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

10 years agoFix BGR cases missing from depth test in avcodec_get_pix_fmt_loss().
Janusz Krzysztofik [Fri, 5 Mar 2010 00:50:13 +0000 (00:50 +0000)]
Fix BGR cases missing from depth test in avcodec_get_pix_fmt_loss().

Patch by Janusz Krzysztofik:
<${name initial}${surname less the final "ofik"}@tis.icnet.pl>.

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

10 years agooggdec: Parse theora headers since ogg might not mark keyframes
David Conrad [Fri, 5 Mar 2010 00:22:40 +0000 (00:22 +0000)]
oggdec: Parse theora headers since ogg might not mark keyframes

Fixes issue746

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

10 years agoJust ignore streams with unknown codec_type instead of exiting
David Conrad [Fri, 5 Mar 2010 00:22:37 +0000 (00:22 +0000)]
Just ignore streams with unknown codec_type instead of exiting

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

10 years agoCosmetics: use consistent spacing in the ffprobe.c options table.
Stefano Sabatini [Thu, 4 Mar 2010 23:35:30 +0000 (23:35 +0000)]
Cosmetics: use consistent spacing in the ffprobe.c options table.

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

10 years agoFixed DXVA2 H264 hwaccel after luma/chroma_weight changes.
Laurent Aimar [Thu, 4 Mar 2010 19:12:20 +0000 (19:12 +0000)]
Fixed DXVA2 H264 hwaccel after luma/chroma_weight changes.

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

10 years agoFixed buffer overread in flashsv decoder.
Laurent Aimar [Thu, 4 Mar 2010 19:10:44 +0000 (19:10 +0000)]
Fixed buffer overread in flashsv decoder.

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

10 years agoSupport BGR555, BGR565, RGB555 and RGB565 foreign endian output in
Alexis Ballier [Thu, 4 Mar 2010 16:57:04 +0000 (16:57 +0000)]
Support BGR555, BGR565, RGB555 and RGB565 foreign endian output in
libswscale.

Patch by Alexis Ballier, alexis D ballier A gmail

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

10 years agoCheck url_interrupt_cb in rtp_read, wait in select for max 100 ms before rechecking...
Martin Storsjö [Thu, 4 Mar 2010 15:08:54 +0000 (15:08 +0000)]
Check url_interrupt_cb in rtp_read, wait in select for max 100 ms before rechecking url_interrupt_cb

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

10 years agohandle errors reported by av_get_packet() in Bink demuxer
Peter Ross [Thu, 4 Mar 2010 13:27:53 +0000 (13:27 +0000)]
handle errors reported by av_get_packet() in Bink demuxer

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

10 years agoGuard against invalid memory read
Peter Ross [Thu, 4 Mar 2010 13:26:01 +0000 (13:26 +0000)]
Guard against invalid memory read

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

10 years agoAAC: Return the number of bytes consumed in decoding a frame.
Alex Converse [Thu, 4 Mar 2010 12:34:15 +0000 (12:34 +0000)]
AAC: Return the number of bytes consumed in decoding a frame.

The libfaad wrapper does this.

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

10 years agoffmpeg.c: Don't use NULL for integer metadata flags.
Alex Converse [Thu, 4 Mar 2010 11:27:39 +0000 (11:27 +0000)]
ffmpeg.c: Don't use NULL for integer metadata flags.

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

10 years agoReally fix 2.95
David Conrad [Thu, 4 Mar 2010 10:01:03 +0000 (10:01 +0000)]
Really fix 2.95

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

10 years agoMaybe fix gcc 2.95
David Conrad [Thu, 4 Mar 2010 09:25:42 +0000 (09:25 +0000)]
Maybe fix gcc 2.95

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

10 years agoCope with rev 22183:
Gwenole Beauchesne [Thu, 4 Mar 2010 09:14:19 +0000 (09:14 +0000)]
Cope with rev 22183:
Reorder indexes in weight tables.

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

10 years agoEnsure that we write clusters and blocks with known size when streaming
David Conrad [Thu, 4 Mar 2010 08:53:14 +0000 (08:53 +0000)]
Ensure that we write clusters and blocks with known size when streaming

Too many demuxers can't cope with clusters of unknown size.

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

10 years agoFix indentation
David Conrad [Thu, 4 Mar 2010 08:53:11 +0000 (08:53 +0000)]
Fix indentation

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

10 years agoSimplify starting and ending clusters
David Conrad [Thu, 4 Mar 2010 08:53:08 +0000 (08:53 +0000)]
Simplify starting and ending clusters

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

10 years agoWrite the first seekhead if writing to a stream, we won't be able to seek
David Conrad [Thu, 4 Mar 2010 08:53:04 +0000 (08:53 +0000)]
Write the first seekhead if writing to a stream, we won't be able to seek
back and write it at the end

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

10 years agoAttempt seeking to write EBML master sizes even if streamed
David Conrad [Thu, 4 Mar 2010 08:53:00 +0000 (08:53 +0000)]
Attempt seeking to write EBML master sizes even if streamed

Most EBML masters are much smaller than IO_BUFFER_SIZE and thus the size
can be updated. This makes parsing the resulting files easier.

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

10 years agoAAC: Mark predictor functions av_always_inline.
Alex Converse [Thu, 4 Mar 2010 04:58:43 +0000 (04:58 +0000)]
AAC: Mark predictor functions av_always_inline.

This results in a 50% speedup on main profile with no increase in binary size.

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

10 years agoCosmetics: Re-indent after last commit.
Alex Converse [Thu, 4 Mar 2010 02:32:48 +0000 (02:32 +0000)]
Cosmetics: Re-indent after last commit.

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

10 years agoAAC parser: Don't write channels, sample rate, and frame size each frame.
Alex Converse [Thu, 4 Mar 2010 02:30:51 +0000 (02:30 +0000)]
AAC parser: Don't write channels, sample rate, and frame size each frame.

Thanks to backwards compatible HE-AAC signalling these values are unreliable.

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

10 years agoPort Optimizations about *_type init from decode to filter code.
Michael Niedermayer [Thu, 4 Mar 2010 02:00:05 +0000 (02:00 +0000)]
Port Optimizations about *_type init from decode to filter code.
1 cpu cycle faster

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

10 years agoOptimize *_type init, 1.5 cpu cycles faster.
Michael Niedermayer [Thu, 4 Mar 2010 01:03:15 +0000 (01:03 +0000)]
Optimize *_type init, 1.5 cpu cycles faster.

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

10 years agoRevert r30825, it was not supposed to be committed.
Stefano Sabatini [Thu, 4 Mar 2010 01:02:24 +0000 (01:02 +0000)]
Revert r30825, it was not supposed to be committed.

127.32L to me, beware when using git svn dcommit for committing stuff
to svn...

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

10 years agoFill the r, g, b values used for computing the c->pal_yuv table in the
Stefano Sabatini [Thu, 4 Mar 2010 00:31:13 +0000 (00:31 +0000)]
Fill the r, g, b values used for computing the c->pal_yuv table in the
case where the source format is PIX_FMT_GRAY8.

This is required as PIX_FMT_GRAY8 has been declared as a paletted
format in FFmpeg r22191, fix GRAY8 -> RGB conversion.

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

10 years agoMake swscale-test take in input the name of the input and the output
Stefano Sabatini [Thu, 4 Mar 2010 00:31:10 +0000 (00:31 +0000)]
Make swscale-test take in input the name of the input and the output
format.

Make swscale-test only perform the test from the input to the output
format rather than perform all.

Also implement swscale-test-all.sh, for performing all the tests.

Improve flexibility of the swscale-test tool, this way is simpler to
perform only a subset of tests.

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

10 years agoDeclare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
Stefano Sabatini [Thu, 4 Mar 2010 00:27:46 +0000 (00:27 +0000)]
Declare the PIX_FMT_GRAY8 pixel format as a paletted format.  This is
consistent with the allocation currently done for PIX_FMT_GRAY8
pictures.

No significant slow-downs have been measured.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100

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

10 years agoDelay translating DCT tokens into coefficients until immediately before IDCT
David Conrad [Wed, 3 Mar 2010 23:27:43 +0000 (23:27 +0000)]
Delay translating DCT tokens into coefficients until immediately before IDCT

This is generally around 12% faster than the prior method of creating a
linked list for each block as tokens are read, but can be anywhere from
8% to 28% faster depending on file and CPU.

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

10 years agoDo MC and IDCT in coding (hilbert) order
David Conrad [Wed, 3 Mar 2010 23:27:40 +0000 (23:27 +0000)]
Do MC and IDCT in coding (hilbert) order

This increases the slice size to 64 pixels, due to having to decode an
entire chroma superblock row per slice.

This can be up to 6% slower depending on clip and CPU, but is necessary
for future optimizations that gain significantly more than was lost.

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

10 years agoExplictly separate decoding whether fragments are coded by plane
David Conrad [Wed, 3 Mar 2010 23:27:37 +0000 (23:27 +0000)]
Explictly separate decoding whether fragments are coded by plane

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

10 years agomatroskaenc: use "title" tag instead of "description" in track title.
Anton Khirnov [Wed, 3 Mar 2010 23:27:34 +0000 (23:27 +0000)]
matroskaenc: use "title" tag instead of "description" in track title.

Patch by Anton Khirnov < whyskas at gmail >

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

10 years agomove vp6 huffman table freeing code, out of common vp56 code
Aurelien Jacobs [Wed, 3 Mar 2010 22:29:06 +0000 (22:29 +0000)]
move vp6 huffman table freeing code, out of common vp56 code

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

10 years agomatroskadec: cosmetic indentation
Aurelien Jacobs [Wed, 3 Mar 2010 21:49:24 +0000 (21:49 +0000)]
matroskadec: cosmetic indentation

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

10 years agomatroskadec: timestamps are dts and not pts in ms vfw compatibility mode
Joakim Plate [Wed, 3 Mar 2010 21:46:43 +0000 (21:46 +0000)]
matroskadec: timestamps are dts and not pts in ms vfw compatibility mode
original patch by elupus _at_ ecce _dot_ se

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

10 years agoReorder indexes in weight tables.
Michael Niedermayer [Wed, 3 Mar 2010 21:10:08 +0000 (21:10 +0000)]
Reorder indexes in weight tables.
5 cpu cycles faster.

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

10 years agoProperly pad H.264 extradata when taken from fmtp SDP attributes
Martin Storsjö [Wed, 3 Mar 2010 21:00:50 +0000 (21:00 +0000)]
Properly pad H.264 extradata when taken from fmtp SDP attributes

This fixes some valgrind warnings.

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

10 years agoMove all context fields that are not used in the mb and block layers
Michael Niedermayer [Wed, 3 Mar 2010 20:36:56 +0000 (20:36 +0000)]
Move all context fields that are not used in the mb and block layers
to the end of the structure.
4 cpu cycles faster in 3k cpu cycles

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

10 years agoFixed DXVA2 H264 hwaccel compilation.
Laurent Aimar [Wed, 3 Mar 2010 19:54:12 +0000 (19:54 +0000)]
Fixed DXVA2 H264 hwaccel compilation.

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

10 years agoremove unused left_border field from context.
Michael Niedermayer [Wed, 3 Mar 2010 19:44:27 +0000 (19:44 +0000)]
remove unused left_border field from context.

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

10 years agocosmetic addition of {}
Michael Niedermayer [Wed, 3 Mar 2010 19:32:50 +0000 (19:32 +0000)]
cosmetic addition of {}

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

10 years agoNote about luma/chroma_weight tables and their datatype.
Michael Niedermayer [Wed, 3 Mar 2010 19:31:58 +0000 (19:31 +0000)]
Note about luma/chroma_weight tables and their datatype.

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

10 years agoFixed overreads in TTA decoder with corrupted bistreams.
Laurent Aimar [Wed, 3 Mar 2010 19:31:46 +0000 (19:31 +0000)]
Fixed overreads in TTA decoder with corrupted bistreams.

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

10 years agoUpdate to work with chunked encoding HTTP streams (as served by FFmpeg since
Ronald S. Bultje [Wed, 3 Mar 2010 18:41:50 +0000 (18:41 +0000)]
Update to work with chunked encoding HTTP streams (as served by FFmpeg since
a few months now). Fixes issue 1738.

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

10 years agoPlug memory leak in NUT muxer and demuxer
Vitor Sessak [Wed, 3 Mar 2010 17:31:24 +0000 (17:31 +0000)]
Plug memory leak in NUT muxer and demuxer

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

10 years agoPlug memory leak in NSV demuxer.
Jai Menon [Wed, 3 Mar 2010 17:26:00 +0000 (17:26 +0000)]
Plug memory leak in NSV demuxer.

Patch by Jai Menon.

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

10 years agoPlug some memory leaks in the VP6 decoder
Vitor Sessak [Wed, 3 Mar 2010 17:24:32 +0000 (17:24 +0000)]
Plug some memory leaks in the VP6 decoder

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

10 years agomove svq3 specific fields to the end of the context
Michael Niedermayer [Wed, 3 Mar 2010 16:47:40 +0000 (16:47 +0000)]
move svq3 specific fields to the end of the context

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

10 years agoCope with rev 22169 change:
Gwenole Beauchesne [Wed, 3 Mar 2010 15:23:22 +0000 (15:23 +0000)]
Cope with rev 22169 change:
Merge weight & offset tables.

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

10 years agoMerge weight & offset tables, 15 cpu cycles faster.
Michael Niedermayer [Wed, 3 Mar 2010 14:41:43 +0000 (14:41 +0000)]
Merge weight & offset tables, 15 cpu cycles faster.

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

10 years agoSimplify implicit_weight table init.
Michael Niedermayer [Wed, 3 Mar 2010 10:57:38 +0000 (10:57 +0000)]
Simplify implicit_weight table init.

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

10 years agoPerform coefficient transformations in Bink Audio DCT decoder (issue1770)
Peter Ross [Wed, 3 Mar 2010 09:51:56 +0000 (09:51 +0000)]
Perform coefficient transformations in Bink Audio DCT decoder (issue1770)

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

10 years agoSupport demuxing of streamed Bink files
Peter Ross [Wed, 3 Mar 2010 09:44:30 +0000 (09:44 +0000)]
Support demuxing of streamed Bink files

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

10 years agouse intended const syntax
Peter Ross [Wed, 3 Mar 2010 09:38:09 +0000 (09:38 +0000)]
use intended const syntax

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

10 years agoAdd _NETBSD_SOURCE definition to fix compilation on NetBSD.
Jorge Acereda [Wed, 3 Mar 2010 09:16:45 +0000 (09:16 +0000)]
Add _NETBSD_SOURCE definition to fix compilation on NetBSD.
NetBSD is unlikely to fix their headers and the FATE box passes it
as -D_NETBSD_SOURCE on the command line anyway. In this case, it's
better to keep the hack well-contained within this file.
Closes issue 886.
patch by Jorge Acereda, jacereda brainstorm es

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

10 years agoAnother 3 useless zeroing instructions.
Michael Niedermayer [Wed, 3 Mar 2010 02:20:48 +0000 (02:20 +0000)]
Another 3 useless zeroing instructions.

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

10 years agoLoad the whole left side of mv&ref only when needed.
Michael Niedermayer [Wed, 3 Mar 2010 01:38:27 +0000 (01:38 +0000)]
Load the whole left side of mv&ref only when needed.
30 cpu cycles faster

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

10 years agoSupport B-frames when decoding MPEG-4 with VDPAU hardware acceleration.
Carl Eugen Hoyos [Wed, 3 Mar 2010 00:09:57 +0000 (00:09 +0000)]
Support B-frames when decoding MPEG-4 with VDPAU hardware acceleration.

Based on a patch by NVIDIA.

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

10 years agoMake seektest messages similar to other tests
Måns Rullgård [Tue, 2 Mar 2010 21:59:27 +0000 (21:59 +0000)]
Make seektest messages similar to other tests

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

10 years agoRun seektest on all generated files
Måns Rullgård [Tue, 2 Mar 2010 21:59:16 +0000 (21:59 +0000)]
Run seektest on all generated files

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

10 years agoPlace regtest-pixfmt output files in separate dir
Måns Rullgård [Tue, 2 Mar 2010 21:59:02 +0000 (21:59 +0000)]
Place regtest-pixfmt output files in separate dir

This test generates many output files, and keeping them separate
is convenient.

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

10 years agoRemove unused argument to test scripts
Måns Rullgård [Tue, 2 Mar 2010 21:42:03 +0000 (21:42 +0000)]
Remove unused argument to test scripts

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

10 years agoPlace regression test output files in subdirs per family
Måns Rullgård [Tue, 2 Mar 2010 21:41:52 +0000 (21:41 +0000)]
Place regression test output files in subdirs per family

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

10 years agoPlug memory leak for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:56 +0000 (21:32 +0000)]
Plug memory leak for truncated files

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

10 years agoPlug some memory leaks for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:29 +0000 (21:32 +0000)]
Plug some memory leaks for truncated files

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

10 years agoRevert "Remove the self reference in the seektest that prevented it from"
Måns Rullgård [Tue, 2 Mar 2010 17:50:24 +0000 (17:50 +0000)]
Revert "Remove the self reference in the seektest that prevented it from"

This reverts r22151.  It prevents the seektest from running at all and
is thus of no use whatsoever.

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

10 years agoRemove the self reference in the seektest that prevented it from
Michael Niedermayer [Tue, 2 Mar 2010 17:29:04 +0000 (17:29 +0000)]
Remove the self reference in the seektest that prevented it from
testing new formats since 2 years namely r11831.
This likely will uncover bugs that gone unnoticed in the last 2 years
due to lack of testing.

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