Mercurial > libavcodec.hg
comparison dv_tablegen.h @ 11979:59f399926c12 libavcodec
tableprint: use the type name as-is for the functions' names.
This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.
author | flameeyes |
---|---|
date | Sun, 27 Jun 2010 12:20:39 +0000 |
parents | 3367dd5913a0 |
children |
comparison
equal
deleted
inserted
replaced
11978:db5c3a602ddd | 11979:59f399926c12 |
---|---|
33 #define DV_VLC_MAP_RUN_SIZE 64 | 33 #define DV_VLC_MAP_RUN_SIZE 64 |
34 #define DV_VLC_MAP_LEV_SIZE 512 //FIXME sign was removed so this should be /2 but needs check | 34 #define DV_VLC_MAP_LEV_SIZE 512 //FIXME sign was removed so this should be /2 but needs check |
35 #endif | 35 #endif |
36 | 36 |
37 /* VLC encoding lookup table */ | 37 /* VLC encoding lookup table */ |
38 struct dv_vlc_pair { | 38 typedef struct dv_vlc_pair { |
39 uint32_t vlc; | 39 uint32_t vlc; |
40 uint32_t size; | 40 uint32_t size; |
41 }; | 41 } dv_vlc_pair; |
42 | 42 |
43 #if CONFIG_HARDCODED_TABLES | 43 #if CONFIG_HARDCODED_TABLES |
44 #define dv_vlc_map_tableinit() | 44 #define dv_vlc_map_tableinit() |
45 #include "libavcodec/dv_tables.h" | 45 #include "libavcodec/dv_tables.h" |
46 #else | 46 #else |