]> git.sesse.net Git - ffmpeg/commit
adpcm: Use a hash table to improve checking for duplicate samples
authorMartin Storsjö <martin@martin.st>
Fri, 19 Nov 2010 17:35:52 +0000 (17:35 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Nov 2010 17:35:52 +0000 (17:35 +0000)
commitd764e3ece9608613c6332a6f96f2673dfe086f3a
tree359bcf2a4a933f5ee1494aa9de0c9ec88a0141df
parent47d2ddca802f4c1bc4b454c5ac40f06f79b740a0
adpcm: Use a hash table to improve checking for duplicate samples

This lowers the run time from 158 to 21 seconds, for -trellis 8
with a 30 second sample on my machine.

This requires 64 KB additional memory.

Originally committed as revision 25768 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/adpcm.c