ffmpeg.git
9 years agoFix --enable-hardcoded-tables compilation: the generate table files now
Reimar Döffinger [Sun, 7 Mar 2010 09:25:57 +0000 (09:25 +0000)]
Fix --enable-hardcoded-tables compilation: the generate table files now
need to include fft.h, not dsputil.h.

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

9 years ago1l trocadero: forgot reference operator on bytestream_get_be32() argument
Kostya Shishkov [Sun, 7 Mar 2010 08:52:53 +0000 (08:52 +0000)]
1l trocadero: forgot reference operator on bytestream_get_be32() argument

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

9 years agoUse -Werror=implicit only with gcc
Måns Rullgård [Sun, 7 Mar 2010 06:53:12 +0000 (06:53 +0000)]
Use -Werror=implicit only with gcc

Some other compilers turn too many warnings into errors with this flag.

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

9 years agoWhen tracking non-zero coefficients during Indeo 5 decoding, make sure
Maxim Poliakovski [Sun, 7 Mar 2010 06:03:45 +0000 (06:03 +0000)]
When tracking non-zero coefficients during Indeo 5 decoding, make sure
it does not ignore coefficient value = 256.
Patch by Maxim ((!min)_pole \at gmx dot/ de)

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

9 years agoFix clang sysroot flag
David Conrad [Sun, 7 Mar 2010 03:01:36 +0000 (03:01 +0000)]
Fix clang sysroot flag

Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted

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

9 years agoAdd internal.h include for av_read_frame_flush prototype
David Conrad [Sun, 7 Mar 2010 02:35:45 +0000 (02:35 +0000)]
Add internal.h include for av_read_frame_flush prototype

Fixes build with clang

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

9 years agoFix warning about incompatible pointer types
David Conrad [Sun, 7 Mar 2010 02:26:34 +0000 (02:26 +0000)]
Fix warning about incompatible pointer types

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

9 years agomatroskadec: Fix a buffer overread
David Conrad [Sun, 7 Mar 2010 02:26:30 +0000 (02:26 +0000)]
matroskadec: Fix a buffer overread

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

9 years agoheader for common code between mp3 decoder and encoder.
Michael Niedermayer [Sat, 6 Mar 2010 23:36:30 +0000 (23:36 +0000)]
header for common code between mp3 decoder and encoder.
unfinished, iam just commiting this so the functions that should be
non static have prototypes.

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

9 years agoError on implicit function declarations
Måns Rullgård [Sat, 6 Mar 2010 23:19:07 +0000 (23:19 +0000)]
Error on implicit function declarations

Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

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

9 years agoMove av_read_frame_flush() prototype to lavf/internal.h
Måns Rullgård [Sat, 6 Mar 2010 23:19:05 +0000 (23:19 +0000)]
Move av_read_frame_flush() prototype to lavf/internal.h

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

9 years agoPPC: move prototypes to headers and make some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:37:14 +0000 (22:37 +0000)]
PPC: move prototypes to headers and make some functions static

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

9 years agox86: move function prototypes to header files
Måns Rullgård [Sat, 6 Mar 2010 22:37:08 +0000 (22:37 +0000)]
x86: move function prototypes to header files

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

9 years agoMove ff_spatial_dwt() prototype to snow.h
Måns Rullgård [Sat, 6 Mar 2010 22:37:03 +0000 (22:37 +0000)]
Move ff_spatial_dwt() prototype to snow.h

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

9 years agoMove some dsp func prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:59 +0000 (22:36 +0000)]
Move some dsp func prototypes to dsputil.h; they are defined in dsputil.c

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

9 years agoMove some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:55 +0000 (22:36 +0000)]
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c

Also fix function definitions to match prototypes (missing const).

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

9 years agoMove ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Move ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c

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

9 years agoMove prototypes for various dsputil init functions to dsputil.h
Måns Rullgård [Sat, 6 Mar 2010 22:36:49 +0000 (22:36 +0000)]
Move prototypes for various dsputil init functions to dsputil.h

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

9 years agoMove some prototypes from dsputil.c to reasonable header files
Måns Rullgård [Sat, 6 Mar 2010 22:36:45 +0000 (22:36 +0000)]
Move some prototypes from dsputil.c to reasonable header files

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

9 years agoMake some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:36:41 +0000 (22:36 +0000)]
Make some functions static

These functions are not used outside their respective files, and they
lack a prototype in a header.

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

9 years agoAdd some missing #includes
Måns Rullgård [Sat, 6 Mar 2010 22:36:36 +0000 (22:36 +0000)]
Add some missing #includes

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

9 years agoSet GXF fallback time-base to match the one specified for audio-only.
Reimar Döffinger [Sat, 6 Mar 2010 22:25:53 +0000 (22:25 +0000)]
Set GXF fallback time-base to match the one specified for audio-only.

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

9 years agoGXF time base is always based on "fields" per second even for
Reimar Döffinger [Sat, 6 Mar 2010 22:20:33 +0000 (22:20 +0000)]
GXF time base is always based on "fields" per second even for
non-interlaced video.
Should fix issue 1766.

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

9 years agoShow aspect ratio information in dprintf_picref() traces.
Stefano Sabatini [Sat, 6 Mar 2010 21:28:08 +0000 (21:28 +0000)]
Show aspect ratio information in dprintf_picref() traces.

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

9 years agoBump minor number and add APIchanges entry after the inclusion of
Stefano Sabatini [Sat, 6 Mar 2010 20:07:52 +0000 (20:07 +0000)]
Bump minor number and add APIchanges entry after the inclusion of
av_stristr().

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

9 years agoffserver: use av_stristr()
Måns Rullgård [Sat, 6 Mar 2010 19:41:24 +0000 (19:41 +0000)]
ffserver: use av_stristr()

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

9 years agoAdd av_stristr() function
Måns Rullgård [Sat, 6 Mar 2010 19:41:22 +0000 (19:41 +0000)]
Add av_stristr() function

This is a case-insensitive version of strstr().

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

9 years agoFix build with compilers using a separate dependency command
Måns Rullgård [Sat, 6 Mar 2010 19:29:29 +0000 (19:29 +0000)]
Fix build with compilers using a separate dependency command

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

9 years agoReindent after the last commit.
Stefano Sabatini [Sat, 6 Mar 2010 19:19:13 +0000 (19:19 +0000)]
Reindent after the last commit.

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

9 years agoUse av_get_pict_type_char() in debug code within output_picture2(),
Stefano Sabatini [Sat, 6 Mar 2010 19:19:11 +0000 (19:19 +0000)]
Use av_get_pict_type_char() in debug code within output_picture2(),
simplify.

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

9 years agoFix install with shared libs on weird systems
Måns Rullgård [Sat, 6 Mar 2010 17:45:38 +0000 (17:45 +0000)]
Fix install with shared libs on weird systems

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

9 years agoFix make install
Måns Rullgård [Sat, 6 Mar 2010 17:44:18 +0000 (17:44 +0000)]
Fix make install

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

9 years agoPrettify make output
Måns Rullgård [Sat, 6 Mar 2010 17:14:19 +0000 (17:14 +0000)]
Prettify make output

This gives brief messages from make by default.  For full command
echoing, add V=1 to make command line.

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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