Revision 6785e927 libavcodec/ps_tablegen.h

View differences:

libavcodec/ps_tablegen.h
24 24
#define PS_TABLEGEN_H
25 25

  
26 26
#include <stdint.h>
27
#include <math.h>
28 27

  
29 28
#if CONFIG_HARDCODED_TABLES
30 29
#define ps_tableinit()
31 30
#include "libavcodec/ps_tables.h"
32 31
#else
33 32
#include "../libavutil/common.h"
34
#ifndef M_SQRT1_2
35
#define M_SQRT1_2      0.70710678118654752440  /* 1/sqrt(2) */
36
#endif
37
#ifndef M_PI
38
#define M_PI           3.14159265358979323846  /* pi */
39
#endif
40
#ifndef M_SQRT2
41
#define M_SQRT2        1.41421356237309504880  /* sqrt(2) */
42
#endif
33
#include "../libavutil/mathematics.h"
43 34
#define NR_ALLPASS_BANDS20 30
44 35
#define NR_ALLPASS_BANDS34 50
45 36
#define PS_AP_LINKS 3

Also available in: Unified diff