Commit Graph

15324 Commits

Author SHA1 Message Date
Aurelien Jacobs 7246177d80 ensure we get explicit definition of various _XOPEN_SOURCE functions we use
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 22:01:59 +00:00
Baptiste Coudurier b5f46e9340 import ok'd hunks for mxf muxer
Originally committed as revision 14765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 21:48:02 +00:00
Diego Biurrun 2b409ca9d6 Remove hackish support for fastmemcpy from MPlayer.
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 20:40:36 +00:00
Ramiro Polla 1e8bd10c57 mlp: Define End-of-Stream code in common header file and use it in decoder.
Originally committed as revision 14763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 19:38:39 +00:00
Kostya Shishkov 07be55dc8b Remove not OKed parts from AAC encoder
Originally committed as revision 14762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 16:07:17 +00:00
Diego Biurrun 29a717aef2 Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.

Originally committed as revision 14761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 15:50:31 +00:00
Daniel Serpell 084cadabbc Add an example of higher resolution video encoding for the PSP to the FAQ.
patch by Daniel Serpell, dserpell gmail com

Originally committed as revision 14760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 15:23:07 +00:00
Daniel Serpell b96e074dc7 Fix the PSP examples in the FAQ to use libx264 as codec instead of h264.
patch by Daniel Serpell, dserpell gmail com

Originally committed as revision 14759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 15:16:17 +00:00
Robert Swain 69fc4da360 Add declarations for the sine tables used in wma.c (half window sizes: 128,
256, 512, 1024 and 2048) to mdct.c. Make them accessible via dsputil.h. Make
wma.c use these shared tables.

Originally committed as revision 14758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:40:16 +00:00
Robert Swain ece6b83c3e Change wma.c to use the ff_sine_window_init() from mdct.c
Originally committed as revision 14757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:36:22 +00:00
Kurtnoise 7139bfa8fe Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.
patch by Kurtnoise, kurtnoise free fr

Originally committed as revision 14756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:29:18 +00:00
Diego Biurrun bf6ce82d81 Check for sys/select.h and poll.h unconditionally, not just if ffserver
is enabled. The headers are used throughout the code.

Originally committed as revision 14755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:03:32 +00:00
Michael Niedermayer 11a9d3e853 Add -D_POSIX_C_SOURCE=200112 to cflags.
Originally committed as revision 14754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 11:40:14 +00:00
Anuradha Suraparaju 67a38cee37 Change Dirac in MPEG-TS encapsulation to conform with spec changes.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 11:17:23 +00:00
Kostya Shishkov c03d9d058b Okayed parts of AAC encoder
Originally committed as revision 14752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 05:52:29 +00:00
Loren Merritt 7ca7d5fae0 file which should have been added in r14749
Originally committed as revision 14751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 05:00:25 +00:00
Loren Merritt 75ac287517 missing prototype
Originally committed as revision 14750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 04:41:02 +00:00
Loren Merritt ebceaa1cd5 gcc chokes on the 7 registers needed for float_to_int16_interleave6 (even inside HAVE_7REGS), so write it in yasm
Originally committed as revision 14749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 04:40:46 +00:00
Loren Merritt ee46753739 gcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little
Originally committed as revision 14748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 04:39:59 +00:00
Ramiro Polla a7cc783d71 mlp: split simple inline function that xors 4 bytes into one.
Originally committed as revision 14747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 03:58:05 +00:00
Michael Niedermayer 3c9769a008 Do not fill the pts reordering buffer with guessed dts.
These values should not matter at all in principle because they
do not correspond to the time of display of any frame but it seems
ffmpeg becomes confused by them if they are far off and its not
strictly correct to set them to guessed values.
Fixes video_stalls_at_start.wmv

Originally committed as revision 14746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 03:24:58 +00:00
Michael Niedermayer aca36b287d Remove unneeded whitespace and quotes from -D_ISOC99_SOURCE.
Originally committed as revision 14745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 00:07:00 +00:00
Loren Merritt 675872382f special case 6 channel version of float_to_int16_interleave
5% faster ac3

Originally committed as revision 14744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:36:37 +00:00
Loren Merritt 911e21a306 simd int->float
20% faster ac3 if downmixing, 15% if not

Originally committed as revision 14743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:35:40 +00:00
Loren Merritt ac2e556456 simd downmix
13% faster ac3 if downmixing

Originally committed as revision 14742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:33:48 +00:00
Loren Merritt 45d9d61889 don't mark the delayed samples for upmixing if they haven't been downmixed
Originally committed as revision 14741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:30:53 +00:00
Loren Merritt 3b6516f7e7 oops, non-normalized downmix to mono contaminated add_bias for non-simd float-to-int.
Originally committed as revision 14740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:30:28 +00:00
Michael Niedermayer da0def34ec Change _ISOC9X_SOURCE to _ISOC99_SOURCE.
Originally committed as revision 14739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:01:48 +00:00
Aurelien Jacobs 5df3cc6f80 matroskadec: list some more ebml IDs found in the wild and that we ignore
This avoid printing some warnings about unknow IDs while we in fact know
the IDs but just want to knowingly ignore them.

Originally committed as revision 14738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 21:15:15 +00:00
Stefano Sabatini 9a10927279 Make show_banner() and show_version() print both the compile-time and the
link-time/run-time libav* version numbers.

Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 20:08:37 +00:00
Erwan Ducroquet 850a8d42ab Add examples in documentation showing how to avoid to decode audio and
output video in pass 1 for 2-pass encoding.
Patch by Erwan Ducroquet erwan _dot_ ducroquet _at_ gmail _dot_ com

Originally committed as revision 14736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 19:49:37 +00:00
Ramiro Polla 06cddea060 mlp: Cosmetics: Close comments in an extra line and
remove empty lines between doxy comments and function declarations.

Originally committed as revision 14735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 19:43:18 +00:00
Anuradha Suraparaju f4bba2015a Dirac encapsulation in MPEG-TS
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 19:29:35 +00:00
Ramiro Polla ce15710f55 mlp: Split common code from parser and decoder to be used by encoder.
Originally committed as revision 14733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:47:03 +00:00
Diego Biurrun e7327dbba7 Remove unused variable.
Originally committed as revision 14732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:33:25 +00:00
Diego Biurrun 2485abe281 Remove unused variable.
Originally committed as revision 14731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:32:16 +00:00
Michael Niedermayer 488b1ca476 10000l, revert mistakely commited and unrelated hunk.
Originally committed as revision 14730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:20:54 +00:00
Michael Niedermayer ad1d871021 Move -D_ISOC9X_SOURCE to configure so its available to all tests.
Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:17:26 +00:00
Aurelien Jacobs ea452b54f0 strcasecmp() requires #include <strings.h>
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 17:22:53 +00:00
Aurelien Jacobs 5af4f1f3e3 move M_PI definition along with other math definitions
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 16:01:21 +00:00
Carl Eugen Hoyos af44e8e488 Show result of yasm test.
Originally committed as revision 14726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 15:03:57 +00:00
Aurelien Jacobs d1a12956a0 define some math constants so as not to depend on _XOPEN_SOURCE
Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 10:04:59 +00:00
Aurelien Jacobs 29d3ed3be6 ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
Originally committed as revision 14724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 10:03:20 +00:00
Aurelien Jacobs 131f1cb2a9 matroskadec: parse available blocks even when cluster parsing failed
This way, we still read the few complete blocks out of a truncated
cluster at the end of a truncated file.

Originally committed as revision 14723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 09:36:45 +00:00
Ramiro Polla ee5b34d56e mlp_parser: Initialize crc data in its own function.
Originally committed as revision 14722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 02:44:38 +00:00
Ramiro Polla 5dae0dd22c mlpdec: Put some doxy comments to the right of vars instead of interleaved.
Originally committed as revision 14721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 01:41:06 +00:00
Ramiro Polla f53acb7b17 mlpdec: Split channel parameters from context into their own struct.
Originally committed as revision 14720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 01:36:01 +00:00
Loren Merritt 557ac0c448 optimize ac3_downmix.
1.3x faster 5.1->stereo, 1.9x faster 5.1->mono.

Originally committed as revision 14719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 23:45:46 +00:00
Michael Niedermayer 0e55ba723b Add needed include, make it compile without -D_BSD_SOURCE.
Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 21:02:37 +00:00
Ramiro Polla db01fa131b mlpdec: whitespace and line-breaking cosmetics.
Originally committed as revision 14717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 18:05:58 +00:00