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
17 years ago
Vitor Sessak
aa425ada54
Simplify eval_refl(): s/b == 0/!b/
...
Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Vitor Sessak
d70875c81d
Cosmetics: reindent
...
Originally committed as revision 14649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
7e05617a5c
Simplify do_output_subblock(): Remove a unneeded memcpy
...
Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Vitor Sessak
b4d46e8c06
Cosmetical simplification in t_sqrt()
...
Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
438abdaaeb
Check available size before writing in decode_frame()
...
Originally committed as revision 14637 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6c9c8b06b3
Cosmetics: rename loop counter vars to i,j
...
Originally committed as revision 14467 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
fe4a5b185f
Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one
...
Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b83ff6c700
Update copyright
...
Originally committed as revision 14030 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
95fc77b92d
Use ff_acelp_lp_synthesis_filter() instead of duplicating it
...
Originally committed as revision 14029 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
dc95111c09
Doxy comment
...
Originally committed as revision 14026 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
afb40e7277
Simplify interp()
...
Originally committed as revision 13953 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
74adaa3a00
More cosmetics
...
Originally committed as revision 13952 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a97642680b
Cosmetics
...
Originally committed as revision 13951 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
73cc419b27
Use lpc_coef[2] instead of lpc_coef and lpc_coef_old
...
Originally committed as revision 13946 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
ae70f874ba
Remove unused entries from lpc_refl_cb*
...
Originally committed as revision 13945 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
7986199fcf
Remove unused entries from energy_tab
...
Originally committed as revision 13944 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
738ef8fd08
Merge the >> 4 calculation of cb1_base in the table
...
Originally committed as revision 13935 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
80e9f30c23
Consistency: make the output buffer the first argument of functions
...
Originally committed as revision 13934 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
0a03b6f049
Use sizeof() intead of hardcoding the values
...
Originally committed as revision 13933 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
09addb11ce
Simplify
...
Originally committed as revision 13932 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f1936f61c4
Simplify
...
Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b45411e24a
It makes more sense to return 1 here in case of overflow.
...
Originally committed as revision 13930 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
37a4b3bb02
Cosmetics: indent
...
Originally committed as revision 13929 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b0068d75eb
Remove unneeded check
...
Originally committed as revision 13928 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
56a6fac89b
rescale_rms() should use unsigned ints
...
Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
536ee17499
Move factor multiplication out of irms()
...
Originally committed as revision 13926 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
498cb53163
This should be signed
...
Originally committed as revision 13925 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
94be3bb50a
More comments removal/fixes
...
Originally committed as revision 13924 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
42b1459439
Remove useless comment
...
Originally committed as revision 13923 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d1024e0719
More comments improvement
...
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c17fd98cdc
Document defines better
...
Originally committed as revision 13921 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c31333e107
Remove useless define
...
Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
51062b926b
Rename rotate_buffer() to copy_and_dup() and doxy it
...
Originally committed as revision 13919 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
70e708677e
Simplify t_sqrt()
...
Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
89a2713e66
Add doxy comment
...
Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3890a13173
Rename var
...
Originally committed as revision 13916 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d5d3536dcb
Move code unrelated to lpc filtering out of lpc_filter()
...
Originally committed as revision 13915 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5983d1c480
Simplify rotate_buffer()
...
Originally committed as revision 13914 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9acd41a4e2
Cosmetics
...
Originally committed as revision 13898 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d488e906f2
Avoid a memcpy. Code is also simpler now in my opinion.
...
The downside is making the context bigger.
Originally committed as revision 13897 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
072f66c980
Do not write junk in the end of truncated files. FATE
...
ra144 test will probably need to be updated.
Originally committed as revision 13839 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5116b92d71
Misc cosmetics
...
Originally committed as revision 13830 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e77825786e
Remove useless comment
...
Originally committed as revision 13829 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
509f8ea270
Last table renaming
...
Originally committed as revision 13828 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b845df113c
Yet more table renaming
...
Originally committed as revision 13827 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago