comparison mpegaudio_tablegen.h @ 11906:a1b4029b2465 libavcodec

mathematics.h no longer needs config.h, so update tablegen code and documentation to use it where appropriate.
author reimar
date Mon, 21 Jun 2010 17:01:22 +0000
parents eb9e142ea51f
children
comparison
equal deleted inserted replaced
11905:062aab998a98 11906:a1b4029b2465
22 22
23 #ifndef MPEGAUDIO_TABLEGEN_H 23 #ifndef MPEGAUDIO_TABLEGEN_H
24 #define MPEGAUDIO_TABLEGEN_H 24 #define MPEGAUDIO_TABLEGEN_H
25 25
26 #include <stdint.h> 26 #include <stdint.h>
27 // do not use libavutil/mathematics.h since this is compiled both
28 // for the host and the target and config.h is only valid for the target
29 #include <math.h> 27 #include <math.h>
30 28
31 #define TABLE_4_3_SIZE (8191 + 16)*4 29 #define TABLE_4_3_SIZE (8191 + 16)*4
32 #if CONFIG_HARDCODED_TABLES 30 #if CONFIG_HARDCODED_TABLES
33 #define mpegaudio_tableinit() 31 #define mpegaudio_tableinit()