Commit Graph

23531 Commits

Author SHA1 Message Date
Reimar Döffinger
8de0859bcb 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
2010-03-21 14:46:32 +00:00
Reimar Döffinger
10249a5f31 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
2010-03-21 14:43:50 +00:00
Vitor Sessak
b531e1ab59 Reindent after r22618.
Originally committed as revision 22619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:36:17 +00:00
Vitor Sessak
8305c76b53 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
2010-03-21 11:35:05 +00:00
Vitor Sessak
e30ab38e94 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
2010-03-21 11:31:11 +00:00
Vitor Sessak
89d7df7c74 Cosmetics: move ff_dct_init() to the bottom of the file
Originally committed as revision 22616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:28:38 +00:00
Vitor Sessak
2758004fce DCT: remove unused field from context
Originally committed as revision 22615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:24:01 +00:00
Kostya Shishkov
b78a985afb fix minor typo
Originally committed as revision 22614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 10:26:09 +00:00
Diego Biurrun
e547328b18 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
2010-03-21 09:24:04 +00:00
Aurelien Jacobs
3546fa8d87 fix compilation with --disable-everything --enable-decoder=mpeg2video
Originally committed as revision 22612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 23:18:07 +00:00
Diego Biurrun
4903b5ca35 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
2010-03-20 21:39:50 +00:00
Måns Rullgård
1366f05978 rdft: reorder functions to avoid static prototype
Originally committed as revision 22610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 21:27:06 +00:00
Måns Rullgård
2881c83127 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
2010-03-20 21:27:03 +00:00
Michael Niedermayer
b297129bdb 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
2010-03-20 16:51:36 +00:00
Justin Ruggles
59b4b54014 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
2010-03-20 13:42:49 +00:00
James Darnley
aeef3ec6f0 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
2010-03-20 13:39:22 +00:00
James Darnley
66061a1220 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
2010-03-20 13:36:43 +00:00
Måns Rullgård
64f6e357fd 10l: fix build without termios.h
Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 01:02:45 +00:00
Michael Niedermayer
673fc6388f Error concealment of h264 with multiple references.
Originally committed as revision 22603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 00:52:08 +00:00
Stefano Sabatini
1bafdcbd0a 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
2010-03-20 00:09:30 +00:00
Stefano Sabatini
72af5d8a02 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
2010-03-19 23:34:36 +00:00
Stefano Sabatini
0029156589 Extend description for AVERROR_INVALIDDATA.
Originally committed as revision 22600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-19 23:34:34 +00:00
Måns Rullgård
9a9509e6ee Register atexit handler only when needed
Originally committed as revision 22599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-19 16:25:11 +00:00
Diego Biurrun
f5af8f1625 Replace wrong condition name in #endif comment by correct instance.
Originally committed as revision 30938 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-03-19 09:58:45 +00:00
Diego Biurrun
81bbd840fe 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
2010-03-19 09:57:36 +00:00
Anton Khirnov
7a39f142a8 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
2010-03-19 07:44:38 +00:00
Janusz Krzysztofik
5388f0b479 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
2010-03-18 23:36:54 +00:00
Bobby Bingham
15ba015f71 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
2010-03-18 23:13:04 +00:00
Bobby Bingham
d313e17ab1 Use the new null callbacks to simplify filters and reduce duplicated code.
Originally committed as revision 22595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 23:13:02 +00:00
Bobby Bingham
91d1c741bf 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
2010-03-18 23:12:48 +00:00
Janusz Krzysztofik
22e8222fd2 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
2010-03-18 23:02:32 +00:00
Måns Rullgård
d343d59837 Replace remaining uses of ATTR_ALIGNED with DECLARE_ALIGNED
Originally committed as revision 22593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 15:00:17 +00:00
Carl Eugen Hoyos
35a3bd844e It is difficult nowadays to compile without swscale support.
Originally committed as revision 22592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 00:24:26 +00:00
Stefano Sabatini
fd7cbc7f9c 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
2010-03-18 00:23:02 +00:00
Stefano Sabatini
8d5e638f04 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
2010-03-18 00:22:58 +00:00
Stefano Sabatini
8bab85e54c 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
2010-03-17 23:51:12 +00:00
Robert Krüger
076db5ed57 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
2010-03-17 23:39:18 +00:00
Stefano Sabatini
1400bd5a39 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
2010-03-17 23:23:48 +00:00
Stefano Sabatini
cec96e8de3 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
2010-03-17 23:23:44 +00:00
Ronald S. Bultje
a7a85dc4c2 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
2010-03-17 15:14:18 +00:00
Carl Eugen Hoyos
9109cdca97 Fix compilation on PPC 470.
Originally committed as revision 22584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 15:06:27 +00:00
Måns Rullgård
838c7c7407 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
2010-03-17 14:43:05 +00:00
Måns Rullgård
de5aba8cca 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
2010-03-17 14:43:03 +00:00
Alexis Ballier
57937d6195 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
2010-03-17 13:04:33 +00:00
Maxim Poliakovski
ace38c36bf Correct reference buffer switching in Indeo 5 decoder.
Patch by Maxim ($indeo5decauthor)

Originally committed as revision 22580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 07:53:12 +00:00
Kostya Shishkov
6eec969d54 document two variables in Indeo5 decoding context
Originally committed as revision 22579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 07:49:36 +00:00
Bobby Bingham
e88c9dac07 Cosmetics: vertical align
Originally committed as revision 22578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:37:43 +00:00
Bobby Bingham
c0bc2fed8e 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
2010-03-17 04:37:40 +00:00
Bobby Bingham
55fd1bbc1b Cosmetics: rearrange functions to simplify ifdeffery
Originally committed as revision 22576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:37:36 +00:00
Ramiro Polla
ad8eede7b1 vfwcap: Free remaining packets on vfw_read_close().
Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:36:06 +00:00