David Conrad
587ae47aa7
Don't declare SSE vp3 idct data static, so it can be used in the mmx version
...
Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:08 +00:00
Justin Ruggles
1f6a594de4
turn on E-AC-3 decoding support and update the Changelog
...
Originally committed as revision 15103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:08:18 +00:00
Justin Ruggles
f07fe6e78a
simplify code and comment regarding determination whether or not AHT is used.
...
Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:01:56 +00:00
Justin Ruggles
9cf8ebe38a
use correct table name
...
Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:58:21 +00:00
Vitor Sessak
f6a1ca1dad
Misc cosmetics in compute_lpc_coefs(): braces removal and empty lines
...
Originally committed as revision 15093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:39:55 +00:00
Justin Ruggles
1ffbafa02b
skip converter exponent strategy for all channels at once
...
Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:38:38 +00:00
Vitor Sessak
fc324cd523
Remove useless var in compute_lpc_coefs()
...
Originally committed as revision 15091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:37:04 +00:00
Justin Ruggles
e1747bfa4e
merge declaration and init. variable is not used outside the loop.
...
Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:35:58 +00:00
Justin Ruggles
f2e4eb62dc
cosmetics: indentation
...
Originally committed as revision 15089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:32:08 +00:00
Vitor Sessak
5d2dd90848
Merge declaration and initialization of a few vars in compute_lpc_coefs()
...
Originally committed as revision 15088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:31:05 +00:00
Justin Ruggles
8dfc56ec32
commit more OKed parts of the E-AC-3 decoder
...
Originally committed as revision 15087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:30:09 +00:00
Justin Ruggles
225c30429d
commit more OKed parts of the E-AC-3 decoder
...
Originally committed as revision 15068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:19:23 +00:00
Justin Ruggles
d82bdf684b
commit more OKed parts of the E-AC-3 decoder
...
Originally committed as revision 15067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:13:10 +00:00
Michael Niedermayer
d3b4b74c32
Fix lossless jpeg encoder to comply to spec and store full redundant
...
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.
Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
David Conrad
c979fa030f
Remove unused dequantization code from SSE VP3 IDCT
...
Originally committed as revision 15054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:47:47 +00:00
David Conrad
167029a73a
Use ff_pw_8 in MMX/SSE VP3 IDCT
...
Originally committed as revision 15053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:41:42 +00:00
David Conrad
21383da8c4
Let ff_pw_8 be used as an SSE constant
...
Originally committed as revision 15052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:40:21 +00:00
Justin Ruggles
ea364c74a0
cosmetics: update comment about dithering
...
Originally committed as revision 15051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 17:51:03 +00:00
Michael Niedermayer
1d8370aad9
Remove the cos_mod table that has become unused after replacing the imdct
...
by ff_imdct_half().
Originally committed as revision 15050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 11:01:58 +00:00
Michael Niedermayer
89df5e95bb
Replace obfuscated mdct in qmf_32_subbands() by ff_imdct_half().
...
Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 10:47:13 +00:00
Michael Niedermayer
47f0e05295
Get rid of the 512 sample memmove().
...
Originally committed as revision 15048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 10:41:53 +00:00
Peter Ross
43a38a7c3e
Remove 'currently unused' warning about SAMPLE_FMT_xxx.
...
Originally committed as revision 15046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 04:26:45 +00:00
Bartlomiej Wolowiec
53440c621b
Okayed parts of nellymoserenc.c
...
Originally committed as revision 15039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 21:35:57 +00:00
Vitor Sessak
f991d423d2
Remove useless zeroing of a buffer
...
Originally committed as revision 15038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 21:12:30 +00:00
Robert Swain
93b63b1a67
Fix typo in element type
...
Originally committed as revision 15037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 20:19:23 +00:00
Robert Swain
f4fae46e67
Remove unnecessary portion of a condition. This fixes issue607 and avoids
...
another unintended bug where channel coupling could have been run on an SCE.
Originally committed as revision 15036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 20:18:34 +00:00
Stefano Sabatini
7a7c4a7bf7
Fix typo.
...
Originally committed as revision 15034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:43:20 +00:00
Michael Niedermayer
b854197919
Half the size of subband_fir_noidea and get rid of memmove & memset of it.
...
Originally committed as revision 15033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:37:40 +00:00
Stefano Sabatini
d4be08e0c9
Make X264_init() no longer assign avctx->rc_eq to libx264's context.
...
Fix a crash due to X264_init() setting the libx264 rc_eq field to NULL
when rc_eq was not defined. As a consequence rc_eq can no longer be
manually specified and passed to libx264, but this option is going to
be removed from the libx264 public API anyway.
See the thread: "Fix crash in libx264 when rc_eq is not set".
Originally committed as revision 15029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 17:37:32 +00:00
Michael Niedermayer
ef8676276d
Move t1 and t2 declaration from the QMF code closer to where they are used.
...
Originally committed as revision 15024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 14:53:07 +00:00
Michael Niedermayer
addafb0e0a
Simplify (drop useless intermediate sum and diff arrays).
...
Originally committed as revision 15023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 14:44:47 +00:00
Andreas Öman
c55ecb9c27
5,1l: samples_chanptr[] should be (const float *)
...
Originally committed as revision 15022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:14:01 +00:00
Andreas Öman
a7bc9d1b71
dca: Set data_size outside block loop.
...
Originally committed as revision 15021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:12:44 +00:00
Andreas Öman
8ed96a5eba
dca: Do float -> int16 interleaving in-place using s->dsp.float_to_int16_interleave()
...
Originally committed as revision 15020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:09:51 +00:00
Kostya Shishkov
eca0bcb66e
While APE changed container format in 3.98, frequency tables for range coding
...
were changed only in 3.99.
This fixes decoding of v3.98 APE file I have.
Eternal curses to the creator of such unstable format.
Originally committed as revision 15019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 06:14:53 +00:00
Peter Ross
2bfd8855fb
Bump libavcodec minor version number for r15017.
...
Originally committed as revision 15018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 04:02:04 +00:00
Peter Ross
312420f3fa
Add AVCodecContext.bits_per_raw_sample field.
...
Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:59:48 +00:00
Peter Ross
46a73068a6
Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
...
Nb: This change will become active on the next libavcodec major version bump.
Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:52:10 +00:00
Justin Ruggles
e522bd49c8
cosmetics: change another "get" to "decode"
...
Originally committed as revision 15014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 00:09:47 +00:00
Justin Ruggles
164e169fef
cosmetics: change "get" to "decode"
...
Originally committed as revision 15013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 00:06:43 +00:00
Justin Ruggles
86662b1c89
cosmetics: indentation
...
Originally committed as revision 15012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 23:16:21 +00:00
Justin Ruggles
260e09305b
remove unneeded variable, dither_all
...
Originally committed as revision 15011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 23:04:15 +00:00
Roman Shaposhnik
f8007a1473
Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
...
specified in SMPTE 370M
Originally committed as revision 15010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 22:41:00 +00:00
Roman Shaposhnik
b4e0102c5c
Introducing video_stype for holding the value of VAUX source pack
...
and simplifying dv_frame_profile
Originally committed as revision 15007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 19:21:59 +00:00
Kostya Shishkov
a169f49881
Add generic IIR filter interface with Butterworth lowpass filter implementation
...
and remove obsoleted old lowpass filter.
Originally committed as revision 15005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 04:53:57 +00:00
Michael Niedermayer
29ca668f0a
Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.
...
Originally committed as revision 15004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 00:46:09 +00:00
Justin Ruggles
53e6fbb4c5
cosmetics: rename a table
...
Originally committed as revision 15003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:44:34 +00:00
Justin Ruggles
aec0407faf
cosmetics: indent after last commit
...
Originally committed as revision 15001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:23:54 +00:00
Justin Ruggles
6b4bfed965
do not read exponent strategies from each block for E-AC-3 since they are in the header
...
Originally committed as revision 15000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:11:05 +00:00
Roman Shaposhnik
f4acfa3887
Cosmetic change aimed at making it easier to see how bits are consumed
...
Originally committed as revision 14998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:25:47 +00:00
Roman Shaposhnik
b1e3628e8c
Factoring out chan_slice / 27 into seq variable
...
Originally committed as revision 14997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:21:17 +00:00
Roman Shaposhnik
7ae6dcb595
Simplification of how dct_mode affects decoding.
...
Originally committed as revision 14996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:17:01 +00:00
Michael Niedermayer
2f7c21b717
Cosmetics (format ff_nelly_dequantization_table nicer)
...
Originally committed as revision 14993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 18:56:50 +00:00
Justin Ruggles
8649e9332c
add definitions and documentation for shared functions for E-AC-3 decoding
...
Originally committed as revision 14991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:47:03 +00:00
Justin Ruggles
0ffea2439b
copy default coupling band structure from table to decoding context (used for E-AC-3)
...
Originally committed as revision 14990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:40:46 +00:00
Justin Ruggles
e43b29ab26
add more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode mantissa decoding
...
Originally committed as revision 14989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:36:20 +00:00
Justin Ruggles
6a68105e2b
cosmetics: rename some functions from *get_* to *decode_*
...
Originally committed as revision 14988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:24:43 +00:00
Baptiste Coudurier
8ee552f69c
simplify mpeg12 avctx->pix_fmt set
...
Originally committed as revision 14986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 23:25:29 +00:00
Aurelien Jacobs
67f718bd11
Add a temp variable to ff_sine_window_init() to match the way wma.c computed
...
window before r14757. This fixes a regression introduced by r14757 on amd64.
Originally committed as revision 14982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 19:40:53 +00:00
Vladimir Voroshilov
2ccddc0211
Add explicit (int) cast to i386 optimized MUL* macros.
...
Wrong result is returned when 16-bit value is passed as value.
Also fixes "Warning: using `%edx' instead of `%dx' due to `l' suffix".
Originally committed as revision 14981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 19:38:17 +00:00
Vladimir Voroshilov
51f2a119cb
(cosmetics) Remove incorrect comment.
...
Originally committed as revision 14980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 18:06:07 +00:00
Vladimir Voroshilov
f5e177f852
(cosmetics) Describe for which tests clipping is required.
...
Originally committed as revision 14979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 16:47:31 +00:00
Vladimir Voroshilov
1b8a36d728
(cosmetics) Remove wrong comments.
...
Originally committed as revision 14977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 16:41:23 +00:00
Vladimir Voroshilov
ef1bc972dd
(cosmetics) Align comments consistently.
...
Originally committed as revision 14974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 07:13:43 +00:00
Vladimir Voroshilov
7ad909bd59
Another set of definitions for G.729
...
Originally committed as revision 14973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 07:10:38 +00:00
Michael Niedermayer
2ad0d96a24
Replace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
...
quickest way to find out if it is needed.
Originally committed as revision 14970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 22:51:47 +00:00
Luca Barbato
9ac78726b8
Missing static in float_to_int16_altivec declaration
...
Originally committed as revision 14967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 16:32:03 +00:00
Bartlomiej Wolowiec
8580314463
Little-endian bitstream writer
...
Originally committed as revision 14965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 08:53:14 +00:00
Alexander E. Patrakov
3fc45bdcf0
fir_32bands_perfect[] contents were mixed, restore original order
...
Patch by Alexander Patrakov ($lastname <whirlpool> gmail.com)
Thread: dcadata.h: fir_32bands_perfect[] is wrong
Originally committed as revision 14964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 06:28:52 +00:00
Måns Rullgård
94cdcece91
ARM: add prefetch function using ARMv5 PLD instruction
...
Originally committed as revision 14962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 02:29:04 +00:00
Måns Rullgård
f1424cfd6d
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
...
Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 01:59:06 +00:00
Justin Ruggles
ffc2b3412c
right shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.
...
Originally committed as revision 14958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 00:15:29 +00:00
Justin Ruggles
c5b930e674
1000l to me. committed to wrong repo. revert last commit.
...
Originally committed as revision 14953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 22:57:25 +00:00
Justin Ruggles
e23e4de3ae
cosmetics: rename some functions from *get_* to *decode_*
...
Originally committed as revision 14952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 22:55:08 +00:00
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
Andreas Öman
f339908843
The comment about channel order for AAC 5.1 audio was not correct, fix it.
...
Originally committed as revision 14875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 07:57:51 +00:00
Robert Swain
7d8f3de4a8
Last hunk of the AAC decoder code to be OKed and build system and documentation
...
alterations as appropriate
Originally committed as revision 14873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 07:21:26 +00:00
Michael Niedermayer
79de84f263
Provide a simpler way for the user to reorder her timestamps.
...
Originally committed as revision 14871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 23:11:26 +00:00
Diego Biurrun
071083b4a5
Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
...
Now that it is exported, this should avoid confusion and name clashes.
Originally committed as revision 14867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 17:05:14 +00:00
Diego Biurrun
054480a57b
cosmetics: comment spelling/grammar fixes
...
Originally committed as revision 14866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 16:59:26 +00:00
Peter Ross
2cd04cf919
Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars dot taeuber at gmx dot net.
...
Originally committed as revision 14864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 11:05:15 +00:00
Justin Ruggles
ab2a942ad8
cosmetics: indentation
...
Originally committed as revision 14863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 01:02:32 +00:00
Justin Ruggles
bf09b550e6
commit the OKed parts of the E-AC-3 decoder
...
Originally committed as revision 14860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 00:32:17 +00:00
Justin Ruggles
e630027686
get data size based on the actual data array instead of coding-in the calculation
...
Originally committed as revision 14859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 00:15:27 +00:00
Justin Ruggles
8e33132bab
rename AC3_MAX_FRAME_SIZE to AC3_FRAME_BUFFER_SIZE and increase the size
...
Originally committed as revision 14858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 00:08:59 +00:00
Diego Biurrun
0da49fca79
Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.
...
Originally committed as revision 14851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 20:52:26 +00:00
Mathieu Malaterre
7942269b71
cosmetics: s/const static/static const/g
...
patch by Mathieu Malaterre, mathieu.malaterre gmail com
Originally committed as revision 14850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 20:04:46 +00:00
Jai Menon
833e90ddf5
Update changelog and general.texi to reflect
...
addition of the alac encoder, add Jai Menon
to MAINTAINERS and bump LIBAVCODEC_VERSION_MINOR.
Originally committed as revision 14849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 19:25:00 +00:00
Jai Menon
a1ab56c5a8
alacenc: compare against ALAC_MAX_LPC_ORDER instead of MAX_LPC_ORDER
...
Originally committed as revision 14847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 18:45:00 +00:00
Jai Menon
e13894e80e
alacenc: last few hunks approved by michael
...
Originally committed as revision 14845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 17:20:41 +00:00
Ramiro Polla
cc940caf4d
alacenc: Use user-specified min and max prediction order.
...
Originally committed as revision 14844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:12:05 +00:00
Ramiro Polla
0d962ecb70
Import more OKed parts of ALAC encoder from GSoC repo.
...
Originally committed as revision 14843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:07:58 +00:00
Roman Shaposhnik
c89cb5894e
Making block size in bits variable and dependent on the DV spec
...
Originally committed as revision 14842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:02:43 +00:00
Roman Shaposhnik
713c1aa9a6
Making the number of blocks per macroblock dependent on the DV stream
...
specification
Originally committed as revision 14841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:01:41 +00:00
Roman Shaposhnik
cb879ec2fb
Introducing DV_MAX_BPM macro instead of a hardcoded value for the
...
highest number of blocks per macroblock
Originally committed as revision 14840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:00:26 +00:00
Peter Ross
143a5d6f1f
Add F64BE, F64LE and F64BE PCM codecs.
...
Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:43:47 +00:00
Peter Ross
e06b00f3b6
Add SAMPLE_FMT_DBL.
...
Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:36:30 +00:00
Peter Ross
4efbd75583
Fix PCM_S16LE_PLANAR channel-address calculation bug introduced in r14659.
...
Originally committed as revision 14831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:17:29 +00:00
Diego Biurrun
6ec87fbd92
Mark init_vlcs function as av_cold.
...
Originally committed as revision 14830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 08:55:40 +00:00
Robert Swain
1dece0d2cd
More OKed AAC decoder code hunks
...
Originally committed as revision 14829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 21:36:58 +00:00
Robert Swain
c7f4d983a4
More OKed AAC decoder code hunks
...
Originally committed as revision 14828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 19:39:08 +00:00
Peter Ross
97ceb75218
Mark SAMPLE_FMT_S24 as deprecated.
...
Originally committed as revision 14823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 12:03:59 +00:00
Kostya Shishkov
bf689db069
Add okayed chunks of AAC encoder psychoacoustic model
...
Originally committed as revision 14822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 05:39:44 +00:00
Kostya Shishkov
b54bf2d6eb
Add okayed parts for AAC encoder
...
Originally committed as revision 14821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 05:38:26 +00:00
Ramiro Polla
ca04826627
Import more ok'd parts of ALAC encoder from GSoC repo.
...
Originally committed as revision 14820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 22:47:40 +00:00
Justin Ruggles
46dd2738ae
remove some unneeded header includes
...
Originally committed as revision 14819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:56:28 +00:00
Diego Biurrun
ee8cc834ae
Add missing header includes to fix 'make checkheaders'.
...
Originally committed as revision 14817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:26:13 +00:00
Justin Ruggles
ec0350c983
use LFG instead of Mersenne Twister for AC-3 PRNG
...
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 17:41:48 +00:00
Diego Biurrun
defa0cd6f5
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
2008-08-17 17:08:25 +00:00
Justin Ruggles
f1f373c220
fix and simplify frame size check and reencoding in verbatim mode
...
Originally committed as revision 14811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:10:46 +00:00
Ramiro Polla
83e92ab6b8
alacenc: NULL_IF_CONFIG_SMALL long_name.
...
Originally committed as revision 14801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 12:25:01 +00:00
Vladimir Voroshilov
5209846850
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
2008-08-17 08:43:37 +00:00
Kostya Shishkov
720d52c678
More okayed chunks of AAC encoder
...
Originally committed as revision 14799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 07:04:11 +00:00
Ramiro Polla
6b93147684
Import ok'd parts of ALAC encoder from GSoC repo.
...
Originally committed as revision 14798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 04:36:06 +00:00
Justin Ruggles
38c1a5c4d9
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
2008-08-16 22:42:59 +00:00
Justin Ruggles
81fc8a63c5
use range of lpc orders in ORDER_METHOD_EST
...
Originally committed as revision 14796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 21:39:09 +00:00
Justin Ruggles
9045f5e72d
cosmetics: adjust line breaks and vertical alignment
...
Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 21:32:03 +00:00
Justin Ruggles
56c07e2989
use limited range of lpc orders when quantizing coefficients
...
Originally committed as revision 14794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 21:24:06 +00:00
Ramiro Polla
e9e3c9801e
lpc: cosmetics: vertically align declarations and definitions.
...
Originally committed as revision 14792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 17:28:29 +00:00
Ramiro Polla
c50da3ad6c
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
2008-08-16 17:18:20 +00:00
Ramiro Polla
51c796d012
flacenc: Allow more flexible shift calculation in LPC.
...
Originally committed as revision 14789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 17:03:57 +00:00
Michael Niedermayer
3cffbe090a
Fix rc_eq mem leak.
...
Originally committed as revision 14788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 14:46:31 +00:00
Michael Niedermayer
847d05360b
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
2008-08-16 14:13:49 +00:00
Kostya Shishkov
f5c3eae3cb
Synchronize AAC encoder with renamings in aac.h
...
Originally committed as revision 14786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 11:59:36 +00:00
Kostya Shishkov
817015e4e2
Add approved chunks to AAC encoder
...
Originally committed as revision 14785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 05:47:18 +00:00
Peter Ross
38a1c7f2be
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
2008-08-16 01:25:12 +00:00
Robert Swain
cce540c5e7
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
2008-08-15 10:31:11 +00:00
Robert Swain
9ffd5c1cee
More OKed AAC decoder hunks
...
Originally committed as revision 14774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 08:01:31 +00:00
Robert Swain
848a5815ce
Synchronise AAC decoder code with that from SoC
...
Originally committed as revision 14772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 00:19:14 +00:00
Loren Merritt
2272e04aa7
document some dsp alignments
...
Originally committed as revision 14771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 00:14:07 +00:00
Robert Swain
62a57fae59
More OKed sections of AAC decoder code
...
Originally committed as revision 14770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 00:05:09 +00:00
Robert Swain
47698b83fd
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
2008-08-14 22:12:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
Robert Swain
9edae4ad81
Synchronise code with AAC decoder in SoC
...
Originally committed as revision 14695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 11:22:48 +00:00
Robert Swain
9cc04edff9
More OKed hunks of the AAC decoder from SoC
...
Originally committed as revision 14694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 11:16:06 +00:00
Roman Shaposhnik
3f66d16821
Fixing the units in DV50 tables (both coordinates are
...
supposed to be in units of 8 pixels) and simplifying
the calculations of y_ptr and c_offset.
Originally committed as revision 14693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 10:14:46 +00:00
Peter Ross
5e8ecfde50
Apply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.
...
Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 09:52:17 +00:00
Roman Shaposhnik
d557838cfb
Coalescing the un-weighting and de-quantization steps for faster
...
processing
Originally committed as revision 14691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 09:35:58 +00:00
Kostya Shishkov
76c655fb8f
Simplify colour conversion in Fraps as suggested by Michael
...
Originally committed as revision 14690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 05:11:05 +00:00
Michael Niedermayer
2967101173
The deblock filter does not need all the intra availability stuff so do
...
not recalculate it.
Originally committed as revision 14689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 03:08:02 +00:00
Michael Niedermayer
faa7e39466
Simplify constrained_intra_pred code in fill_caches().
...
Originally committed as revision 14688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 02:52:14 +00:00
Michael Niedermayer
d1d10e9125
Support MBAFF + constrained intra prediction.
...
(no i would not have tried to implement this had i known what mess it is)
fixes at least:
CAMACI3_Sony_C
Originally committed as revision 14687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 02:21:33 +00:00
Robert Swain
697c7cd44b
Bump minor version as av_log_missing_feature() was added to public API in
...
r14685
Originally committed as revision 14686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 22:18:46 +00:00
Justin Ruggles
ea779d91ca
Add a generic function to lavc to log messages about missing features.
...
Patch by Justin Ruggles (justin ruggles gmail com)
Originally committed as revision 14685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 20:29:43 +00:00
Kostya Shishkov
af1761915b
R and B components are stored as a differences to G component in Fraps v5.
...
This fixes roundup issue 574.
Originally committed as revision 14684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 18:15:38 +00:00
Michael Niedermayer
beca9a286c
Mask bits of reference indexes properly to avoid negative numbers entangling
...
each other.
Fixes at least:
CAMA1_TOSHIBA_B
cama1_vtc_c
CAMA3_Sand_E
cama3_vtc_b
CAMASL3_Sony_B
CVMA1_TOSHIBA_B
CVMAQP3_Sony_D
cvmp_mot_mbaff0_full_B
FRExt/HCAMFF1_HHI
FRExt/HCHP3_HHI_A
FRExt/HVLCMFF0_Sony_B
Originally committed as revision 14683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 16:10:39 +00:00
Michael Niedermayer
e248cb601e
Remove a few more lines of unneeded code in fill_caches() for MBAFF.
...
Also document why the remaining related part is apparently needed.
Originally committed as revision 14682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 15:39:46 +00:00
Michael Niedermayer
d50cdd82de
Use the correct reference tables for interlaced MBAFF MBs in the loop filter.
...
Fixes at least
CAMP_MOT_MBAFF_L30
CAMP_MOT_MBAFF_L31
FRExt/FREXT01_JVC_D
Originally committed as revision 14680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 02:38:51 +00:00
Michael Niedermayer
0281d32550
Do not execute the part of fill_caches() for the loopfilter that overwrites
...
reference indexes and motion vectors.
Fixes at least:
CVMAQP2_Sony_G
Originally committed as revision 14678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 00:38:41 +00:00
Michael Niedermayer
3d11b8ce13
Remove more code that has become useless after the pairless MBAFF loop
...
filter cleanup.
Originally committed as revision 14676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-09 18:11:25 +00:00
Robert Swain
cc0591dab0
Sync already committed code with that in SoC and commit more OKed hunks of code
...
Originally committed as revision 14674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-09 10:46:27 +00:00
Michael Niedermayer
5f7f9719ac
Remove odd pairwise deblock filtering applied to MBAFF MBs.
...
Originally committed as revision 14673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-09 01:17:34 +00:00
Stefano Sabatini
96afa6be0b
Doxygenate avcodec_version().
...
Originally committed as revision 14666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:34:27 +00:00
Baptiste Coudurier
ec7e2582ae
fix 4:2:2 psnr
...
Originally committed as revision 14662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 02:56:44 +00:00
Peter Ross
3ee573a300
Add simpler/cleaner/faster F32BE encoding/decoding.
...
Originally committed as revision 14660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 09:32:10 +00:00
Peter Ross
ff66caab40
Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".
...
Originally committed as revision 14659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 09:23:56 +00:00
Peter Ross
13dbd9b705
Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds when input sample values are < 0.
...
Originally committed as revision 14658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 08:16:42 +00:00
Vitor Sessak
b888abe1be
Cosmetics: rename loop counters in eval_refl()
...
Originally committed as revision 14653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 21:19:30 +00:00
Vitor Sessak
bdb34c9f5e
Simplify eval_refl(): do not store a buffer value in a var when the buffer could be used directly
...
Originally committed as revision 14652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 21:16:24 +00:00
Vitor Sessak
aa425ada54
Simplify eval_refl(): s/b == 0/!b/
...
Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 21:04:40 +00:00
Vitor Sessak
40812fdcf1
Simplify range checking in eval_refl(). Before the
...
condition b == 0 could never be true, because it would
have already been caught in the previous ifs. Also the
condition b == 0x1000 could never be true (it would
triggered the return).
Originally committed as revision 14650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 21:02:56 +00:00
Vitor Sessak
d70875c81d
Cosmetics: reindent
...
Originally committed as revision 14649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 20:39:28 +00:00
Vitor Sessak
7e05617a5c
Simplify do_output_subblock(): Remove a unneeded memcpy
...
Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 20:38:23 +00:00
Peter Ross
cfc78718f3
Electronic Arts TGV decoder
...
Originally committed as revision 14642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 08:33:25 +00:00
Vitor Sessak
c0f0b34bba
Simplify eval_refl(): return directly when needed instead of storing the return value in a variable
...
Originally committed as revision 14640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 05:24:21 +00:00
Vitor Sessak
2f1cad0e58
Simplify rms(): merge a few operations in the same statement
...
Originally committed as revision 14639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 05:11:46 +00:00