Vitor Sessak
218e453a6f
Remove *lpc_refl from the context. Only the value
...
calculated in rms() is actually needed. It also avoid
recalculating it later.
Originally committed as revision 13664 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
11bb2eb003
Split function rms() in two (it does two unrelated things)
...
Originally committed as revision 13663 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
27ee9bcf36
Remove warning that could never be triggered.
...
Thanks Mkhodor for pointing it out.
Originally committed as revision 13629 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2d73e6c8d7
Replace comments by error messages.
...
Thanks to Mkhodor for the tip.
Originally committed as revision 13609 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c2a14bd72e
Cosmetics
...
Originally committed as revision 13608 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a00dc25547
Rename dec2() function
...
Originally committed as revision 13607 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
07aee1a1f9
Rename var
...
Originally committed as revision 13606 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
aa3aaacb07
Rename dec1() to a more descriptive name
...
Originally committed as revision 13605 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
50b8f2cf1c
The function dec1() do two completly unrelated things. Split the rms calculation out of it.
...
Originally committed as revision 13604 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a94701d03c
Yet more variable renaming
...
Originally committed as revision 13599 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d4f0cc1c9f
More variable renaming
...
Originally committed as revision 13598 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
907892ee19
Rename functions
...
Originally committed as revision 13597 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d981252c27
Rename variables
...
Originally committed as revision 13596 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2f7d6835b6
Add doxy comments to eq() and do_voice()
...
Originally committed as revision 13581 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4dc471c30c
Minor simplification
...
Originally committed as revision 13578 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9765b44c50
Rename variable
...
Originally committed as revision 13577 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
208a2a60b9
Remove useless intermediate variable
...
Originally committed as revision 13576 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
27f19ed501
Revert r13499, log:
...
Make lpc coefficients 16 bit wide
Only one of my samples didn't decode bit-exact after this change,
but better be safe than sorry.
Originally committed as revision 13560 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
659094cb6b
Rename variable
...
Originally committed as revision 13510 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5e8782dddf
More intermediate vars removal
...
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
408f43cb36
Remove unused var
...
Originally committed as revision 13506 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
7019f1a510
Remove useless intermediate var
...
Originally committed as revision 13505 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e05f96285e
Remove dec1() function
...
Originally committed as revision 13504 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
31e15894d5
Use ff_acelp_weighted_vector_sum() instead of reimplementing it
...
Originally committed as revision 13500 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
594409a25c
Make lpc coefficients 16 bit wide
...
Originally committed as revision 13499 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
121ec9e55a
Simplify implementation and use of dec2()
...
Originally committed as revision 13498 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d26a180fd6
Add comment
...
Originally committed as revision 13469 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
1fe50db3f2
Fix doxy comments
...
Originally committed as revision 13468 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ae52bbe5de
cosmetics: typo fixes
...
Originally committed as revision 13464 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
30bd40f2f1
cosmetics: typo
...
Originally committed as revision 13443 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6286924461
Rename var: add read coefficients a decent name
...
Originally committed as revision 13435 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e9655b3dcd
Update comment
...
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2a7b6f251c
Rename var: val -> energy
...
Originally committed as revision 13433 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e037baf797
Rename var: swapbuf* are LPC related
...
Originally committed as revision 13432 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f000bfad3d
Rename var: buffer_2 is an adaptive codebook
...
Originally committed as revision 13431 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
17a7fc8ceb
Context vars are not global vars. glob is a bad name for it.
...
Originally committed as revision 13430 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
fc9fcbaed5
Rename context struct to be more consistent with the rest of ffmpeg
...
Originally committed as revision 13429 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5012cf88a3
Merge two if's
...
Originally committed as revision 13401 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9d3c35fcfc
Use (u)int16_t instead of (unsigned) short
...
Originally committed as revision 13400 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6fc4fac06c
More cosmetics
...
Originally committed as revision 13395 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b906a5e3b7
Cosmetics
...
Originally committed as revision 13394 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f8b5f7c71d
Rename var
...
Originally committed as revision 13393 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
ac1c27b21c
Minor simplification of dec1()
...
Originally committed as revision 13392 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4bf8f3029b
Minor simplification of dec2()
...
Originally committed as revision 13391 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c62c628fb3
Remove useless variable
...
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
14ff7cceeb
Cosmetics: merge declaration and initialization
...
Originally committed as revision 13389 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
cdc15adf16
Cosmetics: braces removal
...
Originally committed as revision 13388 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Vitor Sessak
8916d922fc
Remove gbuf2 from context
...
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago