Commit Graph

155 Commits

Author SHA1 Message Date
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
2008-06-29 21:37:03 +00:00
Vitor Sessak b83ff6c700 Update copyright
Originally committed as revision 14030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 13:12:31 +00:00
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
2008-06-29 11:21:06 +00:00
Vitor Sessak dc95111c09 Doxy comment
Originally committed as revision 14026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 07:58:46 +00:00
Vitor Sessak afb40e7277 Simplify interp()
Originally committed as revision 13953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 21:32:34 +00:00
Vitor Sessak 74adaa3a00 More cosmetics
Originally committed as revision 13952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 21:30:09 +00:00
Vitor Sessak a97642680b Cosmetics
Originally committed as revision 13951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 21:29:18 +00:00
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
2008-06-24 18:38:55 +00:00
Vitor Sessak ae70f874ba Remove unused entries from lpc_refl_cb*
Originally committed as revision 13945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 18:13:44 +00:00
Vitor Sessak 7986199fcf Remove unused entries from energy_tab
Originally committed as revision 13944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 18:06:30 +00:00
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
2008-06-23 21:10:59 +00:00
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
2008-06-23 21:00:28 +00:00
Vitor Sessak 0a03b6f049 Use sizeof() intead of hardcoding the values
Originally committed as revision 13933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:53:05 +00:00
Vitor Sessak 09addb11ce Simplify
Originally committed as revision 13932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:46:42 +00:00
Vitor Sessak f1936f61c4 Simplify
Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:44:58 +00:00
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
2008-06-23 20:42:36 +00:00
Vitor Sessak 37a4b3bb02 Cosmetics: indent
Originally committed as revision 13929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:39:28 +00:00
Vitor Sessak b0068d75eb Remove unneeded check
Originally committed as revision 13928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:39:09 +00:00
Vitor Sessak 56a6fac89b rescale_rms() should use unsigned ints
Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:37:53 +00:00
Vitor Sessak 536ee17499 Move factor multiplication out of irms()
Originally committed as revision 13926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:35:02 +00:00
Vitor Sessak 498cb53163 This should be signed
Originally committed as revision 13925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:33:31 +00:00
Vitor Sessak 94be3bb50a More comments removal/fixes
Originally committed as revision 13924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:28:00 +00:00
Vitor Sessak 42b1459439 Remove useless comment
Originally committed as revision 13923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:26:57 +00:00
Vitor Sessak d1024e0719 More comments improvement
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:26:24 +00:00
Vitor Sessak c17fd98cdc Document defines better
Originally committed as revision 13921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:24:06 +00:00
Vitor Sessak c31333e107 Remove useless define
Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:20:29 +00:00
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
2008-06-23 20:18:51 +00:00
Vitor Sessak 70e708677e Simplify t_sqrt()
Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:13:07 +00:00
Vitor Sessak 89a2713e66 Add doxy comment
Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:12:12 +00:00
Vitor Sessak 3890a13173 Rename var
Originally committed as revision 13916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:06:36 +00:00
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
2008-06-23 20:05:42 +00:00
Vitor Sessak 5983d1c480 Simplify rotate_buffer()
Originally committed as revision 13914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 19:59:42 +00:00
Vitor Sessak 9acd41a4e2 Cosmetics
Originally committed as revision 13898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 20:10:16 +00:00
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
2008-06-22 20:09:13 +00:00
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
2008-06-20 20:46:07 +00:00
Vitor Sessak 5116b92d71 Misc cosmetics
Originally committed as revision 13830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:51:56 +00:00
Vitor Sessak e77825786e Remove useless comment
Originally committed as revision 13829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:48:00 +00:00
Vitor Sessak 509f8ea270 Last table renaming
Originally committed as revision 13828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:43:34 +00:00
Vitor Sessak b845df113c Yet more table renaming
Originally committed as revision 13827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:36:23 +00:00
Vitor Sessak a632f44e81 More table renaming
Originally committed as revision 13825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:31:34 +00:00
Vitor Sessak a2d10dd8d8 Rename table
Originally committed as revision 13824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:28:28 +00:00
Vitor Sessak 98cc8e184a Rename vars: s/decsp/out/
Originally committed as revision 13823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:37:51 +00:00
Vitor Sessak ea4b696605 Rename function
Originally committed as revision 13822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:35:59 +00:00
Vitor Sessak bba35fda77 Rename var
Originally committed as revision 13821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:34:38 +00:00
Stefano Sabatini fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:50:13 +00:00
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
2008-06-05 16:15:44 +00:00
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
2008-06-05 16:11:51 +00:00
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
2008-06-02 18:29:04 +00:00
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
2008-06-01 19:51:33 +00:00
Vitor Sessak c2a14bd72e Cosmetics
Originally committed as revision 13608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:54 +00:00