diff motionpixels_tablegen.c @ 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 e03e3df6fb7d
children
line wrap: on
line diff
--- a/motionpixels_tablegen.c	Sun Jun 27 09:44:10 2010 +0000
+++ b/motionpixels_tablegen.c	Sun Jun 27 12:20:39 2010 +0000
@@ -34,7 +34,7 @@
     write_fileheader();
 
     printf("static const YuvPixel mp_rgb_yuv_table[1 << 15] = {\n");
-    write_int8_2d_array(mp_rgb_yuv_table, 1 << 15, 3);
+    write_int8_t_2d_array(mp_rgb_yuv_table, 1 << 15, 3);
     printf("};\n");
 
     return 0;