[FFmpeg-devel] [PATCH] (Non-optionally) hardcode qexp table in snow.c

Diego 'Flameeyes' Pettenò flameeyes
Fri Jan 11 19:58:47 CET 2008


The attached patch makes the qexp table always hardcoded in snow.c, not
bound to CONFIG_HARDCODED_TABLES. The table is 32-bytes, which is a
ridicolous size, especially compared to the way bigger tables already
present, plus the code used to generate it is bigger than the table:

snow.c:
  decode_subband_slice_buffered |  +13
  common_init                   | -107
  decode_init                   |   +1
  ff_spatial_idwt               |  +12
 4 functions changed, 26 bytes added, 107 bytes removed, diff: -81

(this is on x86-64).

Maybe the code used to generate the table should be added in a doxygen
comment?

-- 
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/20080111/7e370c97/attachment.pgp>



More information about the ffmpeg-devel mailing list