qdm2: Allow hard-coding VLC tables

Multimedia / FFmpeg - Reimar Döffinger [gmx.de] - 18 December 2014 16:51 UTC

Also adds a lot of infrastructure necessary for it. Some of it is a bit ugly though. Increases binary size for hardcoded tables by about 12 kB, which is about 15 kB from qdm2_table minus data and code saved that was only used for creating it.

70d80ed qdm2: Allow hard-coding VLC tables.
libavcodec/qdm2.c | 167 +------------------------------------------
libavcodec/qdm2_tablegen.c | 19 ++++-
libavcodec/qdm2_tablegen.h | 164 ++++++++++++++++++++++++++++++++++++++++++
libavcodec/tableprint.h | 1 +
libavcodec/tableprint_vlc.h | 80 +++++++++++++++++++++
5 files changed, 265 insertions(+), 166 deletions(-)

  • Share