summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
Commit message (Collapse)AuthorAge
* Test a var for overflow just after it is setVitor Sessak2008-09-06
| | | | Originally committed as revision 15223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless parentheses.Vitor Sessak2008-09-06
| | | | Originally committed as revision 15222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename loop counters in eval_refl()Vitor Sessak2008-08-06
| | | | Originally committed as revision 14653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): do not store a buffer value in a var when the buffer ↵Vitor Sessak2008-08-06
| | | | | | could be used directly Originally committed as revision 14652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): s/b == 0/!b/Vitor Sessak2008-08-06
| | | | Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify range checking in eval_refl(). Before theVitor Sessak2008-08-06
| | | | | | | | | 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
* Cosmetics: reindentVitor Sessak2008-08-06
| | | | Originally committed as revision 14649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify do_output_subblock(): Remove a unneeded memcpyVitor Sessak2008-08-06
| | | | Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): return directly when needed instead of storing the ↵Vitor Sessak2008-08-06
| | | | | | return value in a variable Originally committed as revision 14640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify rms(): merge a few operations in the same statementVitor Sessak2008-08-06
| | | | Originally committed as revision 14639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetical simplification in t_sqrt()Vitor Sessak2008-08-06
| | | | Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check available size before writing in decode_frame()Vitor Sessak2008-08-06
| | | | Originally committed as revision 14637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename loop counter vars to i,jVitor Sessak2008-07-29
| | | | Originally committed as revision 14467 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter ↵Vitor Sessak2008-06-29
| | | | | | coefficients and not the pointer minus one Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update copyrightVitor Sessak2008-06-29
| | | | Originally committed as revision 14030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_acelp_lp_synthesis_filter() instead of duplicating itVitor Sessak2008-06-29
| | | | Originally committed as revision 14029 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Doxy commentVitor Sessak2008-06-29
| | | | Originally committed as revision 14026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify interp()Vitor Sessak2008-06-24
| | | | Originally committed as revision 13953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More cosmeticsVitor Sessak2008-06-24
| | | | Originally committed as revision 13952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CosmeticsVitor Sessak2008-06-24
| | | | Originally committed as revision 13951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use lpc_coef[2] instead of lpc_coef and lpc_coef_oldVitor Sessak2008-06-24
| | | | Originally committed as revision 13946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused entries from lpc_refl_cb*Vitor Sessak2008-06-24
| | | | Originally committed as revision 13945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused entries from energy_tabVitor Sessak2008-06-24
| | | | Originally committed as revision 13944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the >> 4 calculation of cb1_base in the tableVitor Sessak2008-06-23
| | | | Originally committed as revision 13935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consistency: make the output buffer the first argument of functionsVitor Sessak2008-06-23
| | | | Originally committed as revision 13934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use sizeof() intead of hardcoding the valuesVitor Sessak2008-06-23
| | | | Originally committed as revision 13933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SimplifyVitor Sessak2008-06-23
| | | | Originally committed as revision 13932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SimplifyVitor Sessak2008-06-23
| | | | Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* It makes more sense to return 1 here in case of overflow.Vitor Sessak2008-06-23
| | | | Originally committed as revision 13930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indentVitor Sessak2008-06-23
| | | | Originally committed as revision 13929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded checkVitor Sessak2008-06-23
| | | | Originally committed as revision 13928 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rescale_rms() should use unsigned intsVitor Sessak2008-06-23
| | | | Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move factor multiplication out of irms()Vitor Sessak2008-06-23
| | | | Originally committed as revision 13926 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This should be signedVitor Sessak2008-06-23
| | | | Originally committed as revision 13925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More comments removal/fixesVitor Sessak2008-06-23
| | | | Originally committed as revision 13924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless commentVitor Sessak2008-06-23
| | | | Originally committed as revision 13923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More comments improvementVitor Sessak2008-06-23
| | | | Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document defines betterVitor Sessak2008-06-23
| | | | Originally committed as revision 13921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless defineVitor Sessak2008-06-23
| | | | Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename rotate_buffer() to copy_and_dup() and doxy itVitor Sessak2008-06-23
| | | | Originally committed as revision 13919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify t_sqrt()Vitor Sessak2008-06-23
| | | | Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add doxy commentVitor Sessak2008-06-23
| | | | Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename varVitor Sessak2008-06-23
| | | | Originally committed as revision 13916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move code unrelated to lpc filtering out of lpc_filter()Vitor Sessak2008-06-23
| | | | Originally committed as revision 13915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify rotate_buffer()Vitor Sessak2008-06-23
| | | | Originally committed as revision 13914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CosmeticsVitor Sessak2008-06-22
| | | | Originally committed as revision 13898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid a memcpy. Code is also simpler now in my opinion.Vitor Sessak2008-06-22
| | | | | | The downside is making the context bigger. Originally committed as revision 13897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not write junk in the end of truncated files. FATEVitor Sessak2008-06-20
| | | | | | ra144 test will probably need to be updated. Originally committed as revision 13839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Misc cosmeticsVitor Sessak2008-06-19
| | | | Originally committed as revision 13830 to svn://svn.ffmpeg.org/ffmpeg/trunk