Originally committed as revision 22723 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -22,7 +22,6 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #include <stdlib.h> |
| 24 | 24 | #define CONFIG_HARDCODED_TABLES 0 |
| 25 | −#define av_cold | |
| 26 | 25 | #define SINETABLE_CONST |
| 27 | 26 | #define SINETABLE(size) \ |
| 28 | 27 | float ff_sine_##size[size] |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | // do not use libavutil/mathematics.h since this is compiled both |
| 25 | 25 | // for the host and the target and config.h is only valid for the target |
| 26 | 26 | #include <math.h> |
| 27 | +#include "../libavutil/attributes.h" | |
| 27 | 28 | |
| 28 | 29 | #if !CONFIG_HARDCODED_TABLES |
| 29 | 30 | SINETABLE( 32); |
| @@ -21,7 +21,6 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include <stdlib.h> |
| 24 | −#define av_cold | |
| 25 | 24 | #define CONFIG_HARDCODED_TABLES 0 |
| 26 | 25 | #include "qdm2_tablegen.h" |
| 27 | 26 | #include "tableprint.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include <stdint.h> |
| 27 | 27 | #include <math.h> |
| 28 | +#include "../libavutil/attributes.h" | |
| 28 | 29 | |
| 29 | 30 | #define SOFTCLIP_THRESHOLD 27600 |
| 30 | 31 | #define HARDCLIP_THRESHOLD 35716 |