summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_imaadpcm.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r30463Uoti Urpala2010-03-091-16/+33
|\ | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-16/+33
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29412Uoti Urpala2009-07-071-2/+2
|\|
| * Initialize local variable, avoids a possible crash due to using anreimar2009-06-011-2/+2
| | | | | | | | | | | | | | uninitialized variable as array index for mono files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29339 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-6/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-5/+5
| |
* | Merge svn changes up to r27281Uoti Urpala2008-07-151-9/+5
|\|
| * Make really sure channels can only be 1 or 2 for imaadpcmreimar2008-07-111-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27262 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify imaadpcm return statementreimar2008-07-111-2/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27261 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unused macrosreimar2008-07-111-4/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27253 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Explicitly include inttypes.h in ad_imaadpcmreimar2008-07-111-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27252 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27202Uoti Urpala2008-07-051-1/+0
|\|
| * Remove unused variable.diego2008-07-021-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27185 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27184Uoti Urpala2008-07-011-102/+56
|\|
| * Half size for adpcm_indexreimar2008-06-291-4/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27153 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify predictor updatesreimar2008-06-291-9/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27152 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Get rid of 16-bit sign extension macroreimar2008-06-291-9/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27151 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify some imaadpcm macrosreimar2008-06-291-4/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27150 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Directly pass arrays into decode_nibblesreimar2008-06-291-16/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27149 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use smaller types for tablesreimar2008-06-291-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27148 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make imaadpcm tables constreimar2008-06-291-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27147 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify code to read index/predictorreimar2008-06-291-57/+28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27146 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a few size checks to IMA decoder. The code is still a mess though,reimar2008-06-291-0/+12
| | | | | | | | | | | | | | but bug # 1114 is probably fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27145 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify ad_imaadpcm decode_audio functionreimar2008-06-291-16/+10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27144 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make audio decoder description structs constUoti Urpala2008-04-261-1/+1
|/ | | | | | Make the per-decoder struct ad_functions and its ->info struct constants. Same for the mpcodecs_ad_drivers[] table of pointers to those structs.
* 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
* fix illegal readreimar2005-06-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15787 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: you have 2 nibbles per byte, don't divide byte count by 2rtognimp2003-09-031-1/+1
| | | | | | | | Fixes samples/ima_adpcm_stutter/IMAG0006.AVI and another wav file i have. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10809 b3059339-0415-0410-9bf9-f77b7e298cf2
* ms\0x00\x11 supportalex2002-11-041-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8104 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
* 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-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5459 b3059339-0415-0410-9bf9-f77b7e298cf2
* reworked ADPCM decoders; changes include:melanson2002-03-301-18/+333
| | | | | | | | | | * 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
* imported from MPlayerXP, dlopen() hack removed, some bugs fixed, interface ↵arpi2002-03-251-0/+59
functions changed to static, info->author field added git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5341 b3059339-0415-0410-9bf9-f77b7e298cf2