ffmpeg.git
12 years agoremove some unneeded header includes
Justin Ruggles [Sun, 17 Aug 2008 19:56:28 +0000 (19:56 +0000)]
remove some unneeded header includes

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

12 years agoCopy and paste LGPL from tree.h, the previous one referred to a non-existing
Michael Niedermayer [Sun, 17 Aug 2008 19:32:51 +0000 (19:32 +0000)]
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
version.

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

12 years agoAdd missing header includes to fix 'make checkheaders'.
Diego Biurrun [Sun, 17 Aug 2008 19:26:13 +0000 (19:26 +0000)]
Add missing header includes to fix 'make checkheaders'.

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

12 years agoAdd missing stdint.h header to fix 'make checkheaders'.
Diego Biurrun [Sun, 17 Aug 2008 19:15:33 +0000 (19:15 +0000)]
Add missing stdint.h header to fix 'make checkheaders'.

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

12 years agouse LFG instead of Mersenne Twister for AC-3 PRNG
Justin Ruggles [Sun, 17 Aug 2008 17:41:48 +0000 (17:41 +0000)]
use LFG instead of Mersenne Twister for AC-3 PRNG

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

12 years agoMark adx_decode_init() as type int instead of void, the function returns
Diego Biurrun [Sun, 17 Aug 2008 17:08:25 +0000 (17:08 +0000)]
Mark adx_decode_init() as type int instead of void, the function returns
a value.  Fixes the warning:
adxdec.c:36: warning: 'return' with a value, in function returning void

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

12 years agorestore alphabetical order of TESTS
Michael Niedermayer [Sun, 17 Aug 2008 16:58:47 +0000 (16:58 +0000)]
restore alphabetical order of TESTS

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

12 years agoAdd PCA to TESTS.
Michael Niedermayer [Sun, 17 Aug 2008 16:44:13 +0000 (16:44 +0000)]
Add PCA to TESTS.

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

12 years agofix and simplify frame size check and reencoding in verbatim mode
Justin Ruggles [Sun, 17 Aug 2008 16:10:46 +0000 (16:10 +0000)]
fix and simplify frame size check and reencoding in verbatim mode

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

12 years agoAdd multiple inclusion guards for consistency and to avoid them being
Michael Niedermayer [Sun, 17 Aug 2008 15:53:12 +0000 (15:53 +0000)]
Add multiple inclusion guards for consistency and to avoid them being
forgotten in case they ever become neccessary.

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

12 years agoMove context struct to c file.
Michael Niedermayer [Sun, 17 Aug 2008 15:51:20 +0000 (15:51 +0000)]
Move context struct to c file.

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

12 years agoAdd prototypes to header (based on code by ramiro)
Michael Niedermayer [Sun, 17 Aug 2008 15:50:20 +0000 (15:50 +0000)]
Add prototypes to header (based on code by ramiro)

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

12 years agoMake ff_pca_init() allocate it struct instead of letting the user provide
Michael Niedermayer [Sun, 17 Aug 2008 15:46:20 +0000 (15:46 +0000)]
Make ff_pca_init() allocate it struct instead of letting the user provide
one (more robust ABI wise).

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

12 years agoDo not mix declarations and statements (by ramiro).
Michael Niedermayer [Sun, 17 Aug 2008 15:35:55 +0000 (15:35 +0000)]
Do not mix declarations and statements (by ramiro).

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

12 years agoput testing code under #ifdef TEST
Michael Niedermayer [Sun, 17 Aug 2008 15:33:17 +0000 (15:33 +0000)]
put testing code under #ifdef TEST

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

12 years agoTesting code uses random().
Michael Niedermayer [Sun, 17 Aug 2008 15:32:50 +0000 (15:32 +0000)]
Testing code uses random().

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

12 years agofix includes
Michael Niedermayer [Sun, 17 Aug 2008 15:32:13 +0000 (15:32 +0000)]
fix includes

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

12 years agoPrincipal component analysis
Michael Niedermayer [Sun, 17 Aug 2008 15:28:12 +0000 (15:28 +0000)]
Principal component analysis
(will be cleaned up in next commits)

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

12 years agoalacenc: NULL_IF_CONFIG_SMALL long_name.
Ramiro Polla [Sun, 17 Aug 2008 12:25:01 +0000 (12:25 +0000)]
alacenc: NULL_IF_CONFIG_SMALL long_name.

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

12 years agoG.729 decoder main code
Vladimir Voroshilov [Sun, 17 Aug 2008 08:43:37 +0000 (08:43 +0000)]
G.729 decoder main code
(just skeleton, contains only parts, explicitly ok'ed by Michael)

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

12 years agoMore okayed chunks of AAC encoder
Kostya Shishkov [Sun, 17 Aug 2008 07:04:11 +0000 (07:04 +0000)]
More okayed chunks of AAC encoder

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

12 years agoImport ok'd parts of ALAC encoder from GSoC repo.
Ramiro Polla [Sun, 17 Aug 2008 04:36:06 +0000 (04:36 +0000)]
Import ok'd parts of ALAC encoder from GSoC repo.

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

12 years agoupdate my email address to one which does not depend on my service provider
Justin Ruggles [Sat, 16 Aug 2008 22:42:59 +0000 (22:42 +0000)]
update my email address to one which does not depend on my service provider

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

12 years agouse range of lpc orders in ORDER_METHOD_EST
Justin Ruggles [Sat, 16 Aug 2008 21:39:09 +0000 (21:39 +0000)]
use range of lpc orders in ORDER_METHOD_EST

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

12 years agocosmetics: adjust line breaks and vertical alignment
Justin Ruggles [Sat, 16 Aug 2008 21:32:03 +0000 (21:32 +0000)]
cosmetics: adjust line breaks and vertical alignment

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

12 years agouse limited range of lpc orders when quantizing coefficients
Justin Ruggles [Sat, 16 Aug 2008 21:24:06 +0000 (21:24 +0000)]
use limited range of lpc orders when quantizing coefficients

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

12 years agostruct timeval requires #include <sys/time.h>
Dave Yeo [Sat, 16 Aug 2008 18:39:30 +0000 (18:39 +0000)]
struct timeval requires #include <sys/time.h>
patch by Dave Yeo  daveryeo _at_ telus _dot_ net

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

12 years agolpc: cosmetics: vertically align declarations and definitions.
Ramiro Polla [Sat, 16 Aug 2008 17:28:29 +0000 (17:28 +0000)]
lpc: cosmetics: vertically align declarations and definitions.

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

12 years agoUse correct asm object type and necessary -DPIC for yasm on 64-bit Darwin
David Conrad [Sat, 16 Aug 2008 17:18:23 +0000 (17:18 +0000)]
Use correct asm object type and necessary -DPIC for yasm on 64-bit Darwin

Thread: [FFmpeg-devel] fft_mmx.asm yasm 64bit build broken
Patch by 'D' (lessen42 gmail com)

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

12 years agoflacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files.
Ramiro Polla [Sat, 16 Aug 2008 17:18:20 +0000 (17:18 +0000)]
flacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files.

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

12 years agoflacenc: Allow more flexible shift calculation in LPC.
Ramiro Polla [Sat, 16 Aug 2008 17:03:57 +0000 (17:03 +0000)]
flacenc: Allow more flexible shift calculation in LPC.

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

12 years agoFix rc_eq mem leak.
Michael Niedermayer [Sat, 16 Aug 2008 14:46:31 +0000 (14:46 +0000)]
Fix rc_eq mem leak.

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

12 years agoRevert r14260
Michael Niedermayer [Sat, 16 Aug 2008 14:13:49 +0000 (14:13 +0000)]
Revert  r14260
Log:
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.

Reason running free() on random pointers.

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

12 years agoSynchronize AAC encoder with renamings in aac.h
Kostya Shishkov [Sat, 16 Aug 2008 11:59:36 +0000 (11:59 +0000)]
Synchronize AAC encoder with renamings in aac.h

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

12 years agoAdd approved chunks to AAC encoder
Kostya Shishkov [Sat, 16 Aug 2008 05:47:18 +0000 (05:47 +0000)]
Add approved chunks to AAC encoder

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

12 years agoUse memcpy() for PCM S16/S32 codecs when codec byte-order matches machine byte-order.
Peter Ross [Sat, 16 Aug 2008 01:25:12 +0000 (01:25 +0000)]
Use memcpy() for PCM S16/S32 codecs when codec byte-order matches machine byte-order.

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

12 years agoSurround format-specific functions with matching preprocessor conditionals.
Diego Biurrun [Fri, 15 Aug 2008 19:24:55 +0000 (19:24 +0000)]
Surround format-specific functions with matching preprocessor conditionals.

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

12 years agoSurround AVInputFormat declarations with format-specific #ifdefs.
Diego Biurrun [Fri, 15 Aug 2008 17:28:20 +0000 (17:28 +0000)]
Surround AVInputFormat declarations with format-specific #ifdefs.

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

12 years agoReplace generic CONFIG_MUXERS preprocessor condition around format-specific
Diego Biurrun [Fri, 15 Aug 2008 16:54:27 +0000 (16:54 +0000)]
Replace generic CONFIG_MUXERS preprocessor condition around format-specific
functions by more appropriate format-specific preprocessor conditions.

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

12 years agoReplace generic CONFIG_MUXERS preprocessor conditions around AVOutputFormat
Diego Biurrun [Fri, 15 Aug 2008 16:48:05 +0000 (16:48 +0000)]
Replace generic CONFIG_MUXERS preprocessor conditions around AVOutputFormat
declarations by more specific CONFIG_FOOBAR_MUXER conditions.

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

12 years agocosmetics: Remove redundant #endif comments that are very close to the #ifdef
Diego Biurrun [Fri, 15 Aug 2008 16:37:59 +0000 (16:37 +0000)]
cosmetics: Remove redundant #endif comments that are very close to the #ifdef
condition.  This will make upcoming diffs smaller.

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

12 years agocosmetics: misc spelling fixes
Diego Biurrun [Fri, 15 Aug 2008 16:33:12 +0000 (16:33 +0000)]
cosmetics: misc spelling fixes

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

12 years agoAdd flag to mark demuxers that can output discontinuous timestamps.
Michael Niedermayer [Fri, 15 Aug 2008 16:13:05 +0000 (16:13 +0000)]
Add flag to mark demuxers that can output discontinuous timestamps.
(could also be added to muxers if someone wants)

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

12 years agoSimplify by using FFMAX.
Michael Niedermayer [Fri, 15 Aug 2008 14:30:20 +0000 (14:30 +0000)]
Simplify by using FFMAX.

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

12 years agoDon't try to free shared ff_sine_* tables pointed to by s->windows[]
Robert Swain [Fri, 15 Aug 2008 10:31:11 +0000 (10:31 +0000)]
Don't try to free shared ff_sine_* tables pointed to by s->windows[]

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

12 years agoMore OKed AAC decoder hunks
Robert Swain [Fri, 15 Aug 2008 08:01:31 +0000 (08:01 +0000)]
More OKed AAC decoder hunks

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

12 years agoAdd myself as ARM maintainer
Måns Rullgård [Fri, 15 Aug 2008 00:28:36 +0000 (00:28 +0000)]
Add myself as ARM maintainer

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

12 years agoSynchronise AAC decoder code with that from SoC
Robert Swain [Fri, 15 Aug 2008 00:19:14 +0000 (00:19 +0000)]
Synchronise AAC decoder code with that from SoC

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

12 years agodocument some dsp alignments
Loren Merritt [Fri, 15 Aug 2008 00:14:07 +0000 (00:14 +0000)]
document some dsp alignments

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

12 years agoMore OKed sections of AAC decoder code
Robert Swain [Fri, 15 Aug 2008 00:05:09 +0000 (00:05 +0000)]
More OKed sections of AAC decoder code

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

12 years agoAdd -fasm and -std=c99 when supported.
Michael Niedermayer [Thu, 14 Aug 2008 23:38:09 +0000 (23:38 +0000)]
Add -fasm and -std=c99 when supported.

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

12 years agouse h_addr_list[0] instead of h_addr as this is the posix hostent field name
Aurelien Jacobs [Thu, 14 Aug 2008 22:36:05 +0000 (22:36 +0000)]
use h_addr_list[0] instead of h_addr as this is the posix hostent field name

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

12 years agoThe ff_sine_#[] should be aligned as they will commonly be used in dsputil
Robert Swain [Thu, 14 Aug 2008 22:12:19 +0000 (22:12 +0000)]
The ff_sine_#[] should be aligned as they will commonly be used in dsputil
functions

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

12 years agoensure we get explicit definition of various _XOPEN_SOURCE functions we use
Aurelien Jacobs [Thu, 14 Aug 2008 22:01:59 +0000 (22:01 +0000)]
ensure we get explicit definition of various _XOPEN_SOURCE functions we use

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

12 years agoimport ok'd hunks for mxf muxer
Baptiste Coudurier [Thu, 14 Aug 2008 21:48:02 +0000 (21:48 +0000)]
import ok'd hunks for mxf muxer

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

12 years agoRemove hackish support for fastmemcpy from MPlayer.
Diego Biurrun [Thu, 14 Aug 2008 20:40:36 +0000 (20:40 +0000)]
Remove hackish support for fastmemcpy from MPlayer.

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

12 years agomlp: Define End-of-Stream code in common header file and use it in decoder.
Ramiro Polla [Thu, 14 Aug 2008 19:38:39 +0000 (19:38 +0000)]
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

12 years agoRemove not OKed parts from AAC encoder
Kostya Shishkov [Thu, 14 Aug 2008 16:07:17 +0000 (16:07 +0000)]
Remove not OKed parts from AAC encoder

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

12 years agoUse '#include <poll.h>' instead of '#include <sys/poll.h>'.
Diego Biurrun [Thu, 14 Aug 2008 15:50:31 +0000 (15:50 +0000)]
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

12 years agoAdd an example of higher resolution video encoding for the PSP to the FAQ.
Daniel Serpell [Thu, 14 Aug 2008 15:23:07 +0000 (15:23 +0000)]
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

12 years agoFix the PSP examples in the FAQ to use libx264 as codec instead of h264.
Daniel Serpell [Thu, 14 Aug 2008 15:16:17 +0000 (15:16 +0000)]
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

12 years agoAdd declarations for the sine tables used in wma.c (half window sizes: 128,
Robert Swain [Thu, 14 Aug 2008 14:40:16 +0000 (14:40 +0000)]
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

12 years agoChange wma.c to use the ff_sine_window_init() from mdct.c
Robert Swain [Thu, 14 Aug 2008 14:36:22 +0000 (14:36 +0000)]
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

12 years agoSurround '#include <sys/select>' by HAVE_SYS_SELECT_H.
Kurtnoise [Thu, 14 Aug 2008 14:29:18 +0000 (14:29 +0000)]
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

12 years agoCheck for sys/select.h and poll.h unconditionally, not just if ffserver
Diego Biurrun [Thu, 14 Aug 2008 14:03:32 +0000 (14:03 +0000)]
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

12 years agoAdd -D_POSIX_C_SOURCE=200112 to cflags.
Michael Niedermayer [Thu, 14 Aug 2008 11:40:14 +0000 (11:40 +0000)]
Add -D_POSIX_C_SOURCE=200112 to cflags.

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

12 years agoChange Dirac in MPEG-TS encapsulation to conform with spec changes.
Anuradha Suraparaju [Thu, 14 Aug 2008 11:17:23 +0000 (11:17 +0000)]
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

12 years agoOkayed parts of AAC encoder
Kostya Shishkov [Thu, 14 Aug 2008 05:52:29 +0000 (05:52 +0000)]
Okayed parts of AAC encoder

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

12 years agofile which should have been added in r14749
Loren Merritt [Thu, 14 Aug 2008 05:00:25 +0000 (05:00 +0000)]
file which should have been added in r14749

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

12 years agomissing prototype
Loren Merritt [Thu, 14 Aug 2008 04:41:02 +0000 (04:41 +0000)]
missing prototype

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

12 years agogcc chokes on the 7 registers needed for float_to_int16_interleave6 (even inside...
Loren Merritt [Thu, 14 Aug 2008 04:40:46 +0000 (04:40 +0000)]
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

12 years agogcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little
Loren Merritt [Thu, 14 Aug 2008 04:39:59 +0000 (04:39 +0000)]
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

12 years agomlp: split simple inline function that xors 4 bytes into one.
Ramiro Polla [Thu, 14 Aug 2008 03:58:05 +0000 (03:58 +0000)]
mlp: split simple inline function that xors 4 bytes into one.

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

12 years agoDo not fill the pts reordering buffer with guessed dts.
Michael Niedermayer [Thu, 14 Aug 2008 03:24:58 +0000 (03:24 +0000)]
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

12 years agoRemove unneeded whitespace and quotes from -D_ISOC99_SOURCE.
Michael Niedermayer [Thu, 14 Aug 2008 00:07:00 +0000 (00:07 +0000)]
Remove unneeded whitespace and quotes from -D_ISOC99_SOURCE.

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

12 years agospecial case 6 channel version of float_to_int16_interleave
Loren Merritt [Wed, 13 Aug 2008 23:36:37 +0000 (23:36 +0000)]
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

12 years agosimd int->float
Loren Merritt [Wed, 13 Aug 2008 23:35:40 +0000 (23:35 +0000)]
simd int->float
20% faster ac3 if downmixing, 15% if not

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

12 years agosimd downmix
Loren Merritt [Wed, 13 Aug 2008 23:33:48 +0000 (23:33 +0000)]
simd downmix
13% faster ac3 if downmixing

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

12 years agodon't mark the delayed samples for upmixing if they haven't been downmixed
Loren Merritt [Wed, 13 Aug 2008 23:30:53 +0000 (23:30 +0000)]
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

12 years agooops, non-normalized downmix to mono contaminated add_bias for non-simd float-to...
Loren Merritt [Wed, 13 Aug 2008 23:30:28 +0000 (23:30 +0000)]
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

12 years agoChange _ISOC9X_SOURCE to _ISOC99_SOURCE.
Michael Niedermayer [Wed, 13 Aug 2008 23:01:48 +0000 (23:01 +0000)]
Change _ISOC9X_SOURCE to _ISOC99_SOURCE.

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

12 years agomatroskadec: list some more ebml IDs found in the wild and that we ignore
Aurelien Jacobs [Wed, 13 Aug 2008 21:15:15 +0000 (21:15 +0000)]
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

12 years agoMake show_banner() and show_version() print both the compile-time and the
Stefano Sabatini [Wed, 13 Aug 2008 20:08:37 +0000 (20:08 +0000)]
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

12 years agoAdd examples in documentation showing how to avoid to decode audio and
Erwan Ducroquet [Wed, 13 Aug 2008 19:49:37 +0000 (19:49 +0000)]
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

12 years agomlp: Cosmetics: Close comments in an extra line and
Ramiro Polla [Wed, 13 Aug 2008 19:43:18 +0000 (19:43 +0000)]
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

12 years agoDirac encapsulation in MPEG-TS
Anuradha Suraparaju [Wed, 13 Aug 2008 19:29:35 +0000 (19:29 +0000)]
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

12 years agomlp: Split common code from parser and decoder to be used by encoder.
Ramiro Polla [Wed, 13 Aug 2008 18:47:03 +0000 (18:47 +0000)]
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

12 years agoRemove unused variable.
Diego Biurrun [Wed, 13 Aug 2008 18:33:25 +0000 (18:33 +0000)]
Remove unused variable.

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

12 years agoRemove unused variable.
Diego Biurrun [Wed, 13 Aug 2008 18:32:16 +0000 (18:32 +0000)]
Remove unused variable.

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

12 years ago10000l, revert mistakely commited and unrelated hunk.
Michael Niedermayer [Wed, 13 Aug 2008 18:20:54 +0000 (18:20 +0000)]
10000l, revert mistakely commited and unrelated hunk.

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

12 years agoMove -D_ISOC9X_SOURCE to configure so its available to all tests.
Michael Niedermayer [Wed, 13 Aug 2008 18:17:26 +0000 (18:17 +0000)]
Move -D_ISOC9X_SOURCE to configure so its available to all tests.

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

12 years agostrcasecmp() requires #include <strings.h>
Aurelien Jacobs [Wed, 13 Aug 2008 17:22:53 +0000 (17:22 +0000)]
strcasecmp() requires #include <strings.h>

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

12 years agomove M_PI definition along with other math definitions
Aurelien Jacobs [Wed, 13 Aug 2008 16:01:21 +0000 (16:01 +0000)]
move M_PI definition along with other math definitions

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

12 years agoShow result of yasm test.
Carl Eugen Hoyos [Wed, 13 Aug 2008 15:03:57 +0000 (15:03 +0000)]
Show result of yasm test.

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

12 years agodefine some math constants so as not to depend on _XOPEN_SOURCE
Aurelien Jacobs [Wed, 13 Aug 2008 10:04:59 +0000 (10:04 +0000)]
define some math constants so as not to depend on _XOPEN_SOURCE

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

12 years agoffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
Aurelien Jacobs [Wed, 13 Aug 2008 10:03:20 +0000 (10:03 +0000)]
ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE

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

12 years agomatroskadec: parse available blocks even when cluster parsing failed
Aurelien Jacobs [Wed, 13 Aug 2008 09:36:45 +0000 (09:36 +0000)]
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

12 years agomlp_parser: Initialize crc data in its own function.
Ramiro Polla [Wed, 13 Aug 2008 02:44:38 +0000 (02:44 +0000)]
mlp_parser: Initialize crc data in its own function.

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

12 years agomlpdec: Put some doxy comments to the right of vars instead of interleaved.
Ramiro Polla [Wed, 13 Aug 2008 01:41:06 +0000 (01:41 +0000)]
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

12 years agomlpdec: Split channel parameters from context into their own struct.
Ramiro Polla [Wed, 13 Aug 2008 01:36:01 +0000 (01:36 +0000)]
mlpdec: Split channel parameters from context into their own struct.

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