Commit Graph

15653 Commits

Author SHA1 Message Date
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
Ramiro Polla d6aa052dc5 mlpdec: Split filter parameters from context into their own struct.
Originally committed as revision 14716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:53:59 +00:00
Baptiste Coudurier 0d84a8f6ae increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
Originally committed as revision 14715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:28:00 +00:00
Baptiste Coudurier cb5b96cde0 Prevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
this fixes overflow in AVStream->pts_buffer.

Originally committed as revision 14714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:26:36 +00:00
Peter Ross ebc22cc29f Electronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street' computer game.
Originally committed as revision 14713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 12:36:00 +00:00
Peter Ross 3b4b113781 Fix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.
Originally committed as revision 14712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 12:32:40 +00:00
Stefano Sabatini 8d36d36e74 Add to the ffmpeg docs an usage example showing how to extract images
from a video.

Originally committed as revision 14711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 10:07:28 +00:00
Peter Ross 6819af8245 Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.
Originally committed as revision 14710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:35:09 +00:00
Peter Ross a07f117804 Electronic Arts demuxer: ignore PTxx platform ID values.
Originally committed as revision 14709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:33:32 +00:00
Peter Ross d3302b7011 Support Electronic Arts files containing MPEG2VIDEO.
Originally committed as revision 14708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:32:59 +00:00
Loren Merritt 81b060faf9 align the audio decoding buffer, since some codecs write to it with simd
Originally committed as revision 14707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 05:59:12 +00:00
Loren Merritt 72745cff20 use float_to_int16_interleave in ac3
Originally committed as revision 14706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 03:01:17 +00:00
Loren Merritt 916d5d6c32 use imdct_half in ac3
Originally committed as revision 14705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 01:30:24 +00:00
Loren Merritt 862b98d42c cosmetics in dsp init
Originally committed as revision 14704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:51:45 +00:00
Loren Merritt d46ac5bfde mdct wrapper function to match fft
Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:38:30 +00:00
Loren Merritt 0a570e826d remove mdct tmp buffer
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:36:36 +00:00
Loren Merritt e8dd7b0c9a remove a float->double->float conversion.
1.8x faster imdct_c with fpmath=sse, no change with x87

Originally committed as revision 14701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:34:08 +00:00
Loren Merritt 46803f4f67 optimize imdct_half:
remove tmp buffer.
skip fft reinterleave pass, leaving data in a format more convenient for simd.
merge post-rotate with post-reorder.

Originally committed as revision 14700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:33:34 +00:00
Loren Merritt 49c0dd754c indent
Originally committed as revision 14699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:27:21 +00:00
Loren Merritt 5d0ddd1a9f split-radix FFT
c is 1.9x faster than previous c (on various x86 cpus), sse is 1.6x faster than previous sse.

Originally committed as revision 14698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 00:26:58 +00:00
Loren Merritt bafad220a7 import yasm macros from x264
Originally committed as revision 14697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 23:54:09 +00:00
Loren Merritt 304d586de6 yasm buildsystem
Originally committed as revision 14696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 23:53:31 +00:00