MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / main

Function main

libavcodec/mpegaudio_tablegen.c:28–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "tableprint.h"
27
28int main(void)
29{
30 mpegaudio_tableinit();
31
32 write_fileheader();
33
34 printf("static const int8_t table_4_3_exp[TABLE_4_3_SIZE] = {\n");
35 write_int8_array(table_4_3_exp, TABLE_4_3_SIZE);
36 printf("};\n");
37
38 printf("static const uint32_t table_4_3_value[TABLE_4_3_SIZE] = {\n");
39 write_uint32_array(table_4_3_value, TABLE_4_3_SIZE);
40 printf("};\n");
41
42 printf("static const uint32_t exp_table[512] = {\n");
43 write_uint32_array(exp_table, 512);
44 printf("};\n");
45
46 printf("static const uint32_t expval_table[512][16] = {\n");
47 write_uint32_2d_array(expval_table, 512, 16);
48 printf("};\n");
49
50 return 0;
51}

Callers

nothing calls this directly

Calls 2

mpegaudio_tableinitFunction · 0.85
write_fileheaderFunction · 0.85

Tested by

no test coverage detected