Commit Graph

7562 Commits

Author SHA1 Message Date
Alexis Ballier dad6afb4cb stricter constraints of asm() blocks
All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. Use "rm" instead.
Patch by Alexis Ballier %alexis P ballier A gmail P com%

Originally committed as revision 14941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 08:41:20 +00:00
Robert Swain cbcbf439b9 Fix index to ff_sine_windows[]. Previously the index was usually in reverse
order.

Originally committed as revision 14940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 08:31:19 +00:00
Kostya Shishkov e43b0a7316 okayed chunks of AAC encoder
Originally committed as revision 14939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 05:56:23 +00:00
Alexander E. Patrakov cc09e77e2a Correct scaling factor in DCA decoder synthesis.
Patch by Alexander Patrakov ($lastname at gmail.com)
Thread: dca.c: output scale is a bit off

Originally committed as revision 14937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 05:47:45 +00:00
Justin Ruggles 0c3021eade change eac3dec.c license to LGPL
Originally committed as revision 14936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 04:55:32 +00:00
Loren Merritt 7fadc32de4 document some dsp alignments
Originally committed as revision 14935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 04:03:02 +00:00
Peter Ross 0cdc6ec941 Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot taeuber at gmx dot net.
Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 22:45:03 +00:00
Luca Barbato 0a3650c9f0 Remove unused variables
Originally committed as revision 14929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:10:38 +00:00
Luca Barbato e1f27dc22b Introduce float_to_int16_interleave_altivec, tested with vorbis
Originally committed as revision 14928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:09:46 +00:00
Luca Barbato 8d3d51005a Introduce float_to_int16_one_altivec
Originally committed as revision 14927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:02:30 +00:00
Kostya Shishkov 2e0b635a57 Simple lowpass filter implementation.
Originally committed as revision 14921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 15:49:58 +00:00
Kostya Shishkov cda00def4b Do not pass unnecessary arguments to AAC encoder functions
Originally committed as revision 14920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 15:25:57 +00:00
Michael Niedermayer 56523713e5 Remove redundant FFMIN().
Originally committed as revision 14918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 13:35:12 +00:00
Alexander E. Patrakov 4df7beb368 Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author).

Originally committed as revision 14917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 13:29:13 +00:00
Vladimir Voroshilov 6bf8b3ef03 Remove unnecessary header inclusion from g729.h
Originally committed as revision 14916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 12:49:13 +00:00
Vladimir Voroshilov fe3a80d6fa Move from g729.h all definitions which are used only in g729dec.c
Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 12:38:45 +00:00
Justin Ruggles 63d72fb167 fix decoding of coupling leak info for normal AC-3
Originally committed as revision 14913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 03:30:08 +00:00
Justin Ruggles 602031305c add more OKed parts of the E-AC-3 decoder
Originally committed as revision 14912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 02:04:36 +00:00
Justin Ruggles 0569993ea4 cosmetics: indentation
Originally committed as revision 14911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 01:55:52 +00:00
Justin Ruggles 6fafb0202a add some approved parts of the E-AC-3 decoder
Originally committed as revision 14910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 01:51:42 +00:00
Robert Swain b0f5852a13 Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
buffer sizes accordingly. This produces a ~10% overall decoding perfomance
improvement.

Originally committed as revision 14908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:21:22 +00:00
Robert Swain db38c38624 Whitespace cosmetics after the last commit
Originally committed as revision 14907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:19:18 +00:00
Robert Swain f49905588a Separate code in imdct_and_windowing() into distinct IMDCT, windowing and
buffer update sections

Originally committed as revision 14906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:18:50 +00:00
Matthieu Castet 95801b6a07 alac : check readsamplesize to ensure get_bits() doesn't
fail. Patch by Matthieu Castet <castet.matthieu AT free fr>

Originally committed as revision 14905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 15:09:20 +00:00
Jai Menon ec6cda8c6e alacenc : perform decorrelation only for stereo samples
Originally committed as revision 14904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 14:57:35 +00:00
Michael Niedermayer 474efc1889 Make equation in doxy of ff_acelp_weighted_vector_sum() more readable by
adding spaces.

Originally committed as revision 14902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:52:48 +00:00
Michael Niedermayer 27b71e4b24 doxygen consistency
Originally committed as revision 14901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:51:25 +00:00
Michael Niedermayer 6caabab8cd Make comments doxygen compatible.
Originally committed as revision 14900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:49:58 +00:00
Michael Niedermayer ec5bd476ac Doxygen syntax consistency.
Originally committed as revision 14899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:45:20 +00:00
Michael Niedermayer 8c5da74bc1 Mention cut-off freq of ff_acelp_high_pass_filter() instead of some
meaningless input dependent value.

Originally committed as revision 14898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:39:52 +00:00
Michael Niedermayer 70d3ba4194 Remove mathops.h dependancy.
Originally committed as revision 14897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:25:41 +00:00
Michael Niedermayer 1f08308249 vertical align
Originally committed as revision 14896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:23:01 +00:00
Michael Niedermayer cd523888f3 Remove ff_acelp_weighted_filter() which is just a function wrapping a 1
line loop.

Originally committed as revision 14895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:22:11 +00:00
Michael Niedermayer 5038ecb1f1 Rename subframe_size to a name that is not specific to some specific use
of ff_acelp_convolve_circ()

Originally committed as revision 14894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:41:20 +00:00
Michael Niedermayer 2bbd3434bc rename pitch_delay_frac in ff_acelp_interpolate()
Originally committed as revision 14893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:36:32 +00:00
Michael Niedermayer badcd8d719 Try to improve parameter doxy of ff_acelp_interpolate().
Originally committed as revision 14892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:34:13 +00:00
Michael Niedermayer 03a4da6f69 Clarify how generic ff_acelp_interpolate() is.
Originally committed as revision 14891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:05:14 +00:00
Michael Niedermayer ba5a14fc5d Correct incorrect length parameter doxy for ff_acelp_interpolate().
Originally committed as revision 14890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:02:04 +00:00
Michael Niedermayer ef119cc837 Right half is clearer than positive half for specifying which part of
the filter coeffs is used.

Originally committed as revision 14889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:59:42 +00:00
Michael Niedermayer 7dd3e95a04 Mention the fixed-point scale of the FIR filter coefficients.
Originally committed as revision 14888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:56:48 +00:00
Michael Niedermayer ba05497de5 Cleanup comment for ff_acelp_interp_filter.
Originally committed as revision 14887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:52:56 +00:00
Michael Niedermayer 2398930fe0 Make doxygen comments consistent with the rest of FFmpeg.
Originally committed as revision 14886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:37:53 +00:00
Michael Niedermayer fee37a4985 Document code, do not document difference to a irrelevant reference implementation.
Originally committed as revision 14885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:33:31 +00:00
Michael Niedermayer 012fd207a3 Remove some irrelevant comments.
Originally committed as revision 14884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:31:03 +00:00
Vladimir Voroshilov da7e59b4ab first and second stage LSP codebooks for G.729
Originally committed as revision 14883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 13:35:23 +00:00
Robert Swain 65b20b2485 Reindent after last commit
Originally committed as revision 14882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 12:13:22 +00:00
Robert Swain fbd91d7cad Work around GCC variable may be used uninitialised warning
Originally committed as revision 14881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 12:12:03 +00:00
Robert Swain 1098e8d236 Remove unused variable
Originally committed as revision 14880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 11:29:28 +00:00
Diego Biurrun 8e84913db4 cosmetics: Fix incorrect indentation.
Originally committed as revision 14878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 10:31:08 +00:00
Robert Swain 4b0044b750 Reindent
Originally committed as revision 14877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 10:23:55 +00:00