ffmpeg.git
9 years agoReindent after r22618.
Vitor Sessak [Sun, 21 Mar 2010 11:36:17 +0000 (11:36 +0000)]
Reindent after r22618.

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

9 years agoSplit DCT-II and DCT-III in different functions, they do not share any code.
Vitor Sessak [Sun, 21 Mar 2010 11:35:05 +0000 (11:35 +0000)]
Split DCT-II and DCT-III in different functions, they do not share any code.

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

9 years agoCall DCT by function pointer. Needed for any future ASM implementation and
Vitor Sessak [Sun, 21 Mar 2010 11:31:11 +0000 (11:31 +0000)]
Call DCT by function pointer. Needed for any future ASM implementation and
allows further cleanup.

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

9 years agoCosmetics: move ff_dct_init() to the bottom of the file
Vitor Sessak [Sun, 21 Mar 2010 11:28:38 +0000 (11:28 +0000)]
Cosmetics: move ff_dct_init() to the bottom of the file

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

9 years agoDCT: remove unused field from context
Vitor Sessak [Sun, 21 Mar 2010 11:24:01 +0000 (11:24 +0000)]
DCT: remove unused field from context

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

9 years agofix minor typo
Kostya Shishkov [Sun, 21 Mar 2010 10:26:09 +0000 (10:26 +0000)]
fix minor typo

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

9 years agoRevert removal of _NETBSD_SOURCE definition.
Diego Biurrun [Sun, 21 Mar 2010 09:24:04 +0000 (09:24 +0000)]
Revert removal of _NETBSD_SOURCE definition.
It is indeed necessary to compile on NetBSD.

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

9 years agofix compilation with --disable-everything --enable-decoder=mpeg2video
Aurelien Jacobs [Sat, 20 Mar 2010 23:18:07 +0000 (23:18 +0000)]
fix compilation with --disable-everything --enable-decoder=mpeg2video

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

9 years agoMove variable declaration, fixes the warning:
Diego Biurrun [Sat, 20 Mar 2010 21:39:50 +0000 (21:39 +0000)]
Move variable declaration, fixes the warning:
ffplay.c:1703: warning: unused variable `pos'

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

9 years agordft: reorder functions to avoid static prototype
Måns Rullgård [Sat, 20 Mar 2010 21:27:06 +0000 (21:27 +0000)]
rdft: reorder functions to avoid static prototype

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

9 years agoCall rdft by function pointer
Måns Rullgård [Sat, 20 Mar 2010 21:27:03 +0000 (21:27 +0000)]
Call rdft by function pointer

Call the RDFT by a function pointer like other FFT related transforms.
This makes instruction set optimized versions possible.

Based on patch by Alex Converse.

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

9 years agoHotfix for regtest-error failure
Michael Niedermayer [Sat, 20 Mar 2010 16:51:36 +0000 (16:51 +0000)]
Hotfix for regtest-error failure
a proper fix appears to require changing h263/mpeg2/motion est to index ref_index like
h264. Ill do this change and then revert this hotfix but it will take a bit time.

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

9 years agoAdd Changelog entry and bump lavf micro version for the addition of
Justin Ruggles [Sat, 20 Mar 2010 13:42:49 +0000 (13:42 +0000)]
Add Changelog entry and bump lavf micro version for the addition of
VorbisComment writing for FLAC, Ogg/FLAC, and Ogg/Speex files.

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

9 years agoAdd VorbisComment writing to Ogg/FLAC and Ogg/Speex files.
James Darnley [Sat, 20 Mar 2010 13:39:22 +0000 (13:39 +0000)]
Add VorbisComment writing to Ogg/FLAC and Ogg/Speex files.
Patch by James Darnley <james darnley at gmail>

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

9 years agoAdd VorbisComment writing to FLAC files.
James Darnley [Sat, 20 Mar 2010 13:36:43 +0000 (13:36 +0000)]
Add VorbisComment writing to FLAC files.
Patch by James Darnley <james darnley at gmail>.

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

9 years ago10l: fix build without termios.h
Måns Rullgård [Sat, 20 Mar 2010 01:02:45 +0000 (01:02 +0000)]
10l: fix build without termios.h

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

9 years agoError concealment of h264 with multiple references.
Michael Niedermayer [Sat, 20 Mar 2010 00:52:08 +0000 (00:52 +0000)]
Error concealment of h264 with multiple references.

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

9 years agoList the FFserver specific options under a "Main options" section, to
Stefano Sabatini [Sat, 20 Mar 2010 00:09:30 +0000 (00:09 +0000)]
List the FFserver specific options under a "Main options" section, to
distinguish them from the generic common options.

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

9 years agoChange the definition of AVERROR_INVALIDDATA at the next libavutil
Stefano Sabatini [Fri, 19 Mar 2010 23:34:36 +0000 (23:34 +0000)]
Change the definition of AVERROR_INVALIDDATA at the next libavutil
major bump, using an FFmpeg specific error code rather than EINVAL,
which has a quite different semantics.

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

9 years agoExtend description for AVERROR_INVALIDDATA.
Stefano Sabatini [Fri, 19 Mar 2010 23:34:34 +0000 (23:34 +0000)]
Extend description for AVERROR_INVALIDDATA.

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

9 years agoRegister atexit handler only when needed
Måns Rullgård [Fri, 19 Mar 2010 16:25:11 +0000 (16:25 +0000)]
Register atexit handler only when needed

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

9 years agoReplace wrong condition name in #endif comment by correct instance.
Diego Biurrun [Fri, 19 Mar 2010 09:58:45 +0000 (09:58 +0000)]
Replace wrong condition name in #endif comment by correct instance.

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

9 years agoCheck whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.
Diego Biurrun [Fri, 19 Mar 2010 09:57:36 +0000 (09:57 +0000)]
Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.
COMPILE_ALTIVEC is never set to 1, it is just #defined.

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

9 years agoffmpeg.c: copy chapters by default.
Anton Khirnov [Fri, 19 Mar 2010 07:44:38 +0000 (07:44 +0000)]
ffmpeg.c: copy chapters by default.
Patch by Anton Khirnov wyskas gmail com

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

9 years agoReinitialize the h264 decoder context on every valid aspect ratio
Janusz Krzysztofik [Thu, 18 Mar 2010 23:36:54 +0000 (23:36 +0000)]
Reinitialize the h264 decoder context on every valid aspect ratio
change, not only size changes.

Patch by Janusz Krzysztofik foo=zyszt <jkr$foo@tis.icnet.pl>.

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

9 years agoThe vflip filter does not need to keep ownership of a picture reference.
Bobby Bingham [Thu, 18 Mar 2010 23:13:04 +0000 (23:13 +0000)]
The vflip filter does not need to keep ownership of a picture reference.
Avoid creating and releasing useless extra picture references in the
start_frame and end_frame callbacks.

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

9 years agoUse the new null callbacks to simplify filters and reduce duplicated code.
Bobby Bingham [Thu, 18 Mar 2010 23:13:02 +0000 (23:13 +0000)]
Use the new null callbacks to simplify filters and reduce duplicated code.

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

9 years agoCreate a set of null callback functions.
Bobby Bingham [Thu, 18 Mar 2010 23:12:48 +0000 (23:12 +0000)]
Create a set of null callback functions.
These are useful for filters which don't modify the image data.

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

9 years agoExtend the generic path of the yuv2rgb converter with support for rgb444
Janusz Krzysztofik [Thu, 18 Mar 2010 23:02:32 +0000 (23:02 +0000)]
Extend the generic path of the yuv2rgb converter with support for rgb444
output format.

Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl

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

9 years agoReplace remaining uses of ATTR_ALIGNED with DECLARE_ALIGNED
Måns Rullgård [Thu, 18 Mar 2010 15:00:17 +0000 (15:00 +0000)]
Replace remaining uses of ATTR_ALIGNED with DECLARE_ALIGNED

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

9 years agoIt is difficult nowadays to compile without swscale support.
Carl Eugen Hoyos [Thu, 18 Mar 2010 00:24:26 +0000 (00:24 +0000)]
It is difficult nowadays to compile without swscale support.

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

9 years agoMake g729dec.c:decoder_init() return AVERROR(EINVAL) rather than
Stefano Sabatini [Thu, 18 Mar 2010 00:23:02 +0000 (00:23 +0000)]
Make g729dec.c:decoder_init() return AVERROR(EINVAL) rather than
AVERROR(NOFMT) if one channel if the number of channels specified
is different than 1.

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

9 years agoMake url_fseek() return AVERROR_EOF rather than AVERROR(EPIPE) if end
Stefano Sabatini [Thu, 18 Mar 2010 00:22:58 +0000 (00:22 +0000)]
Make url_fseek() return AVERROR_EOF rather than AVERROR(EPIPE) if end
of file is reached.

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

9 years agoRemove printing of frame sizes and frame rate abbreviations from
Stefano Sabatini [Wed, 17 Mar 2010 23:51:12 +0000 (23:51 +0000)]
Remove printing of frame sizes and frame rate abbreviations from
show_protocols().

The list of abbreviations is both outdated and out of context.

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

9 years agoAdd a -window_title option, which sets the FFplay window title.
Robert Krüger [Wed, 17 Mar 2010 23:39:18 +0000 (23:39 +0000)]
Add a -window_title option, which sets the FFplay window title.

Patch by Robert Krüger "krueger ET signal7 DOT de".

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

9 years agoMake ad-hoc lavfi tests use random values for the slice height used
Stefano Sabatini [Wed, 17 Mar 2010 23:23:48 +0000 (23:23 +0000)]
Make ad-hoc lavfi tests use random values for the slice height used
per each frame, useful for testing slicification.

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

9 years agoAdd some ad-hoc tests for libavfilter.
Stefano Sabatini [Wed, 17 Mar 2010 23:23:44 +0000 (23:23 +0000)]
Add some ad-hoc tests for libavfilter.

A patched version of ffmpeg supporting video filters is required for
getting this working; thus make lavfitest is supposed to work only in
the libavfilter repository for now.

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

9 years agoCast sample_fmt (as read from bitstream as a 16-bit value) to int16, so that
Ronald S. Bultje [Wed, 17 Mar 2010 15:14:18 +0000 (15:14 +0000)]
Cast sample_fmt (as read from bitstream as a 16-bit value) to int16, so that
negative values, e.g. SAMPLE_FMT_NONE (-1), are read correctly also.

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

9 years agoFix compilation on PPC 470.
Carl Eugen Hoyos [Wed, 17 Mar 2010 15:06:27 +0000 (15:06 +0000)]
Fix compilation on PPC 470.

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

9 years agoRemove $(MSG) override for install-lib targets
Måns Rullgård [Wed, 17 Mar 2010 14:43:05 +0000 (14:43 +0000)]
Remove $(MSG) override for install-lib targets

This is no longer needed and causes incorrect output in some cases.

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

9 years agoMake ranlib silent in brief output mode
Måns Rullgård [Wed, 17 Mar 2010 14:43:03 +0000 (14:43 +0000)]
Make ranlib silent in brief output mode

Running ranlib is quick and uninteresting, no need to print it.

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

9 years agoqtrleenc: add rgb555 output
Alexis Ballier [Wed, 17 Mar 2010 13:04:33 +0000 (13:04 +0000)]
qtrleenc: add rgb555 output
Patch by Alexis Ballier std_gmail_addr(name.surname)

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

9 years agoCorrect reference buffer switching in Indeo 5 decoder.
Maxim Poliakovski [Wed, 17 Mar 2010 07:53:12 +0000 (07:53 +0000)]
Correct reference buffer switching in Indeo 5 decoder.
Patch by Maxim ($indeo5decauthor)

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

9 years agodocument two variables in Indeo5 decoding context
Kostya Shishkov [Wed, 17 Mar 2010 07:49:36 +0000 (07:49 +0000)]
document two variables in Indeo5 decoding context

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

9 years agoCosmetics: vertical align
Bobby Bingham [Wed, 17 Mar 2010 04:37:43 +0000 (04:37 +0000)]
Cosmetics: vertical align

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

9 years agoAllow format and noformat filters to be more completely disabled when the
Bobby Bingham [Wed, 17 Mar 2010 04:37:40 +0000 (04:37 +0000)]
Allow format and noformat filters to be more completely disabled when the
other is enabled.

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

9 years agoCosmetics: rearrange functions to simplify ifdeffery
Bobby Bingham [Wed, 17 Mar 2010 04:37:36 +0000 (04:37 +0000)]
Cosmetics: rearrange functions to simplify ifdeffery

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

9 years agovfwcap: Free remaining packets on vfw_read_close().
Ramiro Polla [Wed, 17 Mar 2010 04:36:06 +0000 (04:36 +0000)]
vfwcap: Free remaining packets on vfw_read_close().

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

9 years agoDo not store a copy of AVFormatContext *s in vfw_ctx.
Ramiro Polla [Wed, 17 Mar 2010 04:24:43 +0000 (04:24 +0000)]
Do not store a copy of AVFormatContext *s in vfw_ctx.
Save *s directly in SetWindowLongPtr instead.

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

9 years agoAdd video filter to manipulate aspect ratio
Bobby Bingham [Wed, 17 Mar 2010 03:43:14 +0000 (03:43 +0000)]
Add video filter to manipulate aspect ratio

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

9 years agoUse H264s MC instead of mpeg4-asp qpel for h264 error resilience.
Michael Niedermayer [Wed, 17 Mar 2010 02:59:12 +0000 (02:59 +0000)]
Use H264s MC instead of mpeg4-asp qpel for h264 error resilience.

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

9 years agoFix erroneous behaviour when format probe hits end of file
Måns Rullgård [Tue, 16 Mar 2010 21:45:30 +0000 (21:45 +0000)]
Fix erroneous behaviour when format probe hits end of file

If the format probe hits end of file, do not add the error code
to the buffer position.  This is obviously wrong, and with a
small input file would cause a negative buffer overflow.

Fixes issue 1818.

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

9 years agoSimplify arch-specific object file lists
Måns Rullgård [Tue, 16 Mar 2010 21:23:03 +0000 (21:23 +0000)]
Simplify arch-specific object file lists

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

9 years agoMove arch-specific makefile parts into $arch/Makefile
Måns Rullgård [Tue, 16 Mar 2010 21:22:59 +0000 (21:22 +0000)]
Move arch-specific makefile parts into $arch/Makefile

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

9 years agoconfigure: do not use $_
Måns Rullgård [Tue, 16 Mar 2010 21:22:54 +0000 (21:22 +0000)]
configure: do not use $_

Both bash and ksh abuse this variable even in POSIX mode, leading
to unpleasant surprises.

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

9 years agoAdd compilation hints for Cygwin 1.7 and remove the ones for 1.5
Víctor Paesa [Tue, 16 Mar 2010 18:32:52 +0000 (18:32 +0000)]
Add compilation hints for Cygwin 1.7 and remove the ones for 1.5

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

9 years agoTypo: if output (video) stream's pix_fmt is not set, then the stream cannot
Ronald S. Bultje [Tue, 16 Mar 2010 15:48:48 +0000 (15:48 +0000)]
Typo: if output (video) stream's pix_fmt is not set, then the stream cannot
be ENcoded, not DEcoded.

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

9 years agoMove H264 dsputil functions into their own struct
Måns Rullgård [Tue, 16 Mar 2010 01:17:00 +0000 (01:17 +0000)]
Move H264 dsputil functions into their own struct

This moves the H264-specific functions from DSPContext to the new
H264DSPContext.  The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.

The qpel and chroma MC functions are not moved as these are used by
non-h264 code.

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

9 years ago100L, revert r22560, already present
Baptiste Coudurier [Mon, 15 Mar 2010 23:40:51 +0000 (23:40 +0000)]
100L, revert r22560, already present

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

9 years agopatcheck: Escape parentheses in grep calls
Daniel Verkamp [Mon, 15 Mar 2010 23:32:20 +0000 (23:32 +0000)]
patcheck: Escape parentheses in grep calls

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

9 years agorename av_read_frame_flush to ff_read_frame_flush
Aurelien Jacobs [Mon, 15 Mar 2010 23:15:24 +0000 (23:15 +0000)]
rename av_read_frame_flush to ff_read_frame_flush
it is an internal function, not part of public API

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

9 years agorename av_program_add_stream_index to ff_program_add_stream_index
Aurelien Jacobs [Mon, 15 Mar 2010 23:14:07 +0000 (23:14 +0000)]
rename av_program_add_stream_index to ff_program_add_stream_index
it is an internal function, not part of public API

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

9 years agompegts muxer now needs mpeg4audio code like adts muxer
Baptiste Coudurier [Mon, 15 Mar 2010 23:11:02 +0000 (23:11 +0000)]
mpegts muxer now needs mpeg4audio code like adts muxer

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

9 years agoCorrectly write last 0 lacing value when packet size is multiple of 255, patch by...
Greg Maxwell [Mon, 15 Mar 2010 23:04:09 +0000 (23:04 +0000)]
Correctly write last 0 lacing value when packet size is multiple of 255, patch by Greg Maxwell, gmaxwell at gmail dot com

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

9 years agoH264: fix signed overflow in constant multiplication
Måns Rullgård [Mon, 15 Mar 2010 23:00:53 +0000 (23:00 +0000)]
H264: fix signed overflow in constant multiplication

This fixes libavcodec/h264.h:1100: warning: integer overflow in expression

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

9 years agoAdd AVSEEK_FORCE flag to indicate that the code should attempt to seek
Michael Niedermayer [Mon, 15 Mar 2010 22:54:22 +0000 (22:54 +0000)]
Add AVSEEK_FORCE flag to indicate that the code should attempt to seek
by any means.

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

9 years agoAdd ff_ prefix for mpeg2_dc_scale_table.
Michael Niedermayer [Mon, 15 Mar 2010 22:49:46 +0000 (22:49 +0000)]
Add ff_ prefix for mpeg2_dc_scale_table.

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

9 years agomatroskadec: fix missing dependency
Aurelien Jacobs [Mon, 15 Mar 2010 22:37:14 +0000 (22:37 +0000)]
matroskadec: fix missing dependency

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

9 years agoSupport intra_dc_precision>8 in jpeg
Michael Niedermayer [Mon, 15 Mar 2010 21:27:13 +0000 (21:27 +0000)]
Support intra_dc_precision>8 in jpeg

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

9 years agoAllow mpeg style yuv in jpeg when strict standard compliance is small enough.
Michael Niedermayer [Mon, 15 Mar 2010 19:45:57 +0000 (19:45 +0000)]
Allow mpeg style yuv in jpeg when strict standard compliance is small enough.

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

9 years agoAdd FATE tests
Måns Rullgård [Mon, 15 Mar 2010 19:23:24 +0000 (19:23 +0000)]
Add FATE tests

This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

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

9 years agocosmetics : Print newline after error message.
Jai Menon [Mon, 15 Mar 2010 19:03:48 +0000 (19:03 +0000)]
cosmetics : Print newline after error message.

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

9 years agouse mpeg2 quantization bias for mjpeg.
Michael Niedermayer [Mon, 15 Mar 2010 16:37:02 +0000 (16:37 +0000)]
use mpeg2 quantization bias for mjpeg.
this seems to improve RD performance.

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

9 years agoReindent
Martin Storsjö [Mon, 15 Mar 2010 16:36:54 +0000 (16:36 +0000)]
Reindent

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

9 years agoDon't let ff_rtsp_read_reply skip interleaved RTP/TCP packets in rtsp_write_packet.
Martin Storsjö [Mon, 15 Mar 2010 16:36:20 +0000 (16:36 +0000)]
Don't let ff_rtsp_read_reply skip interleaved RTP/TCP packets in rtsp_write_packet.
Skip interleaved packets manually and recheck if there's more to be read.

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

9 years agoMake rtsp_skip_packet non-static, add ff prefix
Martin Storsjö [Mon, 15 Mar 2010 16:31:15 +0000 (16:31 +0000)]
Make rtsp_skip_packet non-static, add ff prefix

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

9 years agoReindent
Martin Storsjö [Mon, 15 Mar 2010 16:15:51 +0000 (16:15 +0000)]
Reindent

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

9 years agoRTSP: Synchronize the start time of the chained RTP muxers
Martin Storsjö [Mon, 15 Mar 2010 14:20:07 +0000 (14:20 +0000)]
RTSP: Synchronize the start time of the chained RTP muxers

This makes sure that the streams get correctly synchronized when viewed,
previously the streams were out of sync by as much time as it took
between the initialization of the individual muxers.

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

9 years agoRemove avcodec_thread_execute from avcodec.h, and make static functions that
Benoit Fouet [Mon, 15 Mar 2010 14:03:01 +0000 (14:03 +0000)]
Remove avcodec_thread_execute from avcodec.h, and make static functions that
need it in *thread.c.

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

9 years agoUse AVFormatContext.start_time_realtime in the RTP muxer
Martin Storsjö [Mon, 15 Mar 2010 10:37:12 +0000 (10:37 +0000)]
Use AVFormatContext.start_time_realtime in the RTP muxer

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

9 years agoMove the NTP offset definitions to internal.h
Martin Storsjö [Mon, 15 Mar 2010 10:36:30 +0000 (10:36 +0000)]
Move the NTP offset definitions to internal.h

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

9 years agoAdd APIchanges entry for AVFormatContext.start_time_realtime
Martin Storsjö [Mon, 15 Mar 2010 10:30:38 +0000 (10:30 +0000)]
Add APIchanges entry for AVFormatContext.start_time_realtime

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

9 years agoAdd a new field AVFormatContext.start_time_realtime
Martin Storsjö [Mon, 15 Mar 2010 10:29:37 +0000 (10:29 +0000)]
Add a new field AVFormatContext.start_time_realtime

Currently intended to be used by the RTP muxer

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

9 years agoriff: don't pad extradata when writing ASF.
Anton Khirnov [Mon, 15 Mar 2010 08:49:02 +0000 (08:49 +0000)]
riff: don't pad extradata when writing ASF.
Patch by Anton Khirnov mirror(moc liamg saksyw)

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

9 years agoAdd dependencies used by the RDT and ASF/RTP code
Martin Storsjö [Mon, 15 Mar 2010 08:35:07 +0000 (08:35 +0000)]
Add dependencies used by the RDT and ASF/RTP code

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

9 years agoffmpeg: Combine variable declaration and definition
Alexander Strange [Mon, 15 Mar 2010 02:33:49 +0000 (02:33 +0000)]
ffmpeg: Combine variable declaration and definition

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

9 years agoffmpeg: Factor out redundant sync_ipts calculation
Alexander Strange [Mon, 15 Mar 2010 02:32:21 +0000 (02:32 +0000)]
ffmpeg: Factor out redundant sync_ipts calculation

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

9 years agomatroskadec: use more appropriate error code
Aurelien Jacobs [Mon, 15 Mar 2010 00:19:22 +0000 (00:19 +0000)]
matroskadec: use more appropriate error code

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

9 years agomove ff_url_split() and ff_url_join() declarations to internal.h
Aurelien Jacobs [Sun, 14 Mar 2010 23:59:48 +0000 (23:59 +0000)]
move ff_url_split() and ff_url_join() declarations to internal.h
those functions are not part of the public API

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

9 years agoCosmetics: Fix a comment.
Carl Eugen Hoyos [Sun, 14 Mar 2010 23:52:45 +0000 (23:52 +0000)]
Cosmetics: Fix a comment.

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

9 years agoMove the probe loop from av_open_input_file() into its own method
Micah F. Galizia [Sun, 14 Mar 2010 22:40:16 +0000 (22:40 +0000)]
Move the probe loop from av_open_input_file() into its own method
av_probe_input_buffer() so that it can be reused. Here are a few
differences to the original way things were probed:

- maximum probe buffer size can be specified as a parameter.

- offset within the stream to probe from can be specified as a parameter.

- instead of seeking back to the start each time a probe fails, stream
  data is appended to the reallocated buffer. This lowers the amount
  of data read from the stream (there is no repetition) and results in
  fewer closed and reopened streams (when seeking fails).

New attempt after r22296, which was revert in r22315 due to a FATE
failure.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Move av_open_input_file probe loop to its own method
Date: 2010-03-05 03:23:57 GMT

Patch by Micah F. Galizia printf("%s%s@%s.%s", "micah", "galizia", "gmail", "com").

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

9 years agoDWT: x86 init should depend on HAVE_MMX
Måns Rullgård [Sun, 14 Mar 2010 22:29:11 +0000 (22:29 +0000)]
DWT: x86 init should depend on HAVE_MMX

The init function is only compiled if MMX is enabled, the call
must use the same condition.

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

9 years agoerror.h: test EDOM instead of EINVAL
Måns Rullgård [Sun, 14 Mar 2010 22:25:35 +0000 (22:25 +0000)]
error.h: test EDOM instead of EINVAL

C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE.

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

9 years agoAdd missing includes to libavutil/error.h
Måns Rullgård [Sun, 14 Mar 2010 22:25:31 +0000 (22:25 +0000)]
Add missing includes to libavutil/error.h

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

9 years agoChange the definition of AVERROR_NUMEXPECTED at the next libavutil
Stefano Sabatini [Sun, 14 Mar 2010 21:16:29 +0000 (21:16 +0000)]
Change the definition of AVERROR_NUMEXPECTED at the next libavutil
major bump, using an FFmpeg specific error code rather than EDOM,
which has a quite different semantics.

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

9 years agoAllow hard-coding of the 32kB cubic-root table for AAC.
Reimar Döffinger [Sun, 14 Mar 2010 19:59:47 +0000 (19:59 +0000)]
Allow hard-coding of the 32kB cubic-root table for AAC.

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

9 years agoFix brief make output for generated tables
Måns Rullgård [Sun, 14 Mar 2010 19:48:09 +0000 (19:48 +0000)]
Fix brief make output for generated tables

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

9 years agoAllow hard-coding several QDM2 tables (about 32 kB size).
Reimar Döffinger [Sun, 14 Mar 2010 19:30:25 +0000 (19:30 +0000)]
Allow hard-coding several QDM2 tables (about 32 kB size).

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

9 years agoAdd some more table-printing functions needed for future patches.
Reimar Döffinger [Sun, 14 Mar 2010 19:27:58 +0000 (19:27 +0000)]
Add some more table-printing functions needed for future patches.

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

9 years agoAdd ff_ prefix to dwt functions
Måns Rullgård [Sun, 14 Mar 2010 17:50:16 +0000 (17:50 +0000)]
Add ff_ prefix to dwt functions

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