24 #define CONFIG_HARDCODED_TABLES 0 39 printf(
"static const struct dv_vlc_pair dv_vlc_map[DV_VLC_MAP_RUN_SIZE][DV_VLC_MAP_LEV_SIZE] = {\n");
ptrdiff_t const GLvoid * data
#define WRITE_2D_FUNC(type)
static av_cold void dv_vlc_map_tableinit(void)
#define DV_VLC_MAP_RUN_SIZE
int main(int argc, char *argv[])
write_fileheader() adds some minor things like a"this is a generated file"comment and some standard includes.tablegen.h defines some write functions for one-and two-dimensional arrays for standard types-they print only the"core"parts so they are easier to reuse for multi-dimensional arrays so the outermost
#define DV_VLC_MAP_LEV_SIZE
printf("static const uint8_t my_array[100] = {\n")
static struct dv_vlc_pair dv_vlc_map[DV_VLC_MAP_RUN_SIZE][DV_VLC_MAP_LEV_SIZE]
WRITE_1D_FUNC_ARGV(dv_vlc_pair, 7,"{0x%"PRIx32", %"PRIu32"}", data[i].vlc, data[i].size) int main(void)