Commit Graph

6766 Commits

Author SHA1 Message Date
Vitor Sessak
9d3c35fcfc Use (u)int16_t instead of (unsigned) short
Originally committed as revision 13400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:00:13 +00:00
Justin Ruggles
cf03a8173a set audio parameters if frame header is ok, even if crc fails
Originally committed as revision 13399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:54:17 +00:00
Justin Ruggles
3336110acf cosmetics: indent
Originally committed as revision 13398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:06:01 +00:00
Justin Ruggles
ecfe94b294 add error concealment
Originally committed as revision 13397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:05:15 +00:00
Vitor Sessak
6477a940f6 Yet more cosmetics
Originally committed as revision 13396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:06:14 +00:00
Vitor Sessak
6fc4fac06c More cosmetics
Originally committed as revision 13395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:04:42 +00:00
Vitor Sessak
b906a5e3b7 Cosmetics
Originally committed as revision 13394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:58:25 +00:00
Vitor Sessak
f8b5f7c71d Rename var
Originally committed as revision 13393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:53:55 +00:00
Vitor Sessak
ac1c27b21c Minor simplification of dec1()
Originally committed as revision 13392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:52:14 +00:00
Vitor Sessak
4bf8f3029b Minor simplification of dec2()
Originally committed as revision 13391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:50:08 +00:00
Vitor Sessak
c62c628fb3 Remove useless variable
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:46:05 +00:00
Vitor Sessak
14ff7cceeb Cosmetics: merge declaration and initialization
Originally committed as revision 13389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:44:56 +00:00
Vitor Sessak
cdc15adf16 Cosmetics: braces removal
Originally committed as revision 13388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:42:31 +00:00
Vitor Sessak
58e23a5f21 Move evaluation of variable a to where it is trivial
Originally committed as revision 13387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:29:07 +00:00
Vitor Sessak
d6ff684b12 Make add_wav() receive a vector instead of three integers
Originally committed as revision 13386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:27:33 +00:00
Justin Ruggles
93a2c8c14f cosmetics: indent
Originally committed as revision 13385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:20:06 +00:00
Justin Ruggles
43ad93a4f1 10l: fix error in commit r13382
Originally committed as revision 13384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:19:44 +00:00
Vitor Sessak
8916d922fc Remove gbuf2 from context
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:10:08 +00:00
Justin Ruggles
82a591d8d1 add checks for missing information in the first block
Originally committed as revision 13382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:34:48 +00:00
Justin Ruggles
3af9131398 add check for invalid channel mode when coupling is used
Originally committed as revision 13381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:23:03 +00:00
Michael Niedermayer
5b0e7dacd8 Fix MB skipping with droppable frames.
Fixes issue323.

Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Michael Niedermayer
16e30b7a04 Do not reject odd width/height.
Fixes issue371.

Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:31:07 +00:00
Vitor Sessak
d7dc90e42d Use (u)int16_t instead of short for tables
Originally committed as revision 13376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:26:04 +00:00
Vitor Sessak
0a08273542 Make tables that fit in one byte (u)int8_t
Originally committed as revision 13375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:25:10 +00:00
Vitor Sessak
cb24827f4d Remove yet another val (gbuf1) from context
Originally committed as revision 13374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:23:27 +00:00
Vitor Sessak
94e79f0949 Parameter n of dec functions is always 3. Hardcode it.
Originally committed as revision 13373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:22:56 +00:00
Michael Niedermayer
0c5421585a Move const *pow2tab out of context.
Originally committed as revision 13366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:31:44 +00:00
Michael Niedermayer
158bf33e36 simplify init_pow2table
Originally committed as revision 13365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:28:33 +00:00
Michael Niedermayer
40756c172c Merge init_rootpow2table and init_pow2table.
Originally committed as revision 13364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:23:16 +00:00
Vitor Sessak
a6072fdc18 Indent
Originally committed as revision 13362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:52:50 +00:00
Vitor Sessak
ae76c49908 Remove another useless variable from context
Originally committed as revision 13361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:51:56 +00:00
Vladimir Voroshilov
d347a046e2 Move pitch vector interpolation code to acelp_filters
and convert it to a generic interpolation routine.

Originally committed as revision 13284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 17:18:42 +00:00
Vitor Sessak
13b6729361 Use an intermediate variable for overflow testing
Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 16:38:48 +00:00
Vitor Sessak
84490b744e Handle the case where we do not have enough input
Originally committed as revision 13282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 16:20:37 +00:00
Michael Niedermayer
9d2e6e84ce Anoter try to make +- behave sanely.
Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:58:20 +00:00
Vitor Sessak
be2c232f43 Simplify eq()
Originally committed as revision 13278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:33:00 +00:00
Vitor Sessak
2279dd9e41 Simplify final()
Originally committed as revision 13277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:20:09 +00:00
Vitor Sessak
0853393979 Simplify rms()
Originally committed as revision 13276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:19:21 +00:00
Vitor Sessak
c2c237a0d5 More simplifications of ra144_decode_frame()
Originally committed as revision 13275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:17:30 +00:00
Vitor Sessak
d548f09ff6 Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:15:01 +00:00
Carl Eugen Hoyos
d1845b4c84 Fix compilation for buggy icc.
Originally committed as revision 13273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 07:19:12 +00:00
Vladimir Voroshilov
5b2729cd0b adaptive and fixed codebook vector operations for ACELP-based codecs
Originally committed as revision 13244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 03:10:27 +00:00
Michael Niedermayer
4a13a2d4f7 Fix + - bug with non flags.
Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 00:29:21 +00:00
Benjamin Larsson
d311f8f3e3 Update copyright and text
Originally committed as revision 13239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:42:02 +00:00
Maxim Poliakovski
9d278d8859 Fix decoding of 01-Untitled(1).oma, patch by Maxim Poliakovski
Originally committed as revision 13238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:16:28 +00:00
Vitor Sessak
afe359c110 Make gbuf2 a table instead of an array
Originally committed as revision 13221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:24:17 +00:00
Vitor Sessak
53da3f5f92 Remove unneeded var from context
Originally committed as revision 13220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:23:15 +00:00
Stefano Sabatini
cad2af9760 Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 17:50:42 +00:00
Vitor Sessak
3ceac114ee Cosmetics: indentation
Originally committed as revision 13216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:53:20 +00:00
Vitor Sessak
c32985829a Simplify irms()
Originally committed as revision 13215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:43:33 +00:00