ffmpeg.git
9 years agoSplit out http authentication handling into a separate file
Martin Storsjö [Wed, 24 Mar 2010 22:32:05 +0000 (22:32 +0000)]
Split out http authentication handling into a separate file

This prepares for adding support for more authentication methods

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

9 years agoFix warning:
Vitor Sessak [Wed, 24 Mar 2010 19:58:12 +0000 (19:58 +0000)]
Fix warning:
libavformat/nut.c: In function ‘ff_nut_free_sp’:
libavformat/nut.c:80: warning: passing argument 4 of ‘av_tree_enumerate’ from incompatible pointer type
./libavutil/tree.h:92: note: expected ‘int (*)(void *, void *)’ but argument is of type ‘void (*)(void *, void *)’

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

9 years agoHandle errors returned from ff_rtsp_read_reply in udp_read_packet properly
Martin Storsjö [Wed, 24 Mar 2010 18:52:27 +0000 (18:52 +0000)]
Handle errors returned from ff_rtsp_read_reply in udp_read_packet properly

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

9 years agoMove put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier
Zhentan Feng [Wed, 24 Mar 2010 18:40:43 +0000 (18:40 +0000)]
Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier
to share it with e.g. MMS.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoaacenc: Merge quantize_band_cost() with quantize_and_encode_band().
Alex Converse [Wed, 24 Mar 2010 17:09:21 +0000 (17:09 +0000)]
aacenc: Merge quantize_band_cost() with quantize_and_encode_band().

If these two functions aren't matched results may be unexpected.

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

9 years agoSilence ridiculous gcc warning.
Carl Eugen Hoyos [Wed, 24 Mar 2010 11:11:25 +0000 (11:11 +0000)]
Silence ridiculous gcc warning.

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

9 years agoMask away AVSEEK_FORCE properly in some checks in url_fseek()
Tomas Härdin [Wed, 24 Mar 2010 10:41:58 +0000 (10:41 +0000)]
Mask away AVSEEK_FORCE properly in some checks in url_fseek()
Patch by Tomas Härdin $(name).$(s/ä/a/ $(surname)) AT codemill DOT se

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

9 years agoPut ff_flac_write_header() in a separate C file to allow it to be shared without
Justin Ruggles [Tue, 23 Mar 2010 23:58:45 +0000 (23:58 +0000)]
Put ff_flac_write_header() in a separate C file to allow it to be shared without
duplicating code or adding a dependency on vorbiscomment.o.

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

9 years agox11grab: AVFormatParameters are always passed from av_open_input_stream(),
Ramiro Polla [Tue, 23 Mar 2010 23:35:36 +0000 (23:35 +0000)]
x11grab: AVFormatParameters are always passed from av_open_input_stream(),
there is no need to check for it.

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

9 years agoAltiVec implies a PPC CPU, so there is no need to check for both.
Diego Biurrun [Tue, 23 Mar 2010 22:59:14 +0000 (22:59 +0000)]
AltiVec implies a PPC CPU, so there is no need to check for both.

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

9 years agoDo not compile AltiVec code when AltiVec is not available; not even in
Diego Biurrun [Tue, 23 Mar 2010 20:12:52 +0000 (20:12 +0000)]
Do not compile AltiVec code when AltiVec is not available; not even in
runtime cpudetection mode.
Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'.

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

9 years agoBump minor version, I forgot in the last commit
Vitor Sessak [Tue, 23 Mar 2010 20:03:20 +0000 (20:03 +0000)]
Bump minor version, I forgot in the last commit

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

9 years agoImplement the discrete sine/cosine transforms DCT-I and DST-I
Vitor Sessak [Tue, 23 Mar 2010 19:48:16 +0000 (19:48 +0000)]
Implement the discrete sine/cosine transforms DCT-I and DST-I

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

9 years agoAlways check if ff_alloc_picture() succeeds.
Pavel Pavlov [Tue, 23 Mar 2010 17:58:39 +0000 (17:58 +0000)]
Always check if ff_alloc_picture() succeeds.

Patch by Pavel Pavlov, pavel summit-tech ca

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

9 years agoRemove unused variable, fixes the warning:
Diego Biurrun [Tue, 23 Mar 2010 17:55:08 +0000 (17:55 +0000)]
Remove unused variable, fixes the warning:
libavcodec/h264.c:1562: warning: unused variable `s'

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

9 years agoAdd a loop option to ffplay.
Robert Krüger [Tue, 23 Mar 2010 17:39:51 +0000 (17:39 +0000)]
Add a loop option to ffplay.

Patch by Robert Krüger, krueger signal7 de

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

9 years agoFix seeking in DV when filesize is unknown.
Tomas Härdin [Tue, 23 Mar 2010 17:22:25 +0000 (17:22 +0000)]
Fix seeking in DV when filesize is unknown.

Patch by Tomas Härdin, tomas D hardin A  codemill D se

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

9 years agoHandle multiple RTSP transport options properly by adding all of them into the mask
Martin Storsjö [Tue, 23 Mar 2010 08:00:37 +0000 (08:00 +0000)]
Handle multiple RTSP transport options properly by adding all of them into the mask

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

9 years agoParse options in the RTSP URL only from the last question mark onwards
Martin Storsjö [Tue, 23 Mar 2010 07:59:23 +0000 (07:59 +0000)]
Parse options in the RTSP URL only from the last question mark onwards

This helps if the URL (erroneously?) contains question marks within the path.

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

9 years agoReconstruct the RTSP URL, in order to remove the auth part from the URL sent to the...
Martin Storsjö [Tue, 23 Mar 2010 07:55:15 +0000 (07:55 +0000)]
Reconstruct the RTSP URL, in order to remove the auth part from the URL sent to the server

Don't modify the user-specified s->filename at all, keep all modifications
locally and in rt->control_uri.

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

9 years agoARM: NEON optimised RDFT
Måns Rullgård [Tue, 23 Mar 2010 03:35:02 +0000 (03:35 +0000)]
ARM: NEON optimised RDFT

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

9 years agoChange ref_index structure so it matches how its organized in h264.
Michael Niedermayer [Tue, 23 Mar 2010 02:17:04 +0000 (02:17 +0000)]
Change ref_index structure so it matches how its organized in h264.
Also revert the related error concealment hotfix.

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

9 years agoMove ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's
Justin Ruggles [Mon, 22 Mar 2010 21:58:38 +0000 (21:58 +0000)]
Move ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's
dependency on flacenc.o and fixes the unnecessary dependency on vorbiscomment.o.

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

9 years agoDisallow VLC coding with more than 8 bits as there are several bugs
Michael Niedermayer [Mon, 22 Mar 2010 21:12:31 +0000 (21:12 +0000)]
Disallow VLC coding with more than 8 bits as there are several bugs
in that code that could lead to broken files.
AC coding is unaffected.

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

9 years agoDont senselessly fail on rawvideo that isnt 3 files per frame.
Michael Niedermayer [Mon, 22 Mar 2010 20:18:42 +0000 (20:18 +0000)]
Dont senselessly fail on rawvideo that isnt 3 files per frame.

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

9 years agoRTP depacketization of Theora
Josh Allmann [Mon, 22 Mar 2010 16:26:29 +0000 (16:26 +0000)]
RTP depacketization of Theora

Patch by Josh Allmann (joshua allmann gmail com)

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

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

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

9 years agoAdd support for TCP as lower transport in the RTSP muxer
Martin Storsjö [Mon, 22 Mar 2010 15:07:05 +0000 (15:07 +0000)]
Add support for TCP as lower transport in the RTSP muxer

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

9 years agoThrow out last experimental warning that was printed for colorspaces with more than
Michael Niedermayer [Mon, 22 Mar 2010 15:04:11 +0000 (15:04 +0000)]
Throw out last experimental warning that was printed for colorspaces with more than
8 bits per component. This does no good except scaring users away.

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

9 years agoAdd doxygen docs for av_xiphlacing
Josh Allmann [Mon, 22 Mar 2010 14:57:50 +0000 (14:57 +0000)]
Add doxygen docs for av_xiphlacing

Patch by Josh Allmann (joshua allmann gmail com)

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

9 years agoInterpret valueless attributes in AMR ftmp lines as being 1
Martin Storsjö [Mon, 22 Mar 2010 14:44:28 +0000 (14:44 +0000)]
Interpret valueless attributes in AMR ftmp lines as being 1

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

9 years agoUse the caller's RTSPMessageHeader in rtsp_setup_input_streams
Martin Storsjö [Mon, 22 Mar 2010 14:42:52 +0000 (14:42 +0000)]
Use the caller's RTSPMessageHeader in rtsp_setup_input_streams

Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.

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

9 years agoRemove the word "experimental"
Michael Niedermayer [Mon, 22 Mar 2010 14:26:17 +0000 (14:26 +0000)]
Remove the word "experimental"

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

9 years agoIgnore x264 build=0 as there is no such version, this restores previous
Michael Niedermayer [Sun, 21 Mar 2010 22:23:37 +0000 (22:23 +0000)]
Ignore x264 build=0 as there is no such version, this restores previous
behavior approximately.

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

9 years agoFix FLAC demuxer dependencies.
James Darnley [Sun, 21 Mar 2010 18:06:56 +0000 (18:06 +0000)]
Fix FLAC demuxer dependencies.
Patch by James Darnley <james darnley at gmail>

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

9 years agoDrop AVERROR_NOFMT at the next libavutil major bump.
Stefano Sabatini [Sun, 21 Mar 2010 16:34:06 +0000 (16:34 +0000)]
Drop AVERROR_NOFMT at the next libavutil major bump.

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

9 years agoMake av_open_input_file() return AVERROR_INVALIDDATA rather than
Stefano Sabatini [Sun, 21 Mar 2010 16:34:04 +0000 (16:34 +0000)]
Make av_open_input_file() return AVERROR_INVALIDDATA rather than
AVERROR_NOFMT if the format is unknown / cannot be recognized.

It is returned AVERROR_INVALIDDATA, in the sense that the data is
invalid within what the specific libav* binary supports.

That was the last remaining use of AVERROR_NOFMT, which is going to be
dropped at the next libavutil major bump.

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

9 years agoMake g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
Stefano Sabatini [Sun, 21 Mar 2010 16:34:01 +0000 (16:34 +0000)]
Make g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
AVERROR_NOFMT in case of invalid / unknown packet size.

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

9 years agoDo not use puts, it adds additional newlines making the generated files
Reimar Döffinger [Sun, 21 Mar 2010 16:29:08 +0000 (16:29 +0000)]
Do not use puts, it adds additional newlines making the generated files
needlessly ugly.

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

9 years agoAdd support for hard-coding the 256kB large dv_vlc_map table.
Reimar Döffinger [Sun, 21 Mar 2010 16:03:45 +0000 (16:03 +0000)]
Add support for hard-coding the 256kB large dv_vlc_map table.

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

9 years agoExtend and move macros to create table printing functions to header.
Reimar Döffinger [Sun, 21 Mar 2010 14:46:32 +0000 (14:46 +0000)]
Extend and move macros to create table printing functions to header.
Simplifies creating custom functions for printing DV VLC-related tables.

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

9 years agoSplit VLC-related tables out of dvdata.h to make it easier to add support
Reimar Döffinger [Sun, 21 Mar 2010 14:43:50 +0000 (14:43 +0000)]
Split VLC-related tables out of dvdata.h to make it easier to add support
for hard-coding tables.

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

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