comparison 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
comparison
equal deleted inserted replaced
11978:db5c3a602ddd 11979:59f399926c12
32 motionpixels_tableinit(); 32 motionpixels_tableinit();
33 33
34 write_fileheader(); 34 write_fileheader();
35 35
36 printf("static const YuvPixel mp_rgb_yuv_table[1 << 15] = {\n"); 36 printf("static const YuvPixel mp_rgb_yuv_table[1 << 15] = {\n");
37 write_int8_2d_array(mp_rgb_yuv_table, 1 << 15, 3); 37 write_int8_t_2d_array(mp_rgb_yuv_table, 1 << 15, 3);
38 printf("};\n"); 38 printf("};\n");
39 39
40 return 0; 40 return 0;
41 } 41 }