]> git.sesse.net Git - ffmpeg/commit
tablegen: implement and use WRITE_ARRAY macros
authorDiego Pettenò <flameeyes@gmail.com>
Sun, 27 Jun 2010 12:21:12 +0000 (12:21 +0000)
committerDiego Pettenò <flameeyes@gmail.com>
Sun, 27 Jun 2010 12:21:12 +0000 (12:21 +0000)
commit350120d269033f4cc206850b3c81f797ed2cb9c6
treef6c92e9142bea1123d8154f75c3f8b17967220ae
parentac014798ff719c69a895aff0189a794ed9046554
tablegen: implement and use WRITE_ARRAY macros

Two macros (WRITE_ARRAY and WRITE_ARRAY_2D) take the prefix (modifiers)
(not all tables are static, and they might not be constant either), the
type, and the name of the array. It'll be copied with same name and type,
and with the correct size of the currently-defined object.

Originally committed as revision 23821 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac_tablegen.c
libavcodec/cbrt_tablegen.c
libavcodec/mpegaudio_tablegen.c
libavcodec/pcm_tablegen.c
libavcodec/qdm2_tablegen.c
libavcodec/tableprint.h