Vitor Sessak
5af20c207e
Remove an useless comment describing colmult()
...
Originally committed as revision 14416 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d899014ee2
Remove an useless comment describing prodsum()
...
Originally committed as revision 14415 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
952a980d75
Give the context variables of ra288 a better name: s/glob/ractx/
...
Originally committed as revision 14414 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
029e1c01b5
Give the context structure of ra288 a better name: s/Real288_internal/RA288Context/
...
Originally committed as revision 14413 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a53b545068
Cosmetics: grammar nits
...
Originally committed as revision 14368 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2477d60944
Rename update() function to backward_filter() and add a doxy comment
...
Originally committed as revision 14364 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a6755f8d53
Rename and comment bandwidth broadening tables
...
(s/table1a/syn_bw_tab/, s/table2a/gain_bw_tab/).
Originally committed as revision 14363 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5e65f5df0e
Follow FFmpeg convention of returning negative values on error in eval_lpc_coeffs()
...
Originally committed as revision 14362 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a3896c6377
Rename pred() to eval_lpc_coeffs() and add a doxy comment
...
Originally committed as revision 14361 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a0cce1587b
Give windowing tables a more descriptive name
...
(s/table1/syn_window/, s/table2/gain_window/).
Originally committed as revision 14360 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
475d0e1464
Add comments to do_hybrid_window()
...
Originally committed as revision 14359 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
0f72a2b7d3
Give parameters of do_hybrid_window() more meaningful names
...
Originally committed as revision 14358 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
427981c7a6
Rename co() function to the much more descriptive name of
...
do_hybrid_window(). Also change a misleading and wrong comment.
Originally committed as revision 14357 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5ab3d66fe5
Simplify co(): write constant in a more readable way
...
Originally committed as revision 14356 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
bf75ac57b8
Simplify co(), use memcpy/memmove and colmult() when useful.
...
Originally committed as revision 14355 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9f59e608d2
Cosmetics: alignment
...
Originally committed as revision 14304 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3c617380e7
Simplify co(): do not abuse pointer aritmetics
...
Originally committed as revision 14303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6bc5714be6
Simplify co(): remove variables that are only used once
...
Originally committed as revision 14301 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
96e8987e5b
Simplify: do not overuse pointer aritmetic
...
Originally committed as revision 14271 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c52d2da905
Declare parameters of pred() that could be const as such
...
Originally committed as revision 14270 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
efa85e5e45
Another simplification
...
Originally committed as revision 14269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4a51e06bfc
Simplify
...
Originally committed as revision 14268 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
02a1eb9329
Simplify
...
Originally committed as revision 14267 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e4265007a6
Declare function parameters as const
...
Originally committed as revision 14266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
0e3510a31f
Revert r14218. FFMAX is a macro, so
...
sum = FFMAX(1, scalar_product(...));
might calculate the scalar product twice, which is slower.
Originally committed as revision 14230 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b903a9285e
Simplify
...
Originally committed as revision 14218 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3819081f75
Another av_clipf() usage
...
Originally committed as revision 14217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
aa64ee30d1
Do not declare as double a var that only stores a float
...
Originally committed as revision 14216 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
1894db1487
Simplify: use FFMAX
...
Originally committed as revision 14215 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4138ad961c
Add av_clipf() function to common.h and use it in ra288.c
...
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5be30c59da
Simplify: glob->phase is always == 3
...
Originally committed as revision 14094 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f803495415
Remove phasep context var, it is just phase*5
...
Originally committed as revision 14092 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
eb73742d6e
Slighly faster operation
...
Originally committed as revision 14091 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
8edfd15175
Cosmetics: remove braces
...
Originally committed as revision 14089 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a5f0f504df
Another use of scalar_product_float()
...
Originally committed as revision 14088 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a03a6db1af
Do not reimplement memmove()
...
Originally committed as revision 14087 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
647b90ae0e
Cosmetics: remove braces
...
Originally committed as revision 14080 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
7a64649d68
Create a function for float dot product instead of duplicating all over the file
...
Originally committed as revision 14079 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6f1e7a9e09
Write for loops in a more standard way. In my opinion, they are much more readable now.
...
Originally committed as revision 14068 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
69c23e6f33
Move vars declaration to inner loop when possible
...
Originally committed as revision 14066 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
12ea267bca
Simplify
...
Originally committed as revision 14065 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
ab52eb8e50
Remove unneeded var
...
Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
780433976d
Use a matrix instead of a vector
...
Originally committed as revision 14062 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f38deb4452
Remove useless wrapper around ra288_decode_frame()
...
Originally committed as revision 14041 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6091357fc0
Remove unpack() function, read the bitstream as needed
...
Originally committed as revision 14040 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
285ea3e30a
Clean up error message
...
Originally committed as revision 14039 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a40b2c2a4b
Rewrite unpack() using the bitstream reader
...
Originally committed as revision 14038 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4452836391
Move function to avoid forward declaration
...
Originally committed as revision 14036 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c1fadf5012
Remove useless initialization
...
Originally committed as revision 14035 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
eec7ade275
Reindent the whole file
...
Originally committed as revision 14034 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago