ffmpeg.git
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

12 years agooptimize ac3_downmix.
Loren Merritt [Tue, 12 Aug 2008 23:45:46 +0000 (23:45 +0000)]
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

12 years agoAdd needed include, make it compile without -D_BSD_SOURCE.
Michael Niedermayer [Tue, 12 Aug 2008 21:02:37 +0000 (21:02 +0000)]
Add needed include, make it compile without -D_BSD_SOURCE.

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

12 years agomlpdec: whitespace and line-breaking cosmetics.
Ramiro Polla [Tue, 12 Aug 2008 18:05:58 +0000 (18:05 +0000)]
mlpdec: whitespace and line-breaking cosmetics.

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

12 years agomlpdec: Split filter parameters from context into their own struct.
Ramiro Polla [Tue, 12 Aug 2008 17:53:59 +0000 (17:53 +0000)]
mlpdec: Split filter parameters from context into their own struct.

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

12 years agoincrease MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
Baptiste Coudurier [Tue, 12 Aug 2008 17:28:00 +0000 (17:28 +0000)]
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

12 years agoPrevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
Baptiste Coudurier [Tue, 12 Aug 2008 17:26:36 +0000 (17:26 +0000)]
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

12 years agoElectronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street...
Peter Ross [Tue, 12 Aug 2008 12:36:00 +0000 (12:36 +0000)]
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

12 years agoFix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.
Peter Ross [Tue, 12 Aug 2008 12:32:40 +0000 (12:32 +0000)]
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

12 years agoAdd to the ffmpeg docs an usage example showing how to extract images
Stefano Sabatini [Tue, 12 Aug 2008 10:07:28 +0000 (10:07 +0000)]
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

12 years agoElectronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2...
Peter Ross [Tue, 12 Aug 2008 08:35:09 +0000 (08:35 +0000)]
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

12 years agoElectronic Arts demuxer: ignore PTxx platform ID values.
Peter Ross [Tue, 12 Aug 2008 08:33:32 +0000 (08:33 +0000)]
Electronic Arts demuxer: ignore PTxx platform ID values.

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

12 years agoSupport Electronic Arts files containing MPEG2VIDEO.
Peter Ross [Tue, 12 Aug 2008 08:32:59 +0000 (08:32 +0000)]
Support Electronic Arts files containing MPEG2VIDEO.

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

12 years agoalign the audio decoding buffer, since some codecs write to it with simd
Loren Merritt [Tue, 12 Aug 2008 05:59:12 +0000 (05:59 +0000)]
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

12 years agouse float_to_int16_interleave in ac3
Loren Merritt [Tue, 12 Aug 2008 03:01:17 +0000 (03:01 +0000)]
use float_to_int16_interleave in ac3

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

12 years agouse imdct_half in ac3
Loren Merritt [Tue, 12 Aug 2008 01:30:24 +0000 (01:30 +0000)]
use imdct_half in ac3

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

12 years agocosmetics in dsp init
Loren Merritt [Tue, 12 Aug 2008 00:51:45 +0000 (00:51 +0000)]
cosmetics in dsp init

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

12 years agomdct wrapper function to match fft
Loren Merritt [Tue, 12 Aug 2008 00:38:30 +0000 (00:38 +0000)]
mdct wrapper function to match fft

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

12 years agoremove mdct tmp buffer
Loren Merritt [Tue, 12 Aug 2008 00:36:36 +0000 (00:36 +0000)]
remove mdct tmp buffer

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

12 years agoremove a float->double->float conversion.
Loren Merritt [Tue, 12 Aug 2008 00:34:08 +0000 (00:34 +0000)]
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

12 years agooptimize imdct_half:
Loren Merritt [Tue, 12 Aug 2008 00:33:34 +0000 (00:33 +0000)]
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

12 years agoindent
Loren Merritt [Tue, 12 Aug 2008 00:27:21 +0000 (00:27 +0000)]
indent

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

12 years agosplit-radix FFT
Loren Merritt [Tue, 12 Aug 2008 00:26:58 +0000 (00:26 +0000)]
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

12 years agoimport yasm macros from x264
Loren Merritt [Mon, 11 Aug 2008 23:54:09 +0000 (23:54 +0000)]
import yasm macros from x264

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

12 years agoyasm buildsystem
Loren Merritt [Mon, 11 Aug 2008 23:53:31 +0000 (23:53 +0000)]
yasm buildsystem

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

12 years agoSynchronise code with AAC decoder in SoC
Robert Swain [Mon, 11 Aug 2008 11:22:48 +0000 (11:22 +0000)]
Synchronise code with AAC decoder in SoC

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