Vladimir Voroshilov
94d9633a32
Replace "signed short" typecast with "int16_t" as suggested by
...
Mans Rullgard. Value at the right side is 16 bit length signed.
We can not know for sure that short is in fact 16 bits, even if
this virtually always is the case.
Originally committed as revision 10666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 15:13:42 +00:00
Vladimir Voroshilov
330194b9ce
Fix audio clicks in ADPCM IMA AMV by casting predictor as "signed short"
...
Initialize step_index as int16_t (as multimedia wiki says).
Originally committed as revision 10657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 19:32:57 +00:00
Vitor Sessak
3a7f5d072a
AMV audio decoder
...
Originally committed as revision 10598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:21:57 +00:00
Diego Biurrun
1218a7e33d
cosmetics: Sort CODEC_ID list.
...
Originally committed as revision 10570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 21:18:45 +00:00
Benjamin Larsson
622d633260
Cosmetics, indentation.
...
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:34:27 +00:00
Benjamin Larsson
1cbe9d6a78
Trellis quantization support for adpcm_swf.
...
Originally committed as revision 10144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:31:53 +00:00
Aurelien Jacobs
88e2d5882b
more usage of av_clip()
...
Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:29:21 +00:00
Aurelien Jacobs
e4a50e6d2e
one more simplification
...
Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:23:20 +00:00
Aurelien Jacobs
295f373792
various simplifications around recent av_clip_int16() usage
...
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:17:03 +00:00
Aurelien Jacobs
aee481cebe
use av_clip_int16() where it makes sense
...
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:48:55 +00:00
Benjamin Larsson
00a254b7fe
Don't encode the first sample twice.
...
Originally committed as revision 9962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 19:49:18 +00:00
Baptiste Coudurier
d0fa156fc5
cosmetic, indentation
...
Originally committed as revision 9960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 08:42:05 +00:00
Baptiste Coudurier
fe4ff07aa0
fix decoding of adpcm swf big frames, fix RamboMJPEGAVP6_1Mbps.swf
...
Originally committed as revision 9946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:41:44 +00:00
Baptiste Coudurier
ac0691071e
Set the step index correctly for flash adpcm. Patch by Baptiste
...
Coudurier.
Originally committed as revision 9743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:40:03 +00:00
Baptiste Coudurier
9fff16bcbb
Calculate the correct blocksize for flash adpcm. Patch by Baptiste
...
Coudurier.
Originally committed as revision 9742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:35:03 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Ramiro Polla
2c124cb65c
Use AV_xx throughout libavcodec
...
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:41:07 +00:00
Benjamin Larsson
d64b88d440
Per reference swf/flv adpcm encoder.
...
Originally committed as revision 8713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-11 13:10:13 +00:00
Marco Gerards
e457023a95
Fix an underflow/overflow that was causing some crackles when playing
...
certain THP files.
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 08:18:04 +00:00
Marco Gerards
90f2a1a03c
cosmetics: indentation fix
...
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 12:05:02 +00:00
Michael Niedermayer
949ed6bb30
use bytestream reader instead of bitstream for THP
...
5% smaller adpcm.o
20% faster
Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:04:33 +00:00
Anssi Hannula
8e952e4d23
CRYO APC demuxer
...
patch by Anssi Hannula, anssi.hannula gmail com
Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:34:18 +00:00
Michael Niedermayer
204424a4c7
simplify
...
Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:30:19 +00:00
Michael Niedermayer
b736a365be
prev1/2 -> prev[2]
...
Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:27:58 +00:00
Michael Niedermayer
11d662666d
simplify
...
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:22:50 +00:00
Michael Niedermayer
d9ddac2579
general purpose vars should be int
...
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:19:36 +00:00
Michael Niedermayer
20f757076e
table[index][ch] -> table[ch][index] (might be faster ...)
...
Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:15:52 +00:00
Marco Gerards
d1e0d21f94
THP PCM decoder, used on the Nintendo GameCube.
...
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 16:03:23 +00:00
Baptiste Coudurier
387afa9d01
fix adpcm swf decoding
...
Originally committed as revision 8186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:08:05 +00:00
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Michael Niedermayer
3d7232ff00
add FIXME
...
Originally committed as revision 7804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 10:25:30 +00:00
Michael Niedermayer
14c49573d8
some (probably exploitable) out of array write fixes
...
Originally committed as revision 7802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 02:58:01 +00:00
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:12:59 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Måns Rullgård
7239fb5738
make the adx adpcm codec available
...
Originally committed as revision 5679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 22:31:14 +00:00
Loren Merritt
696d6889d2
ADPCM: trellis quantization
...
Originally committed as revision 5451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 19:04:56 +00:00
Loren Merritt
7e5370516b
adpcm_ima & adpcm_yamaha: improved quantization
...
Originally committed as revision 5449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 04:38:11 +00:00
Michael Niedermayer
8d359bbabe
cleanup IMA-ADPCM WAV decoder
...
Originally committed as revision 5095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 13:55:49 +00:00
Aurelien Jacobs
2433f24f60
add Creative 8 bits ADPCM schemes support
...
Originally committed as revision 5024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 00:09:23 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
b194c327fc
yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)
...
Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-16 11:18:42 +00:00
Vidar Madsen
2ff4524e72
Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
...
Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 06:51:36 +00:00
Michael Niedermayer
c26ae41db2
adding a few const
...
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 21:19:00 +00:00
Alex Beregszaszi
659c369256
macromedia flavour adpcm decoding (used in flv and swf)
...
Originally committed as revision 3969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 19:27:32 +00:00
Mike Melanson
b3bfb29980
Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
...
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Mike Melanson
3a278992bd
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
...
MKTAG/MKBETAG
Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:04:08 +00:00
Michael Niedermayer
6cf9d5ebd3
M$ ADPCM encoding & some simplifications
...
Originally committed as revision 2765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 02:16:48 +00:00