summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_msadpcm.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify and clamp coefficient index for MS ADPCMreimar2008-07-121-12/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27270 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix MS ADPCM decoding for e.g. ↵reimar2008-07-121-1/+1
| | | | | | | | | http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov First coefficient array must be unsigned to fit in 8 bits git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check length of input buffer for msadpcmreimar2008-07-111-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a comment on shift vs. divisionreimar2008-07-111-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Scale msadpcm coefficients to fit into 8 bitsreimar2008-07-111-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27258 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify ad_msadpmc.c: Use AV_RL16, merge sign extension into LE_16 read andreimar2008-07-111-9/+2
| | | | | | | | use (int16_t) to let the compiler do the sign extension. Reduces code size on x86_64, gcc 4.3.1 by 248 bytes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Copy macro simplification from imaadpcm to msadpcmreimar2008-07-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27256 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless comments from ad_msadpcmreimar2008-07-111-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27255 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make msadpcm arrays constreimar2008-07-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not #include libavutil/common.h. It is not used directly and mpbswap.hdiego2008-04-011-1/+0
| | | | | | | now #includes all required headers on its own. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting samplesize to 2 in decoders where neccessary.reimar2004-09-211-0/+1
| | | | | | | | Needed because initialization of sh_audio was moved from dec_audio to demuxer.c, and some demuxers set samplesize incorrect or to 0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13428 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l - Michael is right, we don't need le2me herearpi2002-10-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7894 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2002-10-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7891 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed unaligned access (bus error on sparc)arpi2002-10-231-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7889 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-1/+0
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* bugfix by Keiki SATOH <kki@wakusei.ne.jp>arpi2002-06-291-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6610 b3059339-0415-0410-9bf9-f77b7e298cf2
* control() donearpi2002-04-031-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5482 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio input buffer allocation/free cleanuparpi2002-04-011-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5459 b3059339-0415-0410-9bf9-f77b7e298cf2
* reworked ADPCM decoders; changes include:melanson2002-03-301-5/+143
| | | | | | | | | | * fixed MS IMA ADPCM * dissolved adpcm.c/.h into appropriate ad_* decoders * DK4 audio is handled directly by IMA ADPCM decoder (this obsoletes ad_dk4adpcm.c) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5409 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed so the decoder cooperates better with the rest of the systemmelanson2002-03-261-19/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5351 b3059339-0415-0410-9bf9-f77b7e298cf2
* imported from MPlayerXP, dlopen() hack removed, some bugs fixed, interface ↵arpi2002-03-251-0/+62
functions changed to static, info->author field added git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5341 b3059339-0415-0410-9bf9-f77b7e298cf2