[FFmpeg-devel] [PATCH] Initialize PCM conversion tables just once.
Diego 'Flameeyes' Pettenò
flameeyes
Tue Jan 8 23:53:07 CET 2008
The attached patch modifies pcm_decode_init (and the PCMDecode
structure) so that the alaw2linear and ulaw2linear tables are
initialised just once, and then set on the PCMDecode structure as
pointers.
This should also reduce the size of the PCMDecode structures hanging
around.
Next patch will have those tables optionally hardcoded too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-share-tables.patch
Type: text/x-patch
Size: 1349 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/2976d26f/attachment.bin>
-------------- next part --------------
--
Diego "Flameeyes" Petten?
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/2976d26f/attachment.pgp>
More information about the ffmpeg-devel
mailing list