aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qdm2_tablegen.c
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
committerDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
commitac014798ff719c69a895aff0189a794ed9046554 (patch)
treef53db1d845bbecfa50224c0c5ed2e1c53403b21f /libavcodec/qdm2_tablegen.c
parent07ece20c696edad327b2e3fefd14f52279f60035 (diff)
downloadffmpeg-ac014798ff719c69a895aff0189a794ed9046554.tar.gz
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. Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qdm2_tablegen.c')
-rw-r--r--libavcodec/qdm2_tablegen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/qdm2_tablegen.c b/libavcodec/qdm2_tablegen.c
index c225bc4391..d11599b6dd 100644
--- a/libavcodec/qdm2_tablegen.c
+++ b/libavcodec/qdm2_tablegen.c
@@ -34,7 +34,7 @@ int main(void)
write_fileheader();
printf("static const uint16_t softclip_table[HARDCLIP_THRESHOLD - SOFTCLIP_THRESHOLD + 1] = {\n");
- write_uint16_array(softclip_table, HARDCLIP_THRESHOLD - SOFTCLIP_THRESHOLD + 1);
+ write_uint16_t_array(softclip_table, HARDCLIP_THRESHOLD - SOFTCLIP_THRESHOLD + 1);
printf("};\n");
printf("static const float noise_table[4096] = {\n");
@@ -42,11 +42,11 @@ int main(void)
printf("};\n");
printf("static const uint8_t random_dequant_index[256][5] = {\n");
- write_uint8_2d_array(random_dequant_index, 256, 5);
+ write_uint8_t_2d_array(random_dequant_index, 256, 5);
printf("};\n");
printf("static const uint8_t random_dequant_type24[128][3] = {\n");
- write_uint8_2d_array(random_dequant_type24, 128, 3);
+ write_uint8_t_2d_array(random_dequant_type24, 128, 3);
printf("};\n");
printf("static const float noise_samples[128] = {\n");